website-pelican/themes/2017/static/css/style.css
2020-10-21 13:03:31 +02:00

186 lines
3.4 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: 100%;
padding: 2rem 1rem;
}
@media (min-width: 426px) {
body {
width: 40vw;
margin: 2rem auto;
padding: 0;
}
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* TEXT *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
h1 {
font-size: 2rem;
}
h2 {
margin-top: 1.5rem;
margin-bottom: 0;
}
p, li {
font-size: 1.2rem;
}
a {
text-decoration: none;
color: #378ab4;
}
a:hover {
font-weight: bold;
background-color: #378ab4;
color: #ffffff;
}
h1 a:hover {
font-weight: bold;
background-color: #000000;
}
h1 a {
color: #000000;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* HEADER *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
header {
width: 100%;
margin: 2rem auto 2rem auto;
}
.sitebanner img,
.sitebanner h1 {
display: inline-block;
vertical-align: middle;
font-size: 4rem;
margin: 0;
}
.sitebanner h1 a {
text-decoration: none;
color: #000000;
background-color: transparent;
}
.sitebanner > img {
width: 4rem;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* 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: #378ab4;
}
nav > ul > li:before {
content: "+";
margin-right: 0.3rem;
color: #000000;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* SECTION *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
section {
width: 100%;
margin: 2rem auto;
}
section:last-child {
margin-bottom: 0;
}
section > p {
margin-top: 0.5rem;
margin-bottom: 0.5rem;
}
section > p > span {
padding: 0.1rem 0;
background: #000000;
box-shadow: 0 0 0 #000000, 0 0 0 #000000;
color: #ffffff;
}
section > p:first-child > span {
background: #378ab4;
box-shadow: 0 0 0 #378ab4, 0 0 0 #378ab4;
}
section > img {
width: 100%;
height: auto;
}
.sitebanner {
position: relative;
top: 20px;
}
.siteimage {
float: left;
width: 120px;
}
#menu li {
display: inline;
}
#post-list {
margin-bottom: 1em;
margin-top: 1em;
}
#banner {
height: 85px;
}