Difference between revisions of "S2 CSS: Archive pages ids and classes"

From Dreamwidth Notes
Jump to: navigation, search
(Inside div.month-wrapper)
Line 23: Line 23:
 
== Inside <tt>div.month-wrapper</tt> ==
 
== Inside <tt>div.month-wrapper</tt> ==
  
=== <tt>div.separator</tt> / <tt>div.separator-pre</tt> ===
+
=== <tt>div.separator</tt> / <tt>div.separator-before</tt> ===
 
+
{{Warn|text=separator-pre might change to separator-before}}
+
  
 
has <tt>.inner</tt>
 
has <tt>.inner</tt>
Line 43: Line 41:
 
has <tt>.inner</tt>
 
has <tt>.inner</tt>
  
==== <tt>div.separator</tt> / <tt>div.separator-post</tt> ====
+
==== <tt>div.separator</tt> / <tt>div.separator-after</tt> ====
 
+
{{Warn|text=separator-post might change to separator-after}}
+
  
 
== Inside <tt>div.month</tt> <tt>div.contents</tt> ==
 
== Inside <tt>div.month</tt> <tt>div.contents</tt> ==

Revision as of 15:21, 15 July 2009

Year view

The year view page has body.page-archive as its body class. Inside the div#primary:

div#archive-year

has .inner

div.navigation

has .inner</tt>

contains a <ul> that can have many items, as it lists each year with posts

div.year

has .inner

div.month-wrapper

has .inner

Inside div.month-wrapper

div.separator / div.separator-before

has .inner

div.month

has .inner

div.header

div.contents

has .inner

div.footer

has .inner

div.separator / div.separator-after

Inside div.month div.contents

td

  • .day-empty
  • .day
  • .day-has-entries

span.label

Month view

The month view page has body.page-month as its body class. Inside the div#primary:

div#archive-month

has .inner

div.navigation

has .inner

div.month

has .inner

div.navigation

There's a navigation section after the month <div> as well.

Inside div.month

span.datetime

span.time

span.poster and span.entry-poster

span.trust-filter

span.entry-title

div.tag

span.tag-text

Day view

The day view page has body.page-day as its body class. Inside the div#primary:

div#archive-day

has .inner

div.navigation

has .inner

li.page-back

li.page-forward

div.day

has .inner

.entry-wrapper

div.navigation