tanks/www/style.css

209 lines
2.7 KiB
CSS
Raw Normal View History

2010-07-20 15:39:10 -06:00
/**** document ****/
html {
background: #222 url(grunge.png) repeat-x;
}
body {
font-family: sans-serif;
color: #fff;
padding: 10px;
}
/**** heading ****/
h1:first-child {
text-transform: lowercase;
font-size: 1.6em;
color: #2a2;
2024-11-26 15:35:25 -07:00
border-bottom: #2a2 solid 2px;
2010-07-20 15:39:10 -06:00
}
/*** left side bar ***/
2010-07-22 18:08:55 -06:00
nav {
2010-07-20 15:39:10 -06:00
position: absolute;
background: #222;
opacity: 0.9;
top: 80px;
left: 0px;
padding: 0;
}
2010-07-22 18:08:55 -06:00
nav h2 {
2010-07-20 15:39:10 -06:00
font-size: 100%;
border-bottom: 2px solid #444;
}
2010-07-22 18:08:55 -06:00
nav ul {
2010-07-20 15:39:10 -06:00
list-style: none;
padding: 0;
margin: 0;
}
2010-07-22 18:08:55 -06:00
nav li a {
2010-07-20 15:39:10 -06:00
display: block;
height: 25px;
width: 90px;
padding: 5px;
margin: 5px;
background: inherit;
border-right: 4px solid #444;
color: #999;
text-transform: lowercase;
font-size: 0.9em;
}
2010-07-22 18:08:55 -06:00
nav li a:hover {
2010-07-20 15:39:10 -06:00
color: #f4f4f4;
background: #333;
border-right: 4px solid #2a2;
}
2010-07-22 18:08:55 -06:00
nav li .active {
2010-07-20 15:39:10 -06:00
color: #999;
background: #333;
border-right: 4px solid #444;
}
2024-11-26 15:35:25 -07:00
/**** designer ****/
#upload fieldset {
display: flex;
flex-wrap: wrap;
gap: 2em;
align-items: flex-start;
}
#upload [name="program"] {
min-width: 25em;
min-height: 15em;
}
#upload fieldset fieldset {
border-color: #666;
}
#preview {
background: #333;
display: flex;
justify-content: center;
}
2010-07-20 15:39:10 -06:00
/**** body ****/
a img {
border: 0px;
}
a {
text-decoration: none;
color: #2a2;
font-weight: bold;
}
a:hover {
color: #fff;
background: #2a2;
font-weight: bold;
}
h1, h2, h3 {
2024-11-26 18:09:28 -07:00
background-color: #222a;
2010-07-20 15:39:10 -06:00
color: #999;
letter-spacing: -0.05em;
clear: both;
}
.readme {
color: #fff;
background-color: #555;
margin: 1em;
}
pre {
color: #fff;
background-color: #222;
border: solid #ccc 2px;
padding: 0.25em;
}
p {
line-height: 1.4em;
margin-bottom: 20px;
color: #f4f4f4;
}
hr {
border: 1px solid #444;
}
dt {
white-space: pre;
background-color: #333;
padding: 5px;
border: 2px solid green;
border-bottom: none;
font-weight: bold;
}
dd {
border: 2px solid green;
margin: 0px;
padding: 5px;
background-color: #282828;
}
/**** special cases ****/
.wide {
max-width: inherit;
}
.figure {
margin: 0.5em 1em;
float: right;
font-size: small;
text-align: center;
caption-side: bottom;
}
.left {
float: left;
}
.scoreboard {
background: #222;
}
.scoreboard td {
height: 400px;
}
#battlefield {
border: 2px solid green;
}
2024-12-04 18:39:55 -07:00
table {
2024-11-26 17:52:30 -07:00
border-collapse: collapse;
2010-07-20 15:39:10 -06:00
}
2024-12-04 18:39:55 -07:00
table td {
2024-11-26 17:52:30 -07:00
padding: 0.4em 1em;
2010-07-20 15:39:10 -06:00
}
2024-12-04 18:39:55 -07:00
table tr:nth-child(even) {
2024-11-26 17:52:30 -07:00
background-color: #343;
2010-07-20 15:39:10 -06:00
}
2010-07-20 22:19:06 -06:00
.swatch {
color: #000000;
}
2014-07-30 11:44:27 -06:00
.ui-slider-tick-mark {
display: inline-block;
width: 2px;
height: 100%;
position: absolute;
}