metanohi/site/style.css

77 lines
937 B
CSS

body {
font-family: sans;
}
* {
margin: 0;
}
#body {
width: 800px;
margin: 0 auto;
}
#body header {
height: 100px;
background-color: rgba(0, 0, 0, 0.8);
}
#body header img {
width: 800px;
height: 100px;
}
#body nav {
background-color: #333333;
padding: 1px 0 5px 0;
}
#body nav ul {
list-style: none;
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;
}
#body nav a:link, #body nav a:visited, #body nav a:hover {
color: #51B7FF;
text-decoration: none;
}
#content {
padding: 10px;
background-color: rgba(0, 0, 0, 0.8);
color: #eeeeee;
}
p {
margin-top: 0.5em;
}
a:link, a:visited {
color: #5199FF;
text-decoration: none;
}
a:hover {
color: #51B7FF;
text-decoration: none;
}
#background div {
position: fixed;
top: 0;
width: 10%;
height: 100%;
z-index: -1;
}