83 lines
1.1 KiB
CSS
83 lines
1.1 KiB
CSS
/* general styling */
|
|
html {
|
|
font-family: monospace;
|
|
font-size: large;
|
|
background: fixed linear-gradient(to bottom right, turquoise, teal);
|
|
}
|
|
|
|
body {
|
|
background: turquoise;
|
|
max-width: 80ch;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* padding */
|
|
header,
|
|
nav,
|
|
article,
|
|
footer {
|
|
padding-left: 1rem;
|
|
padding-right: 1rem;
|
|
}
|
|
|
|
header {
|
|
padding-top: 1rem;
|
|
}
|
|
|
|
footer {
|
|
padding-bottom: 1rem;
|
|
}
|
|
|
|
/* header and footer */
|
|
#homelink {
|
|
color: blue;
|
|
text-decoration: none;
|
|
text-transform: uppercase;
|
|
font-size: xx-large;
|
|
font-weight: bold;
|
|
}
|
|
|
|
#homelink:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
#copyright {
|
|
font-size: small;
|
|
text-align: center;
|
|
}
|
|
|
|
/* main content */
|
|
article {
|
|
text-align: justify;
|
|
hyphens: auto;
|
|
/* about page is janky without this; see
|
|
* https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Floats#clearing_boxes_wrapped_around_a_float */
|
|
display: flow-root;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
text-align: left;
|
|
}
|
|
|
|
ul {
|
|
padding-left: 2ch;
|
|
}
|
|
|
|
ol {
|
|
padding-left: 3ch;
|
|
}
|
|
|
|
ol ol {
|
|
list-style: lower-alpha
|
|
}
|
|
|
|
ol ol ol {
|
|
list-style: lower-roman
|
|
}
|
|
|
|
@media screen and (min-width: 80ch) {
|
|
body {
|
|
border: 3px black solid;
|
|
}
|
|
}
|