website/assets/styles/site.css

123 lines
2.4 KiB
CSS

@import url('../fonts/fantastique-sans/stylesheet.css');
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* GENERAL *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
html {
box-sizing: border-box;
font-family: 'Fantasque Sans Mono', monospace;
}
*, *:before, *:after {
box-sizing: inherit;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* PAGE *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
body {
width: 20rem;
margin: auto;
padding: 2rem 0.5rem;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* 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;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* TEXT *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
h1 {
margin-top: 0;
margin-bottom: 0.3rem;
font-size: 4rem;
}
p, li {
font-size: 1.3rem;
}
p {
margin-bottom: 2rem;
}
p > * {
padding: 0;
}
a {
text-decoration: none;
color: inherit;
}
a:hover {
font-weight: bold;
}
p > a {
color: #ffffff;
background: #004405;
padding-bottom: 0.1rem;
}
p > strong {
background: #000000;
color: #ffffff;
margin: 0;
padding: 0.1rem 0;
font-weight: normal;
}