website/assets/styles/site.css

144 lines
2.9 KiB
CSS
Raw Normal View History

@import url('../fonts/fantastique-sans/stylesheet.css');
2018-04-20 08:47:40 +02:00
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* GENERAL *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
html {
box-sizing: border-box;
font-family: 'Fantasque Sans Mono', monospace;
text-transform: lowercase;
}
*, *:before, *:after {
box-sizing: inherit;
}
2018-04-20 08:47:40 +02:00
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* PAGE *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
body {
width: 100%;
}
2018-04-20 08:47:40 +02:00
main {
2018-06-08 14:06:20 +02:00
width: 100%;
padding: 2rem 1rem;
}
@media (min-width: 426px) {
main {
width: 29vw;
margin: 2rem auto;
2018-06-08 14:11:11 +02:00
padding: 0;
2018-06-08 14:06:20 +02:00
}
2018-04-20 08:47:40 +02:00
}
2018-04-20 08:47:40 +02:00
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* TEXT *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
h1 {
margin: 0;
font-size: 4rem;
}
p, li {
font-size: 1.3rem;
}
a {
text-decoration: none;
color: inherit;
2017-11-02 21:03:03 +01:00
}
a:hover {
font-weight: bold;
2017-11-02 21:03:03 +01:00
}
2018-04-20 08:47:40 +02:00
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* HEADER *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
header {
width: 100%;
margin: 2rem auto 2rem auto;
}
header > img,
header > h1 {
display: inline-block;
vertical-align: middle;
}
header > img {
width: 4rem;
}
2018-04-20 08:47:40 +02:00
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* 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-11-02 21:03:03 +01:00
color: #378ab4;
}
nav > ul > li:before {
content: "+";
margin-right: 0.3rem;
2017-09-03 12:52:31 +02:00
color: #000000;
}
2018-04-20 08:47:40 +02:00
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* SECTION *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
section {
2018-06-08 14:11:11 +02:00
width: 100%;
margin: 2rem auto;
}
section:last-child {
margin-bottom: 0;
2017-10-25 23:30:35 +02:00
}
section > p {
margin: 0;
2017-10-25 23:30:35 +02:00
}
section > p > span {
padding: 0.1rem 0;
2017-10-25 23:30:35 +02:00
background: #000000;
box-shadow: 0 0 0 #000000, 0 0 0 #000000;
2017-10-25 23:30:35 +02:00
color: #ffffff;
2017-11-02 21:03:03 +01:00
}
section > p:first-child > span {
background: #378ab4;
box-shadow: 0 0 0 #378ab4, 0 0 0 #378ab4;
}
section > img {
width: 100%;
height: auto;
2017-11-02 21:03:03 +01:00
}