metanohi/site/style.css

130 lines
1.4 KiB
CSS
Raw Normal View History

2016-08-26 12:06:49 +02:00
body {
font-family: sans;
}
* {
margin: 0;
}
#body {
2016-09-02 11:47:33 +02:00
width: 850px;
2016-08-26 12:06:49 +02:00
margin: 0 auto;
}
#body header {
height: 100px;
background-color: rgba(0, 0, 0, 0.8);
}
#body header img {
2016-09-02 11:47:33 +02:00
width: 850px;
2016-08-26 12:06:49 +02:00
height: 100px;
}
#body nav {
background-color: #333333;
padding: 1px 0 5px 0;
}
#body nav ul {
list-style: none;
2016-08-30 18:57:51 +02:00
margin: 0;
2016-08-26 12:06:49 +02:00
padding: 0;
text-align: center;
font-size: 24px;
}
#body nav ul li {
display: inline;
margin-left: 25px;
}
#body nav ul li:first-child {
margin-left: 0;
}
2016-08-26 22:26:15 +02:00
#body nav a:link, #body nav a:visited, #body nav a:hover {
2016-08-26 12:06:49 +02:00
color: #51B7FF;
text-decoration: none;
}
#content {
2016-08-30 18:57:51 +02:00
padding: 15px;
2016-08-26 12:06:49 +02:00
background-color: rgba(0, 0, 0, 0.8);
color: #eeeeee;
}
2016-09-02 11:47:33 +02:00
h1 {
margin-top: 1.5em;
}
h1:first-child {
margin-top: 0;
}
2016-08-30 18:57:51 +02:00
h2 {
margin-top: 1.2em;
}
h3 {
margin-top: 1em;
}
2016-08-26 12:06:49 +02:00
p {
2016-08-30 18:57:51 +02:00
margin-top: 0.8em;
}
2016-09-02 11:47:33 +02:00
.figure {
2016-08-30 18:57:51 +02:00
margin-top: 0.8em;
2016-09-02 11:47:33 +02:00
text-align: center;
}
.caption {
margin-top: 0;
font-size: 0.8em;
font-style: italic;
2016-08-30 18:57:51 +02:00
}
2017-11-06 00:00:40 +01:00
ul, ol, dl {
2016-09-02 11:47:33 +02:00
margin-top: 0.8em;
}
dt {
font-style: italic;
}
dd {
margin-left: 1.5em;
}
2016-08-30 18:57:51 +02:00
pre {
margin-top: 0.8em;
border: 1px solid white;
padding: 10px;
overflow-x: auto;
}
code {
font-size: 16px;
2016-09-02 11:47:33 +02:00
white-space: pre;
2016-08-26 12:06:49 +02:00
}
2016-08-26 22:26:15 +02:00
a:link, a:visited {
color: #5199FF;
text-decoration: none;
}
a:hover {
color: #51B7FF;
text-decoration: none;
}
2016-08-26 12:06:49 +02:00
#background div {
position: fixed;
top: 0;
width: 10%;
height: 100%;
z-index: -1;
}