184 lines
3.5 KiB
CSS
184 lines
3.5 KiB
CSS
|
|
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
* things common to all pages *
|
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
|
|
:root {
|
|
font-family: "Arial", sans-serif;
|
|
font-size: 14px;
|
|
}
|
|
BODY {
|
|
background: url(bg.png);
|
|
margin: 0;
|
|
}
|
|
HEADER {
|
|
border-bottom: 1px solid #B89F7C;
|
|
margin-top: 0;
|
|
margin-bottom: 16px;
|
|
padding: 8px;
|
|
background: #FCD9A9;
|
|
text-align: center;
|
|
}
|
|
H1 {
|
|
font-size: 5rem;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
H1 A {
|
|
color: black;
|
|
}
|
|
H3 {
|
|
text-align: center;
|
|
margin: 0;
|
|
}
|
|
THEAD {
|
|
font-weight: bold;
|
|
}
|
|
TD {
|
|
vertical-align: top;
|
|
text-align: center;
|
|
}
|
|
CODE {
|
|
background: #DEDEDE;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
TABLE.zebra {border-spacing: 0; border: 1px solid #B89F7C; }
|
|
TABLE.zebra TD, TABLE.zebra TH {vertical-align: middle; padding: 4px;}
|
|
TABLE.zebra THEAD TD, TABLE.zebra THEAD TH {border-bottom: 2px solid #B89F7C;}
|
|
TABLE.zebra TFOOT TD, TABLE.zebra TFOOT TH {border-top: 2px solid #B89F7C;}
|
|
TABLE.zebra TD {border-top: 1px solid #B89F7C;}
|
|
TABLE.zebra TR:nth-child(odd) {background: #FCD9A9;}
|
|
TABLE.zebra TR:nth-child(even) {background: #DABC92;}
|
|
|
|
FOOTER {
|
|
clear: both;
|
|
padding: 8px;
|
|
font-size: 0.7rem;
|
|
text-align: center;
|
|
border-top: 1px solid #B89F7C;
|
|
background: #FCD9A9;
|
|
}
|
|
|
|
A {color: #665844; text-decoration: none; font-weight: bold;}
|
|
A:hover {color: #665844; text-decoration: underline;}
|
|
A:visited {color: #665844; text-decoration: none}
|
|
A:active {color: #665844; text-decoration: underline;}
|
|
|
|
BLOCKQUOTE {
|
|
border: 1px solid black;
|
|
padding: 8px;
|
|
background: #DDD;
|
|
}
|
|
|
|
UL {
|
|
text-align: left;
|
|
}
|
|
|
|
SECTION>H3, SECTION>.blockbody, .comment, .setupblock {margin: 8px; padding: 8px; border: 1px solid #B89F7C;}
|
|
SECTION>.blockbody, .comment, .setupblock {background: #FCD9A9;}
|
|
SECTION>H3 {background: #DABC92;}
|
|
|
|
|
|
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
* the navigation bar, and all its blocks *
|
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
|
|
NAV {
|
|
width: 250px;
|
|
float: left;
|
|
text-align: center;
|
|
margin-left: 16px;
|
|
}
|
|
NAV .blockbody {
|
|
font-size: 0.85rem;
|
|
text-align: center;
|
|
}
|
|
NAV TABLE {
|
|
width: 150px;
|
|
}
|
|
NAV TD {
|
|
vertical-align: middle;
|
|
}
|
|
NAV INPUT {
|
|
width: 100%;
|
|
padding: 0;
|
|
}
|
|
NAV SELECT {
|
|
width: 100%;
|
|
padding: 0;
|
|
}
|
|
|
|
TABLE.tag_list {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
TABLE.tag_list>THEAD {
|
|
display: none;
|
|
}
|
|
TABLE.tag_list>TBODY>TR>TD {
|
|
display: inline;
|
|
padding: 0;
|
|
line-height: 1em;
|
|
}
|
|
TABLE.tag_list>TBODY>TR>TD:after {
|
|
content: " ";
|
|
}
|
|
|
|
.more:after {
|
|
content: " >>>";
|
|
}
|
|
|
|
.tag_count:before {
|
|
content: "(";
|
|
}
|
|
.tag_count:after {
|
|
content: ")";
|
|
}
|
|
|
|
#paginator .blockbody {
|
|
background: none;
|
|
border: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
|
|
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
* the main part of each page *
|
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
|
|
ARTICLE {
|
|
margin-left: 276px;
|
|
margin-right: 16px;
|
|
text-align: center;
|
|
height: 1%;
|
|
}
|
|
ARTICLE TABLE {
|
|
width: 90%;
|
|
margin: auto;
|
|
}
|
|
|
|
|
|
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
* specific page types *
|
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
|
|
#short-wiki-description > .blockbody {
|
|
padding-bottom: 15px;
|
|
}
|
|
#short-wiki-description h2 {
|
|
margin: 0 0 0.4em;
|
|
}
|
|
|
|
#pagelist {
|
|
margin-top: 32px;
|
|
}
|
|
|
|
.thumb {
|
|
text-align: center;
|
|
}
|
|
.thumb IMG {
|
|
border: 1px solid #B89F7C;
|
|
background: #FCD9A9;
|
|
padding: 8px;
|
|
}
|