quest/includes/styles.html

50 lines
868 B
HTML

<style>
@media only screen and (min-width: 1200px) {
nav {
position: absolute;
top: 1rem;
left: 2rem;
}
}
html {
line-height: 1.5;
font-family: Georgia, serif;
font-size: 20px;
color: #1a1a1a;
background-color: #fdfdfd;
}
body {
padding-top: 0;
}
header {
text-align: inherit;
}
h1 {
margin: 0;
display: inline-block;
background-image: linear-gradient(to left, violet, indigo, blue, green, yellow, orange, red);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-size: 5rem;
}
h2 {
font-size: 2rem;
border-bottom: solid 1px black;
margin-top: 3rem;
letter-spacing: 5px;
font-variant: small-caps;
}
h3 {
font-size: 1.6rem;
font-weight: 100;
letter-spacing: 1px;
}
summary p {
display: inline;
}
li:has(> input[checked]) {
text-decoration: line-through;
color: lightgray;
}
</style>