moth/packages/mcp/www/ctf.css

169 lines
1.9 KiB
CSS
Raw Normal View History

2010-09-09 15:14:39 -06:00
/* green phosphor: #2a4 */
2011-03-13 21:46:56 -06:00
/**** Color Scheme ****/
html {
2011-03-13 21:46:56 -06:00
background: #112 url(smoke.jpg) no-repeat;
background-size: contain;
}
body, h1:first-child:before {
color: #ddc;
}
h1, h2, h3 {
color: #1dd;
}
2011-03-13 21:46:56 -06:00
a {
color: #f80;
}
a:hover {
color: #112;
background-color: #f80;
}
.readme, pre {
background-color: #333;
}
/**** document ****/
body {
font-family: sans-serif;
padding: 10px;
max-width: 700px;
}
/**** heading ****/
h1:first-child {
text-transform: lowercase;
font-size: 1.6em;
padding: 3px;
margin: 0 0 1em 70px;
}
h1:first-child:before {
2010-09-09 15:14:39 -06:00
letter-spacing: -0.1em;
2012-02-02 16:51:19 -07:00
content: "Tracer FIRE: ";
}
/**** body ****/
a img {
border: 0px;
}
a {
text-decoration: underline;
}
h1, h2, h3 {
letter-spacing: -0.05em;
}
.readme {
margin: 1em;
}
pre {
2010-09-09 15:14:39 -06:00
border: solid #ddc 2px;
padding: 0.25em;
}
2010-03-03 15:22:50 -07:00
th {
vertical-align: top;
2010-03-03 15:22:50 -07:00
text-align: center;
}
td {
vertical-align: top;
text-align: left;
}
dt {
font-weight: bold;
}
p {
line-height: 1.4em;
margin-bottom: 20px;
}
hr {
2010-09-09 15:14:39 -06:00
border: 1px solid #ddc;
}
2010-09-09 15:14:39 -06:00
/*** navigation bar ***/
2010-09-09 15:14:39 -06:00
nav h2 {
display: none;
2010-09-09 15:14:39 -06:00
}
nav ul {
list-style: none;
text-align: center;
2010-09-09 15:14:39 -06:00
}
nav li {
display: inline;
2010-09-09 15:14:39 -06:00
}
nav li a {
2010-09-09 15:14:39 -06:00
text-transform: lowercase;
font-size: 0.9em;
}
nav li + li:before {
content: " | ";
2010-09-09 15:14:39 -06:00
}
/**** special cases ****/
.wide {
max-width: inherit;
}
2010-09-09 15:14:39 -06:00
.figure {
margin: 0.5em 1em;
float: right;
font-size: small;
text-align: center;
}
2012-02-02 16:51:19 -07:00
/* Scoreboard stuff */
.scoreboard, .scoreboard body {
height: 100%;
margin: 0;
padding: 0;
max-width: none;
}
#scoreboard {
height: 60%;
font-size: 75%;
}
#scoreboard td {
2012-02-02 16:51:19 -07:00
height: 100%;
}
#chart {
height: 30%;
width: 100%;
}
2012-02-02 16:51:19 -07:00
/* Tanks stuff */
#battlefield {
border: 2px solid green;
}
.solved {
text-decoration: line-through;
}