Sample library.css file

From OLPC
Revision as of 16:26, 16 July 2007 by Lauren (talk | contribs)
Jump to navigation Jump to search
/**
 * Basic styles for ICDL library, accessible by old browsers like NN4
 * Refer to with <link> clause in header so NN4 can see it 
 * Author: Hilary Hutchinson
**/

/* styles for main elements */
BODY {background-color: #CCDDAA; 
font-family: "arial unicode ms", arial, helvetica, sans-serif; 
margin: -10px 0px 0px -10px; 
font-size: 100%}

TD,DIV,SPAN,P,A {font-family: "arial unicode ms", arial, helvetica, sans-serif}
FORM {padding:0; border:0; margin:0}

/* link styles */
A:link {color: #CC6611}          
A:visited {color: #555555}        
A:hover {color: #000000}
A:active {color: #000000}

/* background colors for major elements */  
.bodycolor {background-color: #CCDDAA}
.headercolor {background-color: #99BB77}
.whitecolor {background-color: #FFFFFF}
.dividercolor {background-color: #CC6611}
.lightorangecolor {background-color: #EEBB88}
.lightbrowncolor {background-color: #CC9966}
.loginjoinbox {background-color: #EEBB88; border-top: 5px solid #cc6611; padding: 5px; margin-top: 10px}
.simpleresultsbox {background-color: white}
.bookshelfbox {background-color: white; border-top: 5px solid #996633}
.registerAdultSection {border-top: 2px solid #99bb77; padding: 5px; font-weight: bold; font-size: 120%}

/* layout for some major elements */
.bookimg {text-align: center; white-space: nowrap}
.divider {height: 5px; font-size: 2%; width: 100%; text-align: center}
.maincontentleft {float: left; text-align: left; padding: 10px}
.maincontentright {float: right; text-align: right; padding: 10px}

/* styles for links with no underline or hilite */
.nolinkdec {color:black; text-decoration: none;}
A.nolinkdec:link {color:black; text-decoration: none;}
A.nolinkdec:active {color:black; text-decoration: none;}
A.nolinkdec:visited {color:black; text-decoration: none;}
A.nolinkdec:hover {color:black; text-decoration: none;}