website/style.css
2017-06-05 18:12:07 +02:00

94 lines
1.4 KiB
CSS

@font-face {
font-family: 'FantasqueSansMonoRegular';
src: url('FantasqueSansMono-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
html, body {
font-family: monospace;
font-size: 20px;
font-family: 'FantasqueSansMonoRegular';
font-weight: normal;
font-style: normal;
}
h1 {
font-size: 3.5rem;
}
a:link, a:visited {
text-decoration: none;
color: #04a;
}
a:link:active, a:visited:active,
a:link:hover, a:visited:hover {
text-decoration: underline;
}
body > section {
margin: 2rem auto 2rem auto;
width: 20rem;
}
nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
}
nav ul li {
padding: 0 0.8rem 0 0;
}
nav ul li:after {
content: "";
font-size: 1.3rem;
line-height: 1rem;
padding-left: 0.05rem;
}
nav ul li:before {
content: "+";
font-size: 1.3rem;
line-height: 1rem;
padding-right: 0.2rem;
}
header {
display: block;
position: relative;
width: 20rem;
margin: 2rem auto 2rem auto;
}
hgroup {
display: block;
clear: both;
margin-bottom: 2rem;
}
hgroup h1 {
margin-left: 1rem;
display: inline;
text-transform: lowercase;
}
img.logo {
width: 16%;
float: left;
}
section.info > p:first-child {
background: #04a;
}
section.info > p {
display: inline-block;
margin: 0.1em 0;
background: #000;
color: #fff;
}