Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2012
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.46 KB | None | 0 0
  1. /*
  2. Theme Name: Twenty Eleven Child
  3. Theme URI: http://mental-notes.ru/
  4. Description: Child theme for the Twenty Eleven theme
  5. Author: Cookowl
  6. Author URI: http://mental-notes.ru/
  7. Template: twentyeleven
  8. */
  9.  
  10. @import url("../twentyeleven/style.css");
  11.  
  12. #site-generator {
  13. background: #f9f9f9;
  14. border-top: 1px solid #ddd;
  15. color: #666;
  16. font-size: 12px;
  17. line-height: 2.2em;
  18. padding: 2.2em 7.6%;
  19. text-align: left;
  20. /*margin: 0 7.6%;*/
  21. }
  22.  
  23. /* Положение формы поиска в панели навигации*/
  24. #branding #searchform {
  25. position: absolute;
  26. top: 3.8em;
  27. right: 6.3%;
  28. text-align: right;
  29. }
  30.  
  31. /*Размер и шрифт заголовка поста*/
  32. h1.entry-title{
  33. font-size: 22px !important;
  34. font-family: Georgia, Times, serif !important;
  35. }
  36.  
  37. /*Шрифт заголовков виджетов, архива рубрики или метки, комментариев*/
  38. .widget-title{
  39. font-family: Georgia, Times, serif !important;
  40. }
  41. /*#comments-title {
  42. font-family: Georgia, Times, serif !important;
  43. }*/
  44. .archive .page-title{
  45. font-family: Georgia, Times, serif !important;
  46. }
  47.  
  48. #content {
  49. margin: 0 34% 0 7.6%;
  50. width: 58.4%;
  51. }
  52.  
  53. #secondary {
  54. float: right;
  55. margin-right: 7.6%;
  56. width: 18.8%;
  57. }
  58.  
  59. /* Не показывать заголовок на странице "Об Узелках"*/
  60. .page-id-6 .entry-title { display: none; }
  61.  
  62. /* Without explicitly setting the margin we're inheriting
  63. a value of "0" which isn't allowing space for the sidebar */
  64. .singular #primary {
  65. margin: 0 -26.4% 0 0;
  66. }
  67.  
  68. /* This hides the "previous" and "next" links at the top of the page,
  69. It's better to remove the PHP generating these links, but that's a little more difficult */
  70. #nav-single {
  71. display: none;
  72. }
  73.  
  74. /* Without explicitly setting the position we're inheriting
  75. a value of "absolute" which will place the meta information at the top of the article */
  76. .singular .entry-header .entry-meta {
  77. position: relative;
  78. }
  79.  
  80. /* Without explicitly setting the padding we're inheriting
  81. a padding-top value of "4.875em" which adds redundant whitespace to the top of the article */
  82. .singular .hentry {
  83. padding: 0;
  84. }
  85.  
  86. /* Without explicitly setting the width we're inheriting
  87. a value of "68.9%" which stops the content from taking up the majority of the space available */
  88. .singular .entry-header, .singular .entry-content, .singular footer.entry-meta, .singular #comments-title {
  89. width: 100%;
  90. }
  91.  
  92. /* Without explicitly setting the margin we're inheriting
  93. a margin-left and margin-right value of "7.6%" which makes the content overlap the sidebar */
  94. .singular #content, .left-sidebar.singular #content {
  95. margin: 0 34% 0 7.6%;
  96. }
  97.  
  98. /* Without explicitly setting the padding-top we're inheriting
  99. a value of "15px" which adds redundant whitespace to the top of the article */
  100. .singular article .entry-title {
  101. padding-top: 0;
  102. }
  103.  
  104. /* This is just a nicety. Moves the "Edit" link for admins to a more suitable position */
  105. .singular .entry-meta .edit-link a {
  106. right: 0;
  107. top: 0;
  108. left: auto;
  109. }
  110.  
  111. /*Share42 - кнопки поделиться в соц сетях в постах*/
  112. #share42 {display: inline-block; padding: 6px 0 0 6px; background: #FFF; border: 1px solid #E9E9E9; border-radius: 4px;}
  113. #share42:hover {background: #F6F6F6; border: 1px solid #D4D4D4; box-shadow: 0 0 5px #DDD;}
  114. #share42 a {opacity: 0.5}
  115. #share42:hover a {opacity: 0.7}
  116. #share42 a:hover {opacity: 1}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement