base.css

/* A second attempt at modularization of common classes and CSS */ /* 20071118 Dana Lee Ling. All material Creative Commons -by 3.0 */ /* Work on removing inline style attribute using attribute selector 200711 */ /* common inline small specific adjustments found on statistics pages */ article {display:block;} code, pre {font-family:consolas,"lucida console",monaco,"nimbus mono l","courier new",monospace} a img {border:none} *:target {border:thin solid red} header {display:block;} img {border:none} /* Encouraged by Sam Ruby and Kroc Camen, the plunge into new HTML5 elements 20080712 */ menu {display:block;} menu ul {list-style-type:none;} menu a {text-decoration:none} nav {display:block;} nav ul {list-style-type:none;} nav li {display:inline;} /* See http://www.comfsm.fm/~dleeling/physci/ps73/lab10emptycell.html */ /* for lengthy discussion of idiosyncracies of printing collapsed bordered */ /* empty cells. This replaced a practice of using non-breaking spaces */ table { border-collapse:collapse;empty-cells:show} time {display:inline;} var { display:inline; font-style:italic;font-family:consolas,"lucida console",monaco,"nimbus mono l","courier new",monospace; font-weight:bold; } /* id css */ p[id|=image] {font-style:italic} /* light box */ p[id|=image]:active { width:2000px; height:700px; top:0; position:relative; background:black; z-index:2; } p[id|=image] img:active { height:500px; width:auto; position:relative; top:30px; left:30px; z-index:3; } /* classes */ .banner {background:mediumblue;color:white;padding:2px;margin:2px} /* Sometime removing inline style produces silliness */ .center {text-align:center} .deprecate {background:snow;color:dimgray;font-size:smaller;border-left:medium solid red;padding-left:1em;margin-left:1em;} div.example {background:whitesmoke;color:black;border:thin solid black;margin-bottom:1em;padding-left:1em;} div.example p {font-family:candara,"trebuchet ms",helvetica,geneva,"bitstream vera sans",sans-serif;} .function { background:lavender; border:thin solid black; font-family:consolas,"lucida console",monaco,"nimbus mono l","courier new",monospace; font-size:larger; margin:1ex; padding:1ex; text-align:center; } .lilliput {font-size:smaller} div.linkpage a {text-decoration:none} .marine {background:lightcyan;color:darkslategray;font-family:verdana,geneva,"bitstream vera sans",sans-serif;border:thin solid darkslategray;margin-bottom:1em;padding-left:1em} .marine h1, .marine h2 {color:darkslategray} /* statistics sample mean in statistics pages */ .mean {text-decoration:overline;} .night {background:black;font-family:corbel,verdana,sans-serif;color:wheat;margin-bottom:1em;padding:1em} .out-of-flow {float:right;margin-left:1em} /* physical science lab08 uses this class */ div.poem {padding:1ex;margin:1ex;float:right;font-family:garamond,serif;border:thin solid orchid} .rainy {background:whitesmoke;color:darkslategray;border:thin solid teal;margin-bottom:1em;padding-left:1em} .rainy h1, .rainy h2 {color:teal} /* 20091122 test solution hide class. Overridden down cascade to show solutions */ .solution {display:none} .sunny { background:papayawhip;color:darkred;border:thin solid red; margin-bottom:1em;padding-left:1em;padding-right:1em } .sunny h1, .sunny h2 {background:papayawhip;color:darkorange} /* physical science laboratory data table tweak */ /* the particular tweaks for tables with data (statistics class) */ /* and blank data tables (physical science) differ */ table.data td {text-align:right} /* Statistics data table tweak */ table.fixheight td {height:1.5em} /* Used by blank cell tables in physical science lab sheets */ table.formula-table {margin-bottom:1ex} /* Used at the end of statistics tests */ div.nav-tables table {margin-bottom:1em} table.out-of-flow {margin-left:1em} /* Used to keep text from running into right floated table */ /* Shift to monospace, enlarge numerals in stat midterm spring 2008. Problem was 11102 */ /* Also used in example 9.2.2 notes009.html */ td.n { background:white; font-family:"lucida console",consolas,monaco,"nimbus mono l","courier new",monospace; font-size:larger; padding-left:1em; padding-right:0.5em; text-align:right; } /* the following is a fix for physci/text/081.xhtml - an ugly way to avoid a page specific style fix */ td.n.caution {background:lightyellow} td.n.warning {background:mistyrose} .tablesubhead {text-align:right;font-size:smaller;font-weight:bold} .terrestrial {background:floralwhite;color:saddlebrown;font-family:constantia,"Palatino linotype","book antiqua",palatino,"urw palladio l",serif;border:thin solid saddlebrown;margin-bottom:1em;padding-left:1em} .tropical {background:honeydew;color:darkgreen;font-family:candara,"trebuchet ms",helvetica,geneva,sans-serif;border:thin solid darkgreen;margin-bottom:1em;padding-left:1em} .tragedy {background:mistyrose;color:crimson;font-family:cambria,garamond,serif;margin-bottom:1em;padding-left:1em} /* UB classes moved in 200807010744 */ .u52 {background:azure;color:darkblue;border:thin solid darkblue;padding:0.5em;margin:0.5em} .u62 {background:ivory;color:saddlebrown;border:thin solid saddlebrown;padding:0.5em;margin:0.5em} .u72 {background:lavender;color:indigo;border:thin solid indigo;padding:0.5em;margin:0.5em} .u82 {background:linen;color:saddlebrown;border:thin solid brown;padding:0.5em;margin:0.5em} .u83 {background:lavender;border:thin solid blueviolet;padding:0.5em;margin:0.5em} /* classes used in ca100 pages */ .warning {background:mistyrose} .wordprocessing {background:ivory;color:saddlebrown} .spreadsheets {background:mintcream;color:darkgreen} .presentations {background:lavenderblush;color:crimson} .internet {background:moccasin;color:maroon} .code {font-family:monospace;font-size:smaller} .generations {background:paleturquoise;color:darkslategray} @media print { *[id|=page] {page-break-before:always} a:target {border:none} a:after {content:" [" attr(href) "] ";font-size:smaller;font-family:calibri,tahoma,helvetica,"urw grotesk t",sans-serif} /* Oh the regressions that I fear when I tweak something on the 18th of November 2008 */ div.linkpage a:after {content:normal} table {border-collapse:separate;border-spacing:0;} /* clear various color scheme backgrounds for printing purposes */ .function{background:whitesmoke} .marine {background:white;color:black} .night {background:white;color:black} .rainy {background:white;color:black;page-break-before:always;border:none} .rainy h1 {background:white;color:black} .sunny {background:white;color:black;border:none;margin-bottom:0em} .sunny h1 {background:white;color:black} .terrestrial {background:white;color:black} .tropical {background:white;color:black} .tragedy {background:white;color:black} /* test and quiz spacing and display adjustments */ ol.gap li {padding-top:1ex} ul.gap li {padding-top:1ex} p.sxn-intro {font-size:smaller} /* statistics and physical science data table tweaks */ table.data th {background:whitesmoke;color:black} /* Fix for physci orchid print problems */ table.data-table {font-size:smaller;font-family:calibri,tahoma,sans-serif;} table.formula-table {font-size:smaller;font-family:calibri,tahoma,sans-serif;} table.out-of-flow caption {background:whitesmoke} .menu {display:none} menu {display:none} .nav {display:none} nav {display:none} .print-out-of-flow {float:right;margin-left:1em} .downgap {padding-bottom:6em} /* I seem to need a variety of downgap options. Fear of refactoring. */ .downgap4 {padding-bottom:4em} /* this is such a slippery slope to head down, so ugly, small tweaks */ .downgap10 {padding-bottom:10em} /* Alice falls into the looking glass darkly, give an argument to pass in */ .noprint {display:none} /* Custom image reductions used in printed pages e.g. ethnobotany midterm spring 2008 */ .reduce {height:50%;width:50%} .reduce33 {height:33%;width:33%} .reduce25 {height:25%;width:25%} .out-of-flow .reduce {height:50%;width:50%} } @media screen { .noscreen {display:none} }