mirror of https://github.com/dirtbags/moth.git
147 lines
1.9 KiB
CSS
147 lines
1.9 KiB
CSS
/**** document ****/
|
|
|
|
html {
|
|
background: #222 url(grunge.png) repeat-x;
|
|
}
|
|
|
|
body {
|
|
font-family: sans-serif;
|
|
color: #fff;
|
|
margin: 50px 0 0 100px;
|
|
padding: 10px;
|
|
max-width: 700px;
|
|
}
|
|
|
|
/**** heading ****/
|
|
|
|
h1:first-child {
|
|
text-transform: lowercase;
|
|
font-size: 1.6em;
|
|
/* background-color: #222; */
|
|
/* opacity: 0.9; */
|
|
padding: 3px;
|
|
color: #2a2;
|
|
margin: 0 0 1em 70px;
|
|
}
|
|
|
|
h1:first-child:before {
|
|
color: #fff;
|
|
letter-spacing: -0.1em;
|
|
content: "Capture The Flag: ";
|
|
}
|
|
|
|
/*** left side bar ***/
|
|
|
|
#navigation {
|
|
position: fixed;
|
|
background: #222;
|
|
opacity: 0.9;
|
|
top: 80px;
|
|
left: 0px;
|
|
padding: 0;
|
|
}
|
|
|
|
#navigation ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
#navigation li a {
|
|
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;
|
|
}
|
|
|
|
#navigation li a:hover {
|
|
color: #f4f4f4;
|
|
background: #333;
|
|
border-right: 4px solid #2a2;
|
|
}
|
|
|
|
#navigation li .active {
|
|
color: #999;
|
|
background: #333;
|
|
border-right: 4px solid #444;
|
|
}
|
|
|
|
|
|
/**** 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 {
|
|
color: #999;
|
|
letter-spacing: -0.05em;
|
|
}
|
|
|
|
code, pre, .readme {
|
|
color: #fff;
|
|
background-color: #555;
|
|
margin: 1em;
|
|
}
|
|
|
|
th, td {
|
|
vertical-align: top;
|
|
}
|
|
|
|
p {
|
|
line-height: 1.4em;
|
|
margin-bottom: 20px;
|
|
color: #f4f4f4;
|
|
}
|
|
|
|
/**** special cases ****/
|
|
|
|
.wide {
|
|
max-width: inherit;
|
|
}
|
|
|
|
.scoreboard {
|
|
background: #222;
|
|
}
|
|
|
|
.scoreboard td {
|
|
height: 400px;
|
|
}
|
|
|
|
.solved {
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
table.pollster {
|
|
margin-left: 5em;
|
|
}
|
|
|
|
table.pollster td {
|
|
padding: 2px 1em 2px 5px;
|
|
}
|
|
|
|
table.pollster thead {
|
|
font-weight: bold;
|
|
}
|
|
|
|
|