mad/style.css

107 lines
1.6 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: 2em;
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;
}
h1, h2, h3 {
font-family: kaushanscript;
margin: 0;
}
h1 {
font-size: 2em;
}
h2 {
font-size: 1.5em;
}
h3 {
font-size: 1em;
}
p {
margin-top: 0;
}
p.imagetext {
font-style: italic;
text-align: right;
font-size: 0.85em;
color: #444444;
margin-bottom: 0.1em;
}
p.image {
margin: 0;
img {
max-width: 100%;
}
}