Difference between revisions of "S2 CSS: Entry page ids and classes"
From Dreamwidth Notes
Foxfirefey (Talk | contribs) (→div#comments) |
|||
Line 24: | Line 24: | ||
= <tt>div#comments</tt> = | = <tt>div#comments</tt> = | ||
+ | |||
+ | has <tt>div.inner</tt> | ||
* '''Affects:''' The whole comments section of the page. This is right under the <tt>div.entry-wrapper</tt>. | * '''Affects:''' The whole comments section of the page. This is right under the <tt>div.entry-wrapper</tt>. | ||
Line 30: | Line 32: | ||
$N stands for the number of the comments. This isn't really all that useful for styling, it's more of a marker for browsers to be able to link to a certain comment. | $N stands for the number of the comments. This isn't really all that useful for styling, it's more of a marker for browsers to be able to link to a certain comment. | ||
+ | |||
+ | {{Warn|text=The inline style is going away!}} | ||
Has inline style of: | Has inline style of: | ||
Line 44: | Line 48: | ||
* <tt>.comment-wrapper-b</tt> | * <tt>.comment-wrapper-b</tt> | ||
* <tt>.visible</tt> | * <tt>.visible</tt> | ||
+ | * <tt>.deleted</tt> (currently not working) | ||
* <tt>.screened</tt> | * <tt>.screened</tt> | ||
* <tt>.poster-$USER </tt> | * <tt>.poster-$USER </tt> | ||
Line 51: | Line 56: | ||
* <tt>.has-userpic</tt> | * <tt>.has-userpic</tt> | ||
− | ==== <tt>div.separator</tt> and <tt>div.separator- | + | ==== <tt>div.separator</tt> and <tt>div.separator-before</tt> ==== |
− | + | ||
− | + | ||
has <tt>.inner</tt> | has <tt>.inner</tt> |
Revision as of 20:17, 27 April 2009
Expand: We are expanding the content here!
In addition to the entry stuff described in S2 CSS: Entry ids and classes, these additional classes are found only on the entry page. They mostly apply to the display of comments.
The entry page has body.page-entry as its body class.
Contents
Changes from normal entry classes
The bottom is a bit different from that described in S2 CSS: Entry ids and classes:
div.tag
ul.entry-management-links
hr.above-entry-interaction-links
ul.entry-interaction-links
hr.below-entry-interaction-links
hr.below-reply-container
div#comments
has div.inner
- Affects: The whole comments section of the page. This is right under the div.entry-wrapper.
div#ljcmt$N
$N stands for the number of the comments. This isn't really all that useful for styling, it's more of a marker for browsers to be able to link to a certain comment.
Warning: The inline style is going away!
Has inline style of:
style='margin-left: 25px; margin-top: 5px'
div.comment-wrapper
Warning: .comment-wrapper-a/b might change to wrapper-odd/even
Different classes:
- .comment-wrapper-a
- .comment-wrapper-b
- .visible
- .deleted (currently not working)
- .screened
- .poster-$USER
- .full
- .partial
- .no-userpic
- .has-userpic
div.separator and div.separator-before
has .inner
div.comment
div.bottomcomment
ul.entry-management-links
ul.entry-interaction-links
Inside div.comment
has .inner
Warning: Right now some things are not inside the inner div.
div.header
div.comment-title
span.datetime
div.contents
has .inner
div.userpic<tt>
<tt>span.poster and span.comment-poster
span.ljuser
div.comment-content
has .inner
span.multiform-checkbox
ul.comment-management-links
The links/buttons for managing comments: delete/screen/freeze/track/etc
- li.link
- li.delete_comment
- li.screen_comment
- li.freeze_thread
- li.watch_thread
ul.comment-interaction-links</tt>
The text links to reply/parent/thread on a given topic
- li.link
- li.reply
- li.thread