Library.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(re-cat) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Here is a generic <tt>library.css</tt> file: |
Here is a generic <tt>[[library.css]]</tt> file: |
||
<pre> |
<pre> |
||
Line 22: | Line 22: | ||
} |
} |
||
.replaceThisWithClassName h1, . |
.replaceThisWithClassName h1, .replaceThisWithClassName h2, .replaceThisWithClassName h3, .replaceThisWithClassName h4, .replaceThisWithClassName h5 { |
||
background: |
background: |
||
} |
} |
||
Line 28: | Line 28: | ||
== Classes and Selectors == |
== Classes and Selectors == |
||
The <tt>library.css</tt> file contains the following classes and selectors: |
|||
; <tt>a.entry:hover</tt> : <tt>a.entry:hover</tt> refers to the style of an entry in the collection as you mouse over it. |
; <tt>a.entry:hover</tt> : <tt>a.entry:hover</tt> refers to the style of an entry in the collection as you mouse over it. |
||
Line 38: | Line 39: | ||
; <tt>h1, h2, h3, h4 h5</tt> : <tt>h1</tt>,<tt>h2</tt>,<tt>h3</tt>,<tt>h4</tt>, and <tt>h5</tt> refer to the style of various headers-- all the same formatting, but different size fonts. |
; <tt>h1, h2, h3, h4 h5</tt> : <tt>h1</tt>,<tt>h2</tt>,<tt>h3</tt>,<tt>h4</tt>, and <tt>h5</tt> refer to the style of various headers-- all the same formatting, but different size fonts. |
||
[[Category:File formats]] |
Latest revision as of 14:58, 15 September 2007
Here is a generic library.css file:
/* Style sheet for "replaceThisWithClassName" collection--------------- */ .replaceThisWithClassName a.entry:hover { background: text-decoration: } .replaceThisWithClassName .metadata > .title { color: } .replaceThisWithClassName a { color: text-decoration: } .replaceThisWithClassName a:hover { text-decoration: } .replaceThisWithClassName h1, .replaceThisWithClassName h2, .replaceThisWithClassName h3, .replaceThisWithClassName h4, .replaceThisWithClassName h5 { background: }
Classes and Selectors
The library.css file contains the following classes and selectors:
- a.entry:hover
- a.entry:hover refers to the style of an entry in the collection as you mouse over it.
- .metadata > .title
- .metadata > .title refers to the style of the title of an entry in the collection.
- a
- a refers to the style of all linked text in the collection.
- a:hover
- <t>a:hover refers to the style of linked text as you mouse over it.
- h1, h2, h3, h4 h5
- h1,h2,h3,h4, and h5 refer to the style of various headers-- all the same formatting, but different size fonts.