website/style.css

94 lines
1.4 KiB
CSS
Raw Normal View History

2017-06-05 18:12:07 +02:00
@font-face {
font-family: 'FantasqueSansMonoRegular';
src: url('FantasqueSansMono-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
html, body {
2017-05-21 15:43:38 +02:00
font-family: monospace;
2017-06-05 18:12:07 +02:00
font-size: 20px;
font-family: 'FantasqueSansMonoRegular';
font-weight: normal;
font-style: normal;
2017-05-20 01:48:17 +02:00
}
2017-05-22 16:56:43 +02:00
h1 {
2017-06-05 18:12:07 +02:00
font-size: 3.5rem;
2017-05-20 01:48:17 +02:00
}
2017-05-22 16:56:43 +02:00
a:link, a:visited {
text-decoration: none;
2017-06-06 22:36:13 +02:00
color: #026262;
2017-05-20 01:48:17 +02:00
}
2017-05-22 16:56:43 +02:00
a:link:active, a:visited:active,
a:link:hover, a:visited:hover {
text-decoration: underline;
2017-05-20 01:48:17 +02:00
}
2017-05-22 16:56:43 +02:00
body > section {
margin: 2rem auto 2rem auto;
width: 20rem;
2017-05-20 01:48:17 +02:00
}
2017-06-05 18:12:07 +02:00
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;
}
2017-05-22 16:56:43 +02:00
img.logo {
2017-06-05 18:12:07 +02:00
width: 16%;
float: left;
}
section.info > p:first-child {
2017-06-06 22:36:13 +02:00
background: #026262;
2017-05-20 01:48:17 +02:00
}
2017-05-22 16:56:43 +02:00
section.info > p {
2017-06-05 18:12:07 +02:00
display: inline-block;
2017-06-06 22:36:13 +02:00
margin: 0;
2017-06-05 18:12:07 +02:00
background: #000;
color: #fff;
2017-05-20 01:48:17 +02:00
}