Advertisement
Guest User

2011 child theme .css

a guest
Apr 19th, 2012
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.71 KB | None | 0 0
  1. /*
  2. Theme Name: Twenty Eleven Two Columns
  3. Theme URI: http://www.digitalraindrops.net
  4. Description: twentyeleven child theme with additional top and footer menus
  5. Author: Digital Raindrops
  6. Template: twentyeleven
  7. Version: 1.2
  8. */
  9.  
  10. @import url('../twentyeleven/style.css');
  11.  
  12. /*
  13. Dark Theme Option Support
  14. Please use the file custom-style.css for additional styles
  15. */
  16.  
  17.  
  18.  
  19. html, body, div, span, applet, object, iframe,
  20. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  21. a, abbr, acronym, address, big, cite, code,
  22. del, dfn, em, font, ins, kbd, q, s, samp,
  23. small, strike, strong, sub, sup, tt, var,
  24. dl, dt, dd, ol, ul, li,
  25. fieldset, form, label, legend,
  26. table, caption, tbody, tfoot, thead, tr, th, td {
  27. border: 0;
  28. font-family: Arial,Helvetica,Verdana,sans-serif;
  29. font-size: 100%;
  30. font-style: inherit;
  31. font-weight: inherit;
  32. margin: 0;
  33. outline: 0;
  34. padding: 0;
  35. vertical-align: baseline;
  36. }
  37. :focus {/* remember to define focus styles! */
  38. outline: 0;
  39. }
  40. body {
  41. background: #fff;
  42. line-height: 1;
  43. }
  44. ol, ul {
  45. list-style: none;
  46. }
  47. table {/* tables still need 'cellspacing="0"' in the markup */
  48. border-collapse: separate;
  49. border-spacing: 0;
  50. }
  51. caption, th, td {
  52. font-weight: normal;
  53. text-align: left;
  54. }
  55. blockquote:before, blockquote:after,
  56. q:before, q:after {
  57. content: "";
  58. }
  59. blockquote, q {
  60. quotes: "" "";
  61. }
  62. a img {
  63. border: 0;
  64. }
  65. article, aside, details, figcaption, figure,
  66. footer, header, hgroup, menu, nav, section {
  67. display: block;
  68. }
  69.  
  70.  
  71.  
  72. /* =Structure
  73. ----------------------------------------------- */
  74.  
  75. body {
  76. padding: 0 2em;
  77. }
  78. #page {
  79. margin: 0px auto;
  80. max-width: 940px;
  81. }
  82. #branding hgroup {
  83. margin: 0 0%;
  84. }
  85. #access div {
  86. margin: 0 7.6%;
  87. }
  88. #primary {
  89. float: right;
  90. margin: 0 -26.4% 0 0;
  91. width: 100%;
  92. }
  93. #content {
  94. margin: 0 34% 0 7.6%;
  95. width: 58.4%;
  96. }
  97. #secondary {
  98. float: left;
  99. margin-right: 7.6%;
  100. width: 18.8%;
  101. }
  102.  
  103.  
  104. /* =Header
  105. ----------------------------------------------- */
  106.  
  107. #branding {
  108. border-top: 2px solid #bbb;
  109. padding-bottom: 0px;
  110. position: relative;
  111. z-index: 9999;
  112. }
  113. #site-title {
  114. margin-right: 270px;
  115. padding: 0;
  116. }
  117. #site-title a {
  118. color: #111;
  119. font-family: Arial,Helvetica,Verdana,sans-serif;
  120. font-size: 26px;
  121. font-weight: bold;
  122. line-height: 36px;
  123. text-decoration: none;
  124. display: none;
  125. }
  126. #site-title a:hover,
  127. #site-title a:focus,
  128. #site-title a:active {
  129. color: #1982d1;
  130. }
  131. #site-description {
  132. color: #7a7a7a;
  133. font-size: 14px;
  134. margin: 0 270px 3.65625em 0;
  135. display: none;
  136. }
  137. #branding img {
  138. height: auto;
  139. background-image:url(images/header.jpg;
  140. margin-bottom: -7px;
  141. width: 100%;
  142. }
  143.  
  144.  
  145. /* Headings */
  146. h1,h2,h3,h4,h5,h6 {
  147. font-size: 16px;
  148.  
  149. }
  150. hr {
  151. background-color: #ccc;
  152. border: 0;
  153. height: 1px;
  154. margin-bottom: 1.625em;
  155. }
  156.  
  157.  
  158.  
  159. /* =Menu
  160. -------------------------------------------------------------- */
  161.  
  162. #access {
  163. background: #f70909; /* Show a solid color for older browsers */
  164. background: -moz-linear-gradient(#f70909, #ff0000);
  165. background: -o-linear-gradient(#f70909, #ff0000);
  166. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f70909), to(#ff0000)); /* older webkit syntax */
  167. background: -webkit-linear-gradient(#f70909, #ff0000);
  168. -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
  169. -moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
  170. box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
  171. clear: both;
  172. display: block;
  173. float: left;
  174. margin: 0 auto 6px;
  175. width: 100%;
  176. }
  177. #access ul {
  178. font-size: 13px;
  179. list-style: none;
  180. margin: 0 0 0 -0.8125em;
  181. padding-left: 0;
  182. }
  183. #access li {
  184. float: left;
  185. position: relative;
  186. }
  187. #access a {
  188. color: #eee;
  189. display: block;
  190. line-height: 3.333em;
  191. padding: 0 1.2125em;
  192. text-decoration: none;
  193. }
  194. #access ul ul {
  195. -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
  196. -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
  197. box-shadow: 0 3px 3px rgba(0,0,0,0.2);
  198. display: none;
  199. float: left;
  200. margin: 0;
  201. position: absolute;
  202. top: 3.333em;
  203. left: 0;
  204. width: 188px;
  205. z-index: 99999;
  206. }
  207. #access ul ul ul {
  208. left: 100%;
  209. top: 0;
  210. }
  211. #access ul ul a {
  212. background: #f9f9f9;
  213. border-bottom: 1px dotted #ddd;
  214. color: #444;
  215. font-size: 16px;
  216. font-weight: normal;
  217. height: auto;
  218. line-height: 1.4em;
  219. padding: 10px 10px;
  220. width: 168px;
  221. }
  222. #access li:hover > a,
  223. #access ul ul :hover > a,
  224. #access a:focus {
  225. background: #efefef;
  226. }
  227. #access li:hover > a,
  228. #access a:focus {
  229. background: #f9f9f9; /* Show a solid color for older browsers */
  230. background: -moz-linear-gradient(#f9f9f9, #e5e5e5);
  231. background: -o-linear-gradient(#f9f9f9, #e5e5e5);
  232. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); /* Older webkit syntax */
  233. background: -webkit-linear-gradient(#f9f9f9, #e5e5e5);
  234. color: #373737;
  235. }
  236. #access ul li:hover > ul {
  237. display: block;
  238. }
  239. #access .current-menu-item > a,
  240. #access .current-menu-ancestor > a,
  241. #access .current_page_item > a,
  242. #access .current_page_ancestor > a {
  243. font-weight: bold;
  244. }
  245.  
  246.  
  247.  
  248. #menu-item-(4).grand a{
  249. background: url(http://www.rcrumbcom.dreamhosters.com/wp-content/themes/columns/images/prints.jpg) no-repeat right center, -moz-linear-gradient(#f70909, #ff0000); /* must use background element */
  250. }
  251.  
  252.  
  253.  
  254. /* Singular content styles for Posts and Pages */
  255. .singular .hentry {
  256. border-bottom: none;
  257. padding: 4.875em 0 0;
  258. position: relative;
  259. }
  260. .singular.page .hentry {
  261. padding: 3.5em 0 0;
  262. }
  263. .singular .entry-title {
  264. color: #000;
  265. font-size: 21px;
  266. font-weight: bold;
  267. line-height: 6px;
  268. }
  269. .singular .entry-title,
  270. .singular .entry-header .entry-meta {
  271. padding-right: 0;
  272. }
  273. .singular .entry-header .entry-meta {
  274. position: absolute;
  275. top: 0;
  276. left: 0;
  277. }
  278. blockquote.pull {
  279. font-size: 21px;
  280. font-weight: bold;
  281. line-height: 1.6125em;
  282. margin: 0 0 1.625em;
  283. text-align: center;
  284. }
  285. .singular blockquote.pull {
  286. margin: 0 -22.25% 1.625em;
  287. }
  288. .pull.alignleft {
  289. margin: 0 1.625em 0 0;
  290. text-align: right;
  291. width: 33%;
  292. }
  293. .singular .pull.alignleft {
  294. margin: 0 1.625em 0 -22.25%;
  295. }
  296. .pull.alignright {
  297. margin: 0 0 0 1.625em;
  298. text-align: left;
  299. width: 33%;
  300. }
  301. .singular .pull.alignright {
  302. margin: 0 -22.25% 0 1.625em;
  303. }
  304. .singular blockquote.pull.alignleft,
  305. .singular blockquote.pull.alignright {
  306. width: 33%;
  307. }
  308. .singular .entry-meta .edit-link a {
  309. bottom: auto;
  310. left: 50px;
  311. position: absolute;
  312. right: auto;
  313. top: 80px;
  314. }
  315.  
  316. /* Right Content */
  317. .left-sidebar #primary {
  318. float: right;
  319. margin: 0 0 0 -26.4%;
  320. width: 100%;
  321. }
  322. .left-sidebar #content {
  323. margin: 0 7.6% 0 34%;
  324. width: 58.4%;
  325. }
  326. .left-sidebar #secondary {
  327. float: left;
  328. margin-left: 0;
  329. margin-right: 0;
  330. width: 18.8%;
  331. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement