Lorelle's Sandbox Styles CSS


/ Published in: PHP
Save to your folder(s)

blacnk stylesheet for the Sandbox WordPress theme


Copy this code and paste it in your HTML
  1. /* Lorelle's Sandbox Styles CSS
  2. Version: .03
  3. NOTES:
  4. Each X and ? represents a specific number or word as these are customizable elements.
  5. The following are customizable per blog, category, and date:
  6. * The.author-? is your blog name. Mine is .author-lorelle as that is the "name" of my blog.
  7. * The category is .category-X, with X representing the category slug name.
  8. * The y, m, d, and h are year, month, day, and hour. You can style your posts to look differently for 2005, 2006, etc. or by month, and so on. I left the numbers for dates as an example.
  9. * Style on a per-post basis. For example, post ID number 345 would change .post-X to .post-345 and style accordingly.
  10. * The HTML per page view includes all classes appropriate to that page and highlighted in that section of the CSS. */
  11.  
  12.  
  13. /* Architecture */
  14. html { }
  15. body { }
  16. #wrapper { }
  17. #header { }
  18. #container { }
  19. #content { }
  20. #primary { } /* sidebar one */
  21. #secondary { } /* sidebar two */
  22. #footer { }
  23. .sidebar {} /* controls all the sidebar looks */
  24.  
  25. /* Header */
  26. h1 { }
  27. h1 a { }
  28. h1 a:link { }
  29. h1 a:visited { }
  30. h1 a:hover { }
  31. #blog-title { }
  32. #blog-description { }
  33.  
  34. /* VARIOUS PAGE VIEWS customizable on a per post, category, page view, date, etc. basis
  35. y = year, m = month, d = date, h = hour
  36. */
  37.  
  38. .y2006 { }
  39. .m08 { }
  40. .d05 { }
  41. .h04 { }
  42. #post-X { } /* Customizable by X = post ID number */
  43. #content #post-X {}
  44.  
  45. /* Front Page Only */
  46. /* Set by body class="wordpress y2006 m08 d06 h09 home" */
  47. .home { }
  48.  
  49. /* Single Post Only
  50. Set by body class="wordpress y2006 m08 d06 h09 single s-y2006 s-m08 s-d05 s-h04" */
  51. .single { }
  52. .s-y2006 { }
  53. .s-m08 { }
  54. .s-d05 { }
  55. .s-h04 { }
  56.  
  57. /* Page View
  58. Page ID is set as div id="post-X" class="hentry page publish author-lorelle category-uncategorized y2005 m08 d16 h08" */
  59. .page { }
  60. .category-uncategorized { } /* Currently, WordPress Pages are in the "uncategorized" category */
  61.  
  62. /* Author Page */
  63. /* Set by body class="wordpress y2006 m08 d06 h09 archive author author-lorelle" */
  64. .archive { }
  65. .author { }
  66. .author-metadata { }
  67. .author-metadata a:link { }
  68. .author-metadata a:visited { }
  69. .author-metadata a:visited { }
  70.  
  71. /* Multi-post Views such as Search and Tags */
  72. /* Set by body class="wordpress y2006 m08 d06 h09 search" */
  73. .search { }
  74. h2.page-title { }
  75. .page-title { }
  76.  
  77. /* Category and Archive View */
  78. /* Category view set by body class="wordpress y2006 m08 d06 h09 archive category category-blogging-tips"
  79. The DL list is the category subtitle. Be sure and treat any DL tags used within the post content differently from the subtitle of the category and archive views. */
  80. .category { }
  81. .archive { }
  82. .category a:link { }
  83. .category a:visited { }
  84. .category a:hover { }
  85. h2.page-title { }
  86. h2.entry-title { }
  87. .page-title { }
  88. .page-title a:link { }
  89. .page-title a:visited { }
  90. .page-title a:hover { }
  91. .category dl { }
  92. .category dt { }
  93. .category dd { }
  94. dl #?-metadata { } /* This is customizable per category, such as #blogging-tips-metadata or #wordpress-news-metadata */
  95. #?-metadata dt { }
  96. #?-metadata dd { }
  97. .category-? { } /* Customizable per category, such as .category-wordpress-tips */
  98. .archive-metadata { }
  99. h3.entry-title { }
  100. h3.entry-title a:link { }
  101. h3.entry-title a:visited { }
  102. h3.entry-title a:hover { }
  103.  
  104. /* Post Title */
  105. h2 { }
  106. h2.entry-title { }
  107. .entry-title { }
  108.  
  109.  
  110. /* Post Content Area */
  111. .hfeed { }
  112. .hentry { } /* surrounds entire post area on everything, including Pages */
  113. .post { } /* not featured on Pages. On everything else. */
  114. .publish { } /* around post content area and page content area on every template file */
  115. .wordpress { } /* in body of every template file */
  116. .author-lorelle { }
  117. .post a:link { }
  118. .post a:visited { }
  119. .post a:hover { }
  120. .published { }
  121. div.entry-content { }
  122. .entry-content { }
  123. .entry-content p { }
  124. .entry-content a { }
  125. .entry-content a:link { }
  126. .entry-content a:visited { }
  127. .entry-content a:hover { }
  128. .readmore { }
  129. .entry-content ul { }
  130. .entry-content ul ul { }
  131. .entry-content ul li { }
  132. .entry-content ul ul li { }
  133. .entry-content ul ul ul { }
  134. .entry-content ul ul ul li { }
  135. .entry-content ul ul ul ul { }
  136. .entry-content ul ul ul ul li { }
  137. .entry-content li { }
  138. .entry-content li li { }
  139. .entry-content li li li { }
  140. .entry-content h3 { }
  141. .entry-content h4 { }
  142. .entry-content h5 { }
  143.  
  144. /* Dealing with the Post Date
  145. The use of the ABBR tag to house the date may be in keeping with new standards, but it creates a styling nightmare. To style all ABBR usages one way, they will all look the same, as a date and as an abbreviation (acronym) unless you restrict all use of the acronyms to the ACRONYM tag in your posts.
  146. The ".published" class is used in all of the date references, so you will have to use a parent container to specify which date you want styled. Thus, the vast number of options. */
  147. .published abbr { } /* date published */
  148. .entry-content abbr {} /* ABBR used inside of a post entry content area. Style this to make the abbreviations in your posts look differently than your date styles. */
  149. body.home abbr.published { }
  150. body.archive abbr.published { }
  151. body.home abbr.published, body.archive abbr.published { }
  152. body.single abbr.published { } /* Customize the date on single post pages only */
  153. div.entry-meta abbr.published { } /* Customize the date in the post meta data section */
  154. .search abbr.published { }
  155. .archive abbr.published { }
  156. .category abbr.published { }
  157.  
  158. /* Post Excerpts */
  159. span .more-link { } /* The "read more" span style */
  160. .more-link { }
  161. .entry-content span { }
  162.  
  163. /* post meta data section */
  164. .entry-meta { }
  165. .entry-meta a:link { }
  166. .entry-meta a:visited { }
  167. .entry-meta a:hover { }
  168. .entry-meta abbr { }
  169. span.entry-author { }
  170. span.author { }
  171. span.vcard { }
  172. .entry-author { }
  173. .author { }
  174. .vcard { }
  175. .entry-meta span { }
  176. a.url { }
  177. a.fn { }
  178. .url { }
  179. .fn { }
  180. span.entry-category { }
  181. .entry-category { }
  182. .entry-category a:link { }
  183. .entry-category a:visited { }
  184. .entry-category a:hover { }
  185. span.entry-editlink { }
  186. .entry-editlink { }
  187. .entry-editlink a { }
  188. span.entry-commentlink { }
  189. .entry-commentlink { }
  190. .entry-commentlink a:link { }
  191. .entry-commentlink a:visited { }
  192. .entry-commentlink a:hover { }
  193.  
  194. /* Comment Section found on Single and Page Views */
  195.  
  196. div.comments { }
  197. .comments { }
  198. .comments h3 { }
  199. h3.comment-header { }
  200. .comment-header { }
  201. #numpingbacks { }
  202. #pingbacks { }
  203. .commentlist { }
  204. #pingbacks .commentlist { }
  205. .comments ol { }
  206. .comments ol ol { }
  207. .comments ol li { }
  208. .comments ol ol li { }
  209. .alt { }
  210. .trackback { }
  211. div.comment-author { }
  212. .comment-author { }
  213. .comment-author a { }
  214. .comment p
  215. .comment-metadata { }
  216. .comment a { }
  217. .comment-metadata a { }
  218. .comment-mod { }
  219. #respond { }
  220. #respond h3 { }
  221. div.formcontainer { }
  222. .formcontainer { }
  223. form { }
  224. div.formcontainer form { }
  225. #commentform { }
  226. #commentform #submit { }
  227. #commentform #submit:hover {}
  228. div #loggedin { }
  229. #loggedin { }
  230. .form-label { }
  231. .form-textarea { }
  232. textarea#comment { } /* controls comment text box */
  233. #comment { }
  234. form #comment { }
  235. textarea { }
  236. .form-submit { }
  237. #submit { }
  238. form #submit { }
  239. .comments a:link { }
  240. .comments a:visited { }
  241. .comments a:hover { }
  242.  
  243. #comment-X /* X = comment ID. The following are customizable per trackback info. Dates left in as examples. */
  244. #comment-X .trackback { }
  245. .c-y2006 { }
  246. .c-m08 { }
  247. .c-d05 { }
  248. .c-h04 { }
  249.  
  250. /* Page Navigation */
  251. div.navigation { }
  252. .navigation { }
  253. .navigation a:link { }
  254. .navigation a:visited { }
  255. .navigation a:hover { }
  256. div.nav-previous { }
  257. .nav-previous { }
  258. .nav-previous a:link { }
  259. .nav-previous a:visited { }
  260. .nav-previous a:hover { }
  261. div.nav-next { }
  262. .nav-next { }
  263. .nav-next a:link { }
  264. .nav-next a:visited { }
  265. .nav-next a:hover { }
  266.  
  267. /* Sidebar */
  268. /* nested list in sidebar */
  269. #primary h3 { }
  270. #primary h3.widgettitle {}
  271. #primary ul { }
  272. #primary li { }
  273. #primary ul ul { }
  274. #primary ul li { }
  275. #primary ul ul li { }
  276. #primary ul ul ul { }
  277. #primary ul ul ul li { }
  278. #primary a:link { } /* Styles all links in the sidebar */
  279. #primary a:visited { }
  280. #primary a:hover { }
  281. #primary img {}
  282.  
  283. /* Search Form */
  284. #primary #search { }
  285. #primary #search h3.widgettitle {}
  286. #search { }
  287. form { }
  288. #searchform { }
  289. #s { }
  290. #searchsubmit { }
  291. #text-1 { }
  292. form { }
  293. #searchform {} /* entire search form section */
  294. #s { } /* search form box */
  295. #searchsubmit { }
  296. #text-1 { }
  297. #search { } /* search form text */
  298. #search a {} /* search link text */
  299. #search a:hover {}
  300. #searchsubmit { } /* search button */
  301. #searchsubmit:hover { }
  302.  
  303. /* Sidebar Widgets - section of your sidebar arrangable by the WordPress Widgets */
  304. #primary.widget { }
  305. .widget { }
  306. #primary h3.widgettitle { }
  307. #primary h3 { } /* Titles for each section of the sidebar, including widget sidebar accessories */
  308. .widgettitle { }
  309. .widget_text {}
  310. .widget_sandbox_search { }
  311. div.textwidget { } /* text from widget sidebar accessories */
  312. .textwidget { }
  313. .widget ul {}
  314. .widget li {}
  315. .widget ul ul {}
  316. .widget ul ul ul { }
  317. .widget ul ul li { }
  318. .widget ul ul ul li { }
  319. .widget a:link {}
  320. .widget a:visited { }
  321. .widget a:hover { }
  322.  
  323. /* Page List */
  324. #pages { }
  325. #paqes.widget_pages { } /* list of Pages from widget sidebar accessories */
  326. .widget_pages { }
  327. a:link { }
  328. a:visited { }
  329. a:hover { }
  330. li.page_item { }
  331. li.page_item a { }
  332. #pages a:link { }
  333. #pages a:visited { }
  334. #pages a:hover { }
  335.  
  336. /* Categories List */
  337.  
  338. #categories { }
  339. #categories.widget { }
  340. .widget_categories { }
  341. #categories a:link { }
  342. #categories a:visited { }
  343. #categories a:hover { }
  344.  
  345. /* Recent Posts Widget List */
  346. #recent-posts { }
  347. #recent-posts.widget { }
  348. .widget_recent_entries { }
  349. #recent-posts a:link { }
  350. #recent-posts a:visited { }
  351. #recent-posts a:hover { }
  352.  
  353. /* Blogroll list and links - fill in the X with each link category ID number */
  354. #linkcat-X { }
  355. #linkcat-X a { }
  356. #linkcat-X h3 { }
  357. #linkcat-X ul { }
  358. #linkcat-X ul ul { }
  359. #linkcat-X ul li { }
  360. #linkcat-X li { }
  361. #linkcat-X ul ul li { }
  362. #linkcat-X a:link { }
  363. #linkcat-X a:visited { }
  364. #linkcat-X a:hover { }
  365.  
  366. /* Sidebar Meta - Admin Section */
  367. #meta { }
  368. #meta.widget { }
  369. #meta.widget_meta { }
  370. .widget_meta { }
  371. #meta h3 { }
  372. #meta.widgettitle { }
  373. #meta ul { }
  374. #meta ul ul { }
  375. #meta ul li { }
  376. #meta ul ul li { }
  377. #meta a:link { }
  378. #meta a:visited { }
  379. #meta a:hover { }
  380.  
  381. /* Sidebar Feeds Section, each section of RSS feeds are numbered such as #rss-4 or #rss-1, so change the number to change the look of that feed's styles, and add other feed numbers to style each independent feed style */
  382. #rss-X { }
  383. #rss-X.widget { }
  384. .widget_rss { }
  385. #rss-X h3 { }
  386. #rss-X.widgettitle { }
  387. #rss-X a.rsswidget { }
  388. .rsswidget { }
  389. #rss-X.rsswidget {} /* feed post title */
  390. #rss-X ul { }
  391. #rss-X ul ul { }
  392. #rss-X ul li { }
  393. #rss-X ul ul li { }
  394. #rss-X a:link { }
  395. #rss-X a:visited { }
  396. #rss-X a:hover { }
  397.  
  398. /* Feed Links */
  399. .feed-links { }
  400. .feed-links h3 { }
  401. .feed-links ul { }
  402. .feed-links ul ul { }
  403. .feed-links ul li { }
  404. .feed-links ul ul li { }
  405. .feed-links a:link { }
  406. .feed-links a:visited { }
  407. .feed-links a:hover { }
  408.  
  409. /* Secondary sidebar, which is in use whether or not you want it. You must style it. For single sidebars, both sidebars are there, the #secondary sidebar sits below the #primary sidebar. */
  410. #secondary .sidebar { }
  411.  
  412. /* Footer */
  413. #footer p { }
  414. #footer a:link { }
  415. #footer a:visited { }
  416. #footer a:hover { }
  417.  
  418. /* Links - Set them only if you want the same look for EVERY link on your blog. Otherwise, set them on a specific section basis. */
  419. a:link { }
  420. a:visited { }
  421. a:hover { }
  422.  
  423. /* COMMON HTML elements most likely found and used within the post content area - and allowed by Wordpress.com */
  424. p { }
  425. hr { }
  426. b, strong { }
  427. em, i { }
  428. img { }
  429. p img { }
  430. a img {border:0}
  431. /* Styling Lists - if you style the "root" list styles, it will style everything the same. Lists are used in the sidebar, post content, and comments, so it is best to style each indivdually. */
  432. #content ul { }
  433. #content li { }
  434. #content ul ul { }
  435. #content ul ul li { }
  436. #content ul ul ul li { }
  437. #content ol { }
  438. #content dl { } /* There is a DL in the subtitle - text of categories, author, and archives. If you style the DL alone, it will be styled for everything. To style the DL for the post content, use this or another parent container that covers the post content area. */
  439. #content dt { font-weight:bold;}
  440. #content dd { }
  441. blockquote { }
  442. cite { }
  443. code { }
  444. i { }
  445. em { }
  446. b, strong { }
  447. hr { }
  448. pre { }
  449. p abbr { } /* This might not work. See abbr references above. */
  450. acronym { }
  451. table { }
  452. tr { }
  453. td { }
  454. caption { }
  455. thead { }
  456. #content h3 { }
  457. #content h4 { }
  458. #content h5 { }

URL: http://lorelle.wordpress.com/2006/08/06/wordpresscom-custom-css-all-the-styles-for-the-sandbox-theme/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.