Changeset 690813
- Timestamp:
- 04/02/2013 08:55:59 PM (13 years ago)
- Location:
- side-matter
- Files:
-
- 2 edited
-
tags/0.8/readme.txt (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
side-matter/tags/0.8/readme.txt
r690810 r690813 169 169 * `li.side-matter-note` selects the sidenote `li` (list item) elements themselves. Target a specific note by appending `li.side-matter-note-` with the note number, e.g. `li.side-matter-note-6`. 170 170 * `div.side-matter-text` selects the `div` elements that enclose sidenote text, but not sidenote list numerals. Use this to style sidenote text separately from sidenote numerals. Target the text of a specific sidenote by appending `div.side-matter-text-` with the sidenote number, e.g. `div.side-matter-text-2`. 171 * If a sidenote contains multiple paragraphs, WordPress will wrap the text in `p` (paragraph) tags. Because they are generated outside Side Matter, these `p` elements cannot be selected directly using the `side-matter` class. Use the [child selector](http://www.htmldog.com/guides/css/advanced/selectors/) method instead: 172 173 174 div.side-matter-text > p { 175 text-indent: 1em; 176 } 171 * If a sidenote contains multiple paragraphs, WordPress will wrap the text in `p` (paragraph) tags. Because they are generated outside Side Matter, these `p` elements cannot be selected directly using the `side-matter` class. Use the [child selector](http://www.htmldog.com/guides/css/advanced/selectors/) method instead (e.g. `div.side-matter-text > p`). 177 172 178 173 == For Theme Authors == -
side-matter/trunk/readme.txt
r690810 r690813 169 169 * `li.side-matter-note` selects the sidenote `li` (list item) elements themselves. Target a specific note by appending `li.side-matter-note-` with the note number, e.g. `li.side-matter-note-6`. 170 170 * `div.side-matter-text` selects the `div` elements that enclose sidenote text, but not sidenote list numerals. Use this to style sidenote text separately from sidenote numerals. Target the text of a specific sidenote by appending `div.side-matter-text-` with the sidenote number, e.g. `div.side-matter-text-2`. 171 * If a sidenote contains multiple paragraphs, WordPress will wrap the text in `p` (paragraph) tags. Because they are generated outside Side Matter, these `p` elements cannot be selected directly using the `side-matter` class. Use the [child selector](http://www.htmldog.com/guides/css/advanced/selectors/) method instead: 172 173 174 div.side-matter-text > p { 175 text-indent: 1em; 176 } 171 * If a sidenote contains multiple paragraphs, WordPress will wrap the text in `p` (paragraph) tags. Because they are generated outside Side Matter, these `p` elements cannot be selected directly using the `side-matter` class. Use the [child selector](http://www.htmldog.com/guides/css/advanced/selectors/) method instead (e.g. `div.side-matter-text > p`). 177 172 178 173 == For Theme Authors ==
Note: See TracChangeset
for help on using the changeset viewer.