Files
2026-11-29 11:50:04 +01:00

139 lines
2.1 KiB
CSS

@import url('fonts/latinmodernsans/latinmodernsans.css');
@import url('fonts/stardate_81316/stardate_81316.css');
html {
background-color: white;
}
body {
margin: 0;
min-height: 400px;
background: linear-gradient(to bottom, yellow 250px, white 350px);
background-repeat: no-repeat;
font-size: 1.3em;
}
a {
text-decoration: none;
}
header {
font-style: italic;
text-align: center;
padding-top: 10px;
height: 2.25em;
font-family: stardate_81316, serif;
font-size: 3em;
position: relative;
background-image: url('img/neelix-logo.png');
background-repeat: repeat-x;
background-position: top center;
background-size: contain;
a:link, a:visited {
color: azure;
display: inline-block;
background: linear-gradient(to bottom, azure, silver);
background-clip: text;
-webkit-text-fill-color: transparent;
}
}
nav {
font-family: latinmodernsans, sans;
text-align: center;
ul {
list-style-type: none;
padding-left: 0;
li {
display: inline-block;
padding: 0 0.5em;
a:link, a:visited {
color: blue;
}
a:hover {
color: darkblue;
}
border-width: 0 2px 0 0;
border-style: solid;
border-image: linear-gradient(to bottom, black, yellow);
border-image-slice: 1;
}
li:last-child {
margin-right: 0;
border-right: none;
}
}
}
section {
max-width: calc(800px + 2 * 10px);
margin: 0 auto;
font-family: latinmodernsans, sans;
}
article {
padding: 0 10px 50px 10px;
}
h1, h2, h3 {
font-family: stardate_81316;
margin: 0;
}
h1 {
font-size: 2em;
clear: both;
}
h2 {
font-size: 1.5em;
}
h3 {
font-size: 1em;
}
p, ul, ol {
margin-top: 0;
}
hr {
border: none;
text-align: center;
font-size: 2em;
}
hr:after {
content: '∽';
}
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 {
font-style: italic;
}
#julekalender {
height: 100px;
background-image: url('img/julekalender.png');
background-position: center;
}