mad/style.css

154 lines
2.2 KiB
CSS
Raw Permalink Normal View History

@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;
2024-10-05 19:46:29 +02:00
height: 2.25em;
font-family: kaushanscript, serif;
2024-10-05 19:30:55 +02:00
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 {
2024-10-05 19:15:20 +02:00
max-width: calc(800px + 2 * 10px);
margin: 0 auto;
font-family: bainsley, sans;
}
article {
2024-10-16 22:09:51 +02:00
padding: 0 10px 50px 10px;
2024-10-05 19:36:17 +02:00
}
2024-10-05 19:36:30 +02:00
h1, h2, h3 {
font-family: kaushanscript;
margin: 0;
}
h1 {
font-size: 2em;
2024-10-16 22:09:51 +02:00
clear: both;
2024-10-05 19:36:30 +02:00
}
h2 {
font-size: 1.5em;
}
h3 {
font-size: 1em;
}
2024-10-05 19:37:59 +02:00
p, ul, ol {
2024-10-05 19:36:30 +02:00
margin-top: 0;
}
2024-10-05 19:15:20 +02:00
p.imagetext {
font-style: italic;
text-align: right;
font-size: 0.85em;
color: #444444;
margin-bottom: 0.1em;
}
2024-10-16 22:09:51 +02:00
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;
}
2024-10-05 19:15:20 +02:00
p.image {
margin: 0;
2024-11-27 22:12:12 +01:00
}
p img {
max-width: 100%;
2024-10-05 19:15:20 +02:00
}
2024-11-10 12:09:37 +01:00
2024-11-27 20:32:26 +01:00
blockquote {
background-color: #dddd31;
padding: 10px;
margin: 0;
p {
margin: 0;
}
em {
display: block;
text-align: right;
color: grey;
}
}
2024-11-10 12:09:37 +01:00
#julekalender {
height: 100px;
background-image: url('img/julekalender.png');
background-position: center;
}