This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
shimmie2/themes/default/style.css

198 lines
4.2 KiB
CSS

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* things common to all pages *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
BODY {
background: #EEE;
font-family: sans-serif;
font-size: 14px;
margin: 0px;
}
H1 {
background: #BBB;
text-align: center;
border: 1px solid #AAA;
}
H1 A {
color: black;
}
H3 {
text-align: center;
margin: 0px;
}
SECTION>H3 {
background: #CCC;
border: 1px solid #BBB;
}
SECTION>.blockbody, .comment, .setupblock {
background: #DDD;
border: 1px solid #CCC;
}
SECTION>.blockbody, H1, SECTION>H3, FOOTER, .comment, .setupblock {
margin: 8px;
padding: 8px;
border-radius: 12px; /* standard, webkit, opera */
-moz-border-radius: 12px; /* mozilla haven't committed yet */
box-shadow: 2px 2px 6px rgba(0,0,0,0.6); /* standard, opera */
-webkit-box-shadow: 2px 2px 6px rgba(0,0,0,0.6); /* webkit haven't committed yet */
-moz-box-shadow: 2px 2px 6px rgba(0,0,0,0.6); /* mozilla haven't committed yet */
}
THEAD {
font-weight: bold;
}
TD {
vertical-align: top;
text-align: center;
}
TABLE.zebra {border-spacing: 0px; border: 2px solid #CCC;}
TABLE.zebra TD, TABLE.zebra TH {vertical-align: middle; padding: 4px;}
TABLE.zebra THEAD TD, TABLE.zebra THEAD TH {border-bottom: 2px solid #CCC;}
TABLE.zebra TFOOT TD, TABLE.zebra TFOOT TH {border-top: 2px solid #CCC;}
TABLE.zebra TR TD {border-bottom: 1px solid #DDD;}
TABLE.zebra TR:nth-child(odd) {background: #EFEFEF;}
TABLE.zebra TR:nth-child(even) {background: #E0E0E0;}
FOOTER {
clear: both;
font-size: 0.7em;
text-align: center;
background: #BBB;
border: 1px solid #AAA;
}
A {text-decoration: none;}
A:hover {text-decoration: underline;}
UL {
text-align: left;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* the navigation bar, and all its blocks *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
NAV {
width: 200px;
float: left;
text-align: center;
margin-left: 16px;
}
NAV .blockbody {
font-size: 0.85em;
text-align: center;
overflow: hidden;
}
NAV TABLE {
width: 100%;
}
NAV INPUT {
width: 100%;
padding: 0px;
}
NAV SELECT {
width: 100%;
padding: 0px;
}
.more:after {
content: " >>>";
}
.tag_count:before {
content: "(";
}
.tag_count:after {
content: ")";
}
#paginator .blockbody {
background: none;
border: none;
box-shadow: none;
}
.pools_next_img {
display: block;
font-size: 77%;
text-align: right;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* the main part of each page *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
ARTICLE {
margin-left: 226px;
margin-right: 16px;
margin-top: 16px;
text-align: center;
height: 1%;
}
ARTICLE TABLE {
width: 90%;
margin: auto;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* specific page types *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#pagelist {
margin-top: 32px;
}
.thumb {
width: 226px;
display: inline-block;
zoom: 1; /* ie6 */
*display: inline; /* ie6 */
text-align: center;
margin-bottom: 8px;
}
.thumb IMG {
border: 1px solid #CCC;
background: #DDD;
padding: 8px;
border-radius: 12px; /* standard, webkit, opera */
-moz-border-radius: 12px; /* mozilla haven't committed yet */
box-shadow: 2px 2px 6px rgba(0,0,0,0.6); /* standard, opera */
-webkit-box-shadow: 2px 2px 6px rgba(0,0,0,0.6); /* webkit haven't committed yet */
-moz-box-shadow: 2px 2px 6px rgba(0,0,0,0.6); /* mozilla haven't committed yet */
}
.tagcategoryblock {
margin:0.6rem 1rem 0.6rem 0;
padding:0.5rem 0.6rem 0.7rem;
width:18rem;
border:1px solid #AAAAAA;
border-radius:0.25rem;
display:inline-block;
}
.tagcategoryblock table {
width:100%;
border-spacing:0;
}
.tagcategoryblock input, .tagcategoryblock span {
width:100%;
height:100%;
}
.tagcategoryblock td:first-child {
padding:0.3rem 0.7rem 0.4rem 0;
text-align:right;
width:40%;
}
.tagcategoryblock td:last-child {
width:60%;
}
.tagcategoryblock td:last-child span {
padding:0.24rem 0.7rem 0.5rem 0;
display:block;
}
.tagcategoryblock button {
width:100%;
margin-top:0.4rem;
padding:0.2rem 0.6rem;
}