850e3ec5b9
- Avoid nedless tests - Replace reference to /bin/sed with faster, simpler and probably more correct plan9 sed call. - Move inline html styling to style.css - Various code cleanups, bring source style in line with other werc source.
375 lines
6.1 KiB
CSS
375 lines
6.1 KiB
CSS
/* Default style */
|
|
/* ##### Common Styles ##### */
|
|
|
|
body {
|
|
color: black;
|
|
background-color: white;
|
|
font-family: verdana, helvetica, arial, sans-serif;
|
|
font-size: 71%; /* Enables font size scaling in MSIE */
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
html > body {
|
|
/* font-size: 9pt; */
|
|
font-size: 0.7em;
|
|
}
|
|
|
|
acronym, .titleTip {
|
|
border-bottom: 1px dotted rgb(153,153,153);
|
|
cursor: help;
|
|
margin: 0;
|
|
padding: 0 0 0.4px 0;
|
|
}
|
|
|
|
.doNotDisplay {
|
|
display: none;
|
|
}
|
|
|
|
.smallCaps {
|
|
font-size: 110%;
|
|
font-variant: small-caps;
|
|
}
|
|
|
|
|
|
/* ##### Header ##### */
|
|
|
|
.superHeader {
|
|
color: white;
|
|
background-color: rgb(100,135,220);
|
|
height: 2em;
|
|
}
|
|
|
|
.superHeader a {
|
|
color: white;
|
|
background-color: transparent;
|
|
text-decoration: none;
|
|
font-size: 91%;
|
|
margin: 0;
|
|
padding: 0 0.5ex 0 0.25ex;
|
|
}
|
|
|
|
.superHeader a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.superHeader .left {
|
|
position: absolute;
|
|
left: 1.5mm;
|
|
top: 0.75ex;
|
|
}
|
|
|
|
.superHeader .right {
|
|
position: absolute;
|
|
right: 1.5mm;
|
|
top: 0.75ex;
|
|
}
|
|
|
|
.midHeader {
|
|
color: rgb(39,78,144);
|
|
background-color: rgb(140,170,230);
|
|
background-color: #ff6d06;
|
|
border: solid 0 black;
|
|
border-width: 3px 0;
|
|
}
|
|
|
|
.headerTitle {
|
|
color: black;
|
|
font-size: 337%;
|
|
font-weight: normal;
|
|
margin: 0 0 0 4mm;
|
|
padding: 0.25ex 0;
|
|
}
|
|
#headerSubTitle {
|
|
font-size: 50%;
|
|
font-style: italic;
|
|
}
|
|
|
|
.headerTitle a {
|
|
color: black;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.subHeader {
|
|
display: none;
|
|
color: white;
|
|
background-color: rgb(0,51,153);
|
|
margin: 0;
|
|
padding: 1ex 1ex 1ex 1.5mm;
|
|
}
|
|
|
|
.subHeader a {
|
|
color: white;
|
|
background-color: transparent;
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
margin: 0;
|
|
padding: 0 0.75ex 0 0.5ex;
|
|
}
|
|
|
|
.subHeader a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.superHeader .highlight, .subHeader .highlight {
|
|
color: rgb(253,160,91);
|
|
background-color: transparent;
|
|
}
|
|
|
|
|
|
/* ##### Side Boxes ##### */
|
|
|
|
#side-bar {
|
|
width: 16em;
|
|
float: left;
|
|
clear: left;
|
|
border-right: 1px solid rgb(153,153,153);
|
|
}
|
|
|
|
#side-bar div {
|
|
border-bottom: 1px solid rgb(153,153,153);
|
|
}
|
|
|
|
.sideBarTitle {
|
|
font-weight: bold;
|
|
margin: 0 0 0.5em 2mm;
|
|
padding: 1em 0 0 0;
|
|
}
|
|
|
|
#side-bar ul {
|
|
list-style-type: none;
|
|
list-style-position: outside;
|
|
margin: 0;
|
|
padding: 0 0 0.3em 0;
|
|
}
|
|
|
|
li ul {
|
|
padding-left: 1.0em !important;
|
|
}
|
|
|
|
#side-bar li {
|
|
margin: 0;
|
|
padding: 0.1ex 0; /* Circumvents a rendering bug (?) in MSIE 6.0 */
|
|
}
|
|
|
|
#side-bar a, .thisPage {
|
|
color: rgb(0,102,204);
|
|
background-color: transparent;
|
|
text-decoration: none;
|
|
margin: 0;
|
|
padding: 0.35em 1ex 0.35em 2mm;
|
|
display: block;
|
|
text-transform: capitalize;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.thisPage, .thisPage a {
|
|
color: black!important;
|
|
background-color: white;
|
|
padding-left: 5mm;
|
|
/*
|
|
border-top: 1px solid rgb(153,153,153);
|
|
border-bottom: 1px solid rgb(153,153,153);
|
|
*/
|
|
font-weight: 600;
|
|
}
|
|
|
|
#side-bar a:hover {
|
|
color: white;
|
|
background-color: rgb(100,135,220);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.sideBarText {
|
|
line-height: 1.5em;
|
|
margin: 0 0 1em 0;
|
|
padding: 0 1.5ex 0 2.5mm;
|
|
display: block;
|
|
}
|
|
|
|
#side-bar .sideBarText a {
|
|
text-decoration: underline;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: inline;
|
|
}
|
|
|
|
#side-bar .sideBarText a:hover {
|
|
color: rgb(0,102,204);
|
|
background-color: transparent;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.lighterBackground {
|
|
color: inherit;
|
|
background-color: white;
|
|
}
|
|
|
|
|
|
|
|
/* ##### Main Copy ##### */
|
|
|
|
#main-copy {
|
|
max-width: 70em;
|
|
color: black;
|
|
background-color: transparent;
|
|
text-align: justify;
|
|
line-height: 1.5em;
|
|
margin: 0em 0 0 16em;
|
|
padding: 0.5mm 5mm 5mm 10mm;
|
|
border-left: 1px solid rgb(153,153,153);
|
|
}
|
|
|
|
#bodyText {
|
|
margin: 0 0 0 15.5em;
|
|
padding: 2mm 5mm 2mm 5mm;
|
|
}
|
|
|
|
|
|
#main-copy p {
|
|
margin: 1em 1ex 1em 1ex !important; /* Need !important so troff-generated pages don't look totally squezed */
|
|
padding: 0;
|
|
}
|
|
|
|
#main-copy a {
|
|
color: rgb(0,102,204);
|
|
background-color: transparent;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
#main-copy a:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
#main-copy h1, #main-copy h2 {
|
|
color: rgb(0,102,204);
|
|
background-color: transparent;
|
|
font-size: 145.5%;
|
|
font-weight: bold;
|
|
margin: 2em 0 0 0;
|
|
padding: 0.5ex 0 0.5ex 0.6ex;
|
|
border-bottom: 2px solid rgb(0,102,204);
|
|
}
|
|
|
|
#main-copy h2 {
|
|
font-size: 115.5%;
|
|
border-bottom: 1px solid rgb(0,102,204);
|
|
}
|
|
|
|
#main-copy .topOfPage {
|
|
color: rgb(0,102,204);
|
|
background-color: transparent;
|
|
font-size: 91%;
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
margin: 3ex 1ex 0 0;
|
|
padding: 0;
|
|
float: right;
|
|
}
|
|
|
|
dl {
|
|
margin: 1em 1ex 2em 1ex;
|
|
padding: 0;
|
|
}
|
|
|
|
dt {
|
|
font-weight: bold;
|
|
margin: 0 0 0 0;
|
|
padding: 0;
|
|
}
|
|
|
|
dd {
|
|
margin: 0 0 2em 2em;
|
|
padding: 0;
|
|
}
|
|
|
|
|
|
/* ##### Footer ##### */
|
|
|
|
#footer {
|
|
color: white;
|
|
background-color: rgb(100,135,220);
|
|
font-size: 91%;
|
|
margin: 0;
|
|
padding: 1em 2.5mm 2.5ex 2.5mm;
|
|
clear: both;
|
|
border: solid 0 black;
|
|
border-width: 3px 0;
|
|
}
|
|
|
|
#footer .left {
|
|
text-align: left;
|
|
line-height: 1.45em;
|
|
float: left;
|
|
clear: left;
|
|
}
|
|
|
|
#footer .right {
|
|
text-align: right;
|
|
line-height: 1.45em;
|
|
}
|
|
|
|
#footer a {
|
|
color: white;
|
|
background-color: transparent;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
#footer a:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
|
|
/* GENERAL */
|
|
|
|
/* S-pam */
|
|
.gpam {
|
|
text-align: center;
|
|
}
|
|
|
|
/* Tables */
|
|
table {
|
|
border: solid 1px black;
|
|
}
|
|
th {
|
|
background-color: #abc;
|
|
border: solid 1px black;
|
|
text-align: center;
|
|
}
|
|
td {
|
|
background-color: #def;
|
|
border: solid 1px black;
|
|
}
|
|
|
|
hr {
|
|
border-width: 0px 0px 0.1em 0px;
|
|
border-color: black;
|
|
}
|
|
|
|
/* S-pam */
|
|
.gpam table, .gpam th, .gpam td {
|
|
border: none;
|
|
}
|
|
|
|
/* Code */
|
|
pre {
|
|
margin-left: 2em;
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
|
|
/* Quotes */
|
|
blockquote {
|
|
border-left: 1px solid blue;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* PAGE/HANDLER SPECIFIC */
|
|
h1.dir-list-head, ul.dir-list {
|
|
text-transform: capitalize;
|
|
font-weight: bold;
|
|
}
|
|
ul.sitemap-list a {
|
|
text-transform: capitalize;
|
|
}
|