Advertisement
MicGoogle

Untitled

Sep 3rd, 2011
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 6.16 KB | None | 0 0
  1. /*
  2. Theme Name: SIDMUN
  3. Author: Stanley S.
  4. Description: Child theme
  5. Version: 1.2.1
  6. Template: twentyeleven
  7. Tags: dark, buddypress, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
  8. */
  9. @import url("../twentyeleven/style.css");
  10.  
  11.  
  12. /* BEGIN MOVE HEADER TEXT OVER HEADER IMAGE */
  13. /* this stuff moves the image up */
  14. #access, #branding a img:first-child {
  15. top: -190px;
  16. position: relative;
  17. }
  18.  
  19. /* this stuff keeps text on top */
  20. #branding hgroup { top: +50px; position:relative; z-index: 1;}
  21.  
  22. /* this stuff changes text size for header, depresses description */
  23. /* and adds shadow so text legible whatever background (within reason) */
  24. #site-title span a {font-size: 55px;}
  25. #site-description {font-size: 25px;}
  26. #site-title a, #site-description {color: #fff; text-shadow: #003 1px 1px 5px;}
  27. /* Colours the search form and keeps it on top */
  28. #searchform {background-color: #ddd; z-index: 1;}
  29.  
  30. #main {top: -185px; position: relative; z-index: 2;}
  31. /* END MOVE HEADER TEXT OVER HEADER IMAGE */
  32.  
  33.  
  34. /* BEGIN FIX DROP DOWN */
  35. #branding {
  36.     border-top: 2px solid #bbb;
  37.     padding-bottom: 10px;
  38.     position: relative;
  39.     z-index: 2;
  40. }
  41. /* END FIXED DROP DOWN */
  42.  
  43. /* BEGIN Search bar now all over the place b/c Branding above's position is static FIX BELOW */
  44. #branding #searchform {
  45. background-color: white;
  46. display: block;
  47. margin-top: 195px;
  48. position: absolute;
  49. right: 1.6%;
  50. text-align: right;
  51. top: 3.8em;
  52. }
  53. /* END Search bar now all over the place b/c Branding above's position is static FIX BELOW */
  54.  
  55. /* BEGIN FIX Post Template issue Posted on Date issue */
  56. .singular .entry-header .entry-meta {
  57.     position: static;
  58.     top: 0;
  59.     left: 0;
  60. }
  61. /* END FIX Post Template issue */
  62.  
  63.  
  64. /* BEGIN FIX Edit Link Template Issue */
  65. .singular .entry-meta .edit-link a {
  66.     bottom: auto;
  67.     left: 50px;
  68.     position: static;
  69.     right: auto;
  70.     top: 80px;
  71. }
  72. /* END FIX Edit Link Template Issue */
  73.  
  74.  
  75.  
  76. /* FOR MOBILE DEVICES */
  77. /* ! Layout for mobile version   */
  78. @media handheld, only screen and (max-width: 500px) {
  79. #access, #branding a img:first-child {
  80. top: -150px;
  81. position: relative;
  82. }
  83.  
  84. /* this stuff keeps text on top */
  85. #branding hgroup { top: -50px; position:relative; z-index: 1;}
  86.  
  87. /* this stuff changes text size for header, depresses description */
  88. /* and adds shadow so text legible whatever background (within reason) */
  89. #site-title span a {font-size: 18px;}
  90. #site-description {font-size: 11px;}
  91. /* Colours the search form and keeps it on top */
  92.  
  93. #main {top: -150px; position: relative; z-index: 2;}
  94. #branding {
  95.     border-top: 2px solid #bbb;
  96.     padding-bottom: 10px;
  97.     position: relative;
  98.     z-index: 3;
  99. }
  100. #branding #searchform {
  101. background-color: white;
  102. display: block;
  103. margin-top: 30px;
  104. position: absolute;
  105. right: 35%;
  106. text-align: right;
  107. top: 3.8em;
  108. }
  109. #branding #s:focus {
  110.     background-color: #f9f9f9;
  111.     width: 96px;
  112. }
  113. }
  114.  
  115. /* END FOR MOBILE DEVICES */
  116.  
  117.  
  118. /* BEGIN COPIED ORIGINAL FROM PARENT, DELETED FROM PARENT */
  119. @media (max-width: 650px) {
  120.     /* @media (max-width: 650px) Reduce font-sizes for better readability on smaller devices */
  121.     body, input, textarea {
  122.         font-size: 13px;
  123.     }
  124.     #site-title a {
  125.         font-size: 24px;
  126.     }
  127.     #site-description {
  128.         font-size: 12px;
  129.     }
  130.     #access ul {
  131.         font-size: 12px;
  132.     }
  133.     article.intro .entry-content {
  134.         font-size: 12px;
  135.     }
  136.     .entry-title {
  137.         font-size: 21px;
  138.     }
  139.     .featured-post .entry-title {
  140.         font-size: 14px;
  141.     }
  142.     .singular .entry-title {
  143.         font-size: 28px;
  144.     }
  145.     .entry-meta {
  146.         font-size: 12px;
  147.     }
  148.     blockquote {
  149.         margin: 0;
  150.     }
  151.     blockquote.pull {
  152.         font-size: 17px;
  153.     }
  154.     /* Reposition the site title and description slightly */
  155.     #site-title {
  156.         padding: 5.30625em 0 0;
  157.     }
  158.     #site-title,
  159.     #site-description {
  160.         margin-right: 0;
  161.     }
  162.     /* Make sure the logo and search form don't collide */
  163.     #branding #searchform {
  164.         top: 1.625em !important;
  165.     }
  166.     /* Floated content doesn't work well at this size */
  167.     .alignleft,
  168.     .alignright {
  169.         float: none;
  170.         margin-left: 0;
  171.         margin-right: 0;
  172.     }
  173.     /* Make sure the post-post navigation doesn't collide with anything */
  174.     #nav-single {
  175.         display: block;
  176.         position: static;
  177.     }
  178.     .singular .hentry {
  179.         padding: 1.625em 0 0;
  180.     }
  181.     .singular.page .hentry {
  182.         padding: 1.625em 0 0;
  183.     }
  184.     /* Talking avatars take up too much room at this size */
  185.     .commentlist > li.comment,
  186.     .commentlist > li.pingback {
  187.         margin-left: 0 !important;
  188.     }
  189.     .commentlist .avatar {
  190.         background: transparent;
  191.         display: block;
  192.         padding: 0;
  193.         position: static;
  194.     }
  195.     .commentlist .children .avatar {
  196.         background: none;
  197.         left: 2.2em;
  198.         padding: 0;
  199.         position: absolute;
  200.         top: 2.2em;
  201.     }
  202.     /* Use the available space in the smaller comment form */
  203.     #respond input[type="text"] {
  204.         width: 95%;
  205.     }
  206.     #respond .comment-form-author .required,
  207.     #respond .comment-form-email .required {
  208.         left: 95%;
  209.     }
  210.     #content .gallery-columns-3 .gallery-item {
  211.         width: 31%;
  212.         padding-right: 2%;
  213.     }
  214.     #content .gallery-columns-3 .gallery-item img {
  215.         width: 100%;
  216.         height: auto;
  217.     }
  218.  
  219. }
  220. @media (max-width: 450px) {
  221.     #content .gallery-columns-2 .gallery-item {
  222.         width: 45%;
  223.         padding-right: 4%;
  224.     }
  225.     #content .gallery-columns-2 .gallery-item img {
  226.         width: 100%;
  227.         height: auto;
  228.     }
  229.  
  230. }
  231. @media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
  232.     body {
  233.         padding: 0;
  234.     }
  235.     #page {
  236.         margin-top: 0;
  237.     }
  238.     #branding {
  239.         border-top: none;
  240.     }
  241.  
  242. }
  243. /* END COPY SMALL DEVICES FROM PARNET DELETED FROM PARENT */
  244.  
  245.  
  246. /* IGNORE BELOW.. ORIGINAL CODE LEFT IF ABOVE GOES CHAOTIC
  247. #access, #branding a img:first-child {
  248. top: -190px;
  249. position: relative;
  250. }
  251. #branding hgroup { top: +50px; position:relative; z-index: +1;}
  252.  
  253.  
  254. #site-title span a {font-size: 55px;}
  255. #site-description {font-size: 25px;}
  256. #site-title a, #site-description {color: #fff; text-shadow: #003 1px 1px 5px;}
  257.  
  258.  
  259. #searchform {background-color: #ddd; z-index: +10;}
  260.  
  261. #main {top: -185px; position: relative; z-index: +20;}
  262. END ORIGINAL CODE */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement