Updated ‘Asides’ Rules for Sandbox 0.9x

The 0.9x version of Sandbox updated the HTML structure of individual entries, reducing the complexity of the CSS rules needed for displaying ‘asides’. Here are my changes:


/* asides rules */

body.home div.category-linklist * {
	display:inline;
}

body.home div.category-linklist h2.entry-title {
	font-size: 12pt;
	display:inline;
}

body.home div.category-linklist h2.entry-title:after {
	content: ": ";
}

body.home div.category-linklist div.entry-meta,
body.home div.category-linklist div.entry-date {
	display: none;
}

body.home div.category-linklist {
padding: 0pt 10pt 10pt 10pt;
}

/* Asides Single Entry Display Rules */

body.single.s-category-linklist h2.entry-title {
	font-size: 200%;
}

body.single.s-category-linklist div.hentry div.entry-content {
	font-size: 175%;
}

Again, I use ‘linklist’ as my ‘asides’ category, so edit appropriately.

More like this: .

One Comment

  1. Asbjørn Ulsberg
    Posted June 7, 2007 at 2:49 am | Permalink

    Uhm, why would you use ‘pt’ as a unit on the web? Does your web pages get printed more often than viewed on a monitor? ;-)

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*