Sample library.css file: Difference between revisions
Jump to navigation
Jump to search
m (New page: →* * 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 ...) |
mNo edit summary |
||
Line 4: | Line 4: | ||
* Author: Hilary Hutchinson |
* Author: Hilary Hutchinson |
||
**/ |
**/ |
||
/* styles for main elements */ |
/* styles for main elements */ |
||
BODY {background-color: #CCDDAA; |
BODY {background-color: #CCDDAA; |
||
Line 10: | Line 10: | ||
margin: -10px 0px 0px -10px; |
margin: -10px 0px 0px -10px; |
||
font-size: 100%} |
font-size: 100%} |
||
TD,DIV,SPAN,P,A {font-family: "arial unicode ms", arial, helvetica, sans-serif} |
TD,DIV,SPAN,P,A {font-family: "arial unicode ms", arial, helvetica, sans-serif} |
||
FORM {padding:0; border:0; margin:0} |
FORM {padding:0; border:0; margin:0} |
||
/* link styles */ |
/* link styles */ |
||
A:link {color: #CC6611} |
A:link {color: #CC6611} |
||
Line 19: | Line 19: | ||
A:hover {color: #000000} |
A:hover {color: #000000} |
||
A:active {color: #000000} |
A:active {color: #000000} |
||
/* background colors for major elements */ |
/* background colors for major elements */ |
||
.bodycolor {background-color: #CCDDAA} |
.bodycolor {background-color: #CCDDAA} |
||
Line 31: | Line 31: | ||
.bookshelfbox {background-color: white; border-top: 5px solid #996633} |
.bookshelfbox {background-color: white; border-top: 5px solid #996633} |
||
.registerAdultSection {border-top: 2px solid #99bb77; padding: 5px; font-weight: bold; font-size: 120%} |
.registerAdultSection {border-top: 2px solid #99bb77; padding: 5px; font-weight: bold; font-size: 120%} |
||
/* layout for some major elements */ |
/* layout for some major elements */ |
||
.bookimg {text-align: center; white-space: nowrap} |
.bookimg {text-align: center; white-space: nowrap} |
||
Line 37: | Line 37: | ||
.maincontentleft {float: left; text-align: left; padding: 10px} |
.maincontentleft {float: left; text-align: left; padding: 10px} |
||
.maincontentright {float: right; text-align: right; padding: 10px} |
.maincontentright {float: right; text-align: right; padding: 10px} |
||
/* styles for links with no underline or hilite */ |
/* styles for links with no underline or hilite */ |
||
.nolinkdec {color:black; text-decoration: none;} |
.nolinkdec {color:black; text-decoration: none;} |
Revision as of 16:26, 16 July 2007
/** * 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;}