In order for you to be able to style your site appropriately, you need to know how Weever is going to output the comments it processes. Fortunately, Weever gives you plenty of CSS hooks to work with. Every comment is wrapped in a containing div—or li, if you’ve set the output_type parameter to “ul” or “ol”—that will look something like this:
<div id="comment-101" class="comment-container level_1 has_children">
First, note that each comment will have a unique id in the format comment-[comment ID number]. Each containing div will also feature several classes:
comment-container Always presentlevel_1 Describes the “level” of the comment tree the comment belongs to. level_1 is the root level, level_2 includes replies to level_1 comments, and so on.has_children Only present if the comment has children.
If a comment has children, its children will be wrapped in a containing div—or ul/ol if you’ve set the output_type parameter to “ul” or “ol”—that looks like this:
<div class="comment-children">
The comment-children div be placed immediately following the parent comment’s content, but before the close of the parent’s comment-container tag. That is, a comment’s children are contained within the parent’s wrapper.