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.

Possibly Related posts (machine generated):

  1. HOWTO: Asides in Sandbox
  2. iPhone Viewport Meta Plugin for WordPress
  3. iphone-viewport-meta plugin 0.7
  4. No Inline Markdown, Please
  5. XSLT Friday

More like this: .

  • Asbjørn Ulsberg
    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? ;-)
blog comments powered by Disqus