Sample library.css file: Difference between revisions

From OLPC
Jump to navigation Jump to search
mNo edit summary
Line 22: Line 22:
}
}


.dictionary h1, .books h2, .books h3, .books h4, .books h5 {
.dictionary h1, .dictionary h2, .dictionary h3, .dictionary h4, .dictionary h5 {
background: #F78F1E;
background: #F78F1E;
}
}
Line 39: Line 39:
; <tt>.dictionary a:hover</tt> :
; <tt>.dictionary a:hover</tt> :


; <tt>.dictionary</tt> :
; <tt>.dictionary h1, .dictionary h2, .dictionary h3, .dictionary h4, .dictionary h5</tt> :

Revision as of 21:54, 16 July 2007

Here is a sample library.css file a collection called Dictionary:

/* Style sheet for "Dictionary" collection--------------- */

.dictionary a.entry:hover {
	background: #F2DBA2;
	text-decoration: none;
}

.dictionary .metadata > .title {
	color: #DE801A;
}

.dictionary a {
	color: #DE801A;
	text-decoration: none;
}

.dictionary a:hover {
	text-decoration: underline;
}

.dictionary h1, .dictionary h2, .dictionary h3, .dictionary h4, .dictionary h5 {
	background: #F78F1E;
}

Classes and Selectors

.dictionary
.dictionary a.entry:hover
.dictionary .metadata > .title
.dictionary a
.dictionary a:hover
.dictionary h1, .dictionary h2, .dictionary h3, .dictionary h4, .dictionary h5