Sample library.css file: Difference between revisions

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

== Classes, IDs, and selectors ==

Revision as of 21:49, 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, IDs, and selectors