website/assets/styles/site.css

133 lines
2.9 KiB
CSS
Raw Normal View History

@import url('../fonts/fantastique-sans/stylesheet.css');
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* GENERAL *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
html {
box-sizing: border-box;
font-family: 'Fantasque Sans Mono', monospace;
text-transform: lowercase;
}
*, *:before, *:after {
box-sizing: inherit;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* PAGE *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
body {
width: 20rem;
margin: auto;
padding: 2rem 0.5rem;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* TEXT *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
h1 {
margin-top: 0;
margin-bottom: 0.3rem;
font-size: 4rem;
}
p, li {
font-size: 1.3rem;
}
2017-08-28 00:00:33 +02:00
a {
text-decoration: none;
color: inherit;
}
a:hover {
font-weight: bold;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* HEADER *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
header {
margin-bottom: 2rem;
}
header > img,
header > h1 {
display: inline-block;
vertical-align: middle;
}
header > img {
width: 4rem;
margin-right: 1rem;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* NAVBAR *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
nav {
margin-bottom: 2rem;
}
nav > ul {
display: block;
margin: 0;
padding: 0;
list-style: none;
}
nav > ul > li {
display: inline-block;
margin-right: 0.8rem;
2017-10-22 22:05:45 +02:00
color: #004405;
}
nav > ul > li:before {
content: "+";
margin-right: 0.3rem;
2017-09-03 12:52:31 +02:00
color: #000000;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* SECTION *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2017-08-28 00:00:33 +02:00
section {
margin-bottom: 2rem;
}
section:last-child {
margin-bottom: 0;
}
section > p {
margin: 0;
2017-08-28 00:00:33 +02:00
}
section > p > span {
padding: 0.1rem 0;
background: #000000;
2017-08-28 00:00:33 +02:00
box-shadow: 0.2rem 0 0 #000000, -0.2rem 0 0 #000000;
color: #ffffff;
}
2017-08-28 00:00:33 +02:00
section > p:first-child > span {
2017-10-22 22:04:50 +02:00
background: #004405;
box-shadow: 0.2rem 0 0 #004405, -0.2rem 0 0 #004405;
}
2017-09-14 18:20:52 +02:00
section > p > span.warning {
background: #8B0000;
box-shadow: 0.2rem 0 0 #8B0000, -0.2rem 0 0 #8B0000;
}