133 lines
2.9 KiB
CSS
133 lines
2.9 KiB
CSS
@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;
|
|
}
|
|
|
|
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;
|
|
color: #004405;
|
|
}
|
|
|
|
nav > ul > li:before {
|
|
content: "+";
|
|
margin-right: 0.3rem;
|
|
color: #000000;
|
|
}
|
|
|
|
|
|
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
* SECTION *
|
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
|
|
section {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
section:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
section > p {
|
|
margin: 0;
|
|
}
|
|
|
|
section > p > span {
|
|
padding: 0.1rem 0;
|
|
background: #000000;
|
|
box-shadow: 0.2rem 0 0 #000000, -0.2rem 0 0 #000000;
|
|
color: #ffffff;
|
|
}
|
|
|
|
section > p:first-child > span {
|
|
background: #004405;
|
|
box-shadow: 0.2rem 0 0 #004405, -0.2rem 0 0 #004405;
|
|
}
|
|
|
|
section > p > span.warning {
|
|
background: #8B0000;
|
|
box-shadow: 0.2rem 0 0 #8B0000, -0.2rem 0 0 #8B0000;
|
|
}
|