137 lines
2.0 KiB
CSS
137 lines
2.0 KiB
CSS
@import url('fonts/kaushanscript/kaushanscript.css');
|
|
@import url('fonts/bainsley/bainsley.css');
|
|
|
|
html {
|
|
background-color: khaki;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
min-height: 400px;
|
|
background: linear-gradient(to bottom, lightgreen -50px, khaki 400px);
|
|
background-repeat: no-repeat;
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
header {
|
|
text-align: center;
|
|
padding-top: 10px;
|
|
height: 2.25em;
|
|
font-family: kaushanscript, serif;
|
|
font-size: 3em;
|
|
background-image: url('img/mad-logo.png');
|
|
background-repeat: no-repeat;
|
|
background-position: top center;
|
|
background-size: contain;
|
|
a:link, a:visited {
|
|
color: brown;
|
|
display: inline-block;
|
|
margin-top: 1em;
|
|
background: linear-gradient(to bottom, brown, yellow);
|
|
background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
}
|
|
|
|
nav {
|
|
font-family: bainsley, sans;
|
|
text-align: center;
|
|
ul {
|
|
list-style-type: none;
|
|
padding-left: 0;
|
|
li {
|
|
display: inline-block;
|
|
margin-right: 1em;
|
|
a:link, a:visited {
|
|
color: blue;
|
|
}
|
|
a:hover {
|
|
color: darkblue;
|
|
}
|
|
}
|
|
li:last-child {
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
section {
|
|
max-width: calc(800px + 2 * 10px);
|
|
margin: 0 auto;
|
|
font-family: bainsley, sans;
|
|
}
|
|
|
|
article {
|
|
padding: 0 10px 50px 10px;
|
|
}
|
|
|
|
h1, h2, h3 {
|
|
font-family: kaushanscript;
|
|
margin: 0;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2em;
|
|
clear: both;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 1em;
|
|
}
|
|
|
|
p, ul, ol {
|
|
margin-top: 0;
|
|
}
|
|
|
|
p.imagetext {
|
|
font-style: italic;
|
|
text-align: right;
|
|
font-size: 0.85em;
|
|
color: #444444;
|
|
margin-bottom: 0.1em;
|
|
}
|
|
|
|
p.prevnext {
|
|
margin: 0;
|
|
a {
|
|
display: inline-block;
|
|
}
|
|
a.prev {
|
|
float: left;
|
|
}
|
|
a.prev:before {
|
|
content: '↫ ';
|
|
}
|
|
a.next {
|
|
float: right;
|
|
}
|
|
a.next:after {
|
|
content: ' ↬';
|
|
}
|
|
}
|
|
|
|
p.date {
|
|
margin: 0;
|
|
}
|
|
|
|
p.image {
|
|
margin: 0;
|
|
img {
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
|
|
#julekalender {
|
|
height: 100px;
|
|
background-image: url('img/julekalender.png');
|
|
background-position: center;
|
|
}
|