Sample library.css file: Difference between revisions

From OLPC
Jump to navigation Jump to search
mNo edit summary
Line 27: Line 27:
</pre>
</pre>


== Classes, IDs, and selectors ==
== Classes and Selectors ==

Revision as of 21:50, 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, .books h2, .books h3, .books h4, .books h5 {
	background: #F78F1E;
}

Classes and Selectors