/ Published in: CSS
Implement "Asides" in a WordOress blog just with the Sandbox theme and CSS
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/* Asides */ body.home .category-asides{ border-left: 4px solid #3bb000; padding-left: 1em; margin: 0 5% 1.5em 0; background-image: none; } body.home .category-asides{ background-image: none; padding-top: 0; } body.home .category-asides .entry-content, body.home .category-asides .entry-content p, body.home .category-asides .entry-meta{ margin: 0 0.25em 0 0; display: inline; } body.home .category-asides .entry-content{ margin: 0; } body.home .category-asides h2.entry-title, body.home .category-asides .entry-date, body.home .category-asides .entry-social-links, body.home .category-asides .entry-author, body.home .category-asides .metasep, body.home .category-asides .entry-category, body.home .category-asides .entry-commentlink-text{ display: none; } body.home .category-asides .entry-commentlink a{ font-size: 114%; color: #3bb000; } body.home .category-asides .entry-content a{ color: #3bb000; } body.home .category-asides .entry-content a:hover, body.home .category-asides .entry-commentlink a:hover{ background-color: #3bb000; color: #fff; }
URL: http://www.alistercameron.com/2007/07/09/sandbox-theming-trcks-pure-css-asides/