2024-08-05 01:52:49 +00:00
|
|
|
/* general styling */
|
2024-03-20 01:33:14 +00:00
|
|
|
html {
|
|
|
|
font-family: monospace;
|
|
|
|
font-size: large;
|
|
|
|
background: linear-gradient(to bottom right, turquoise, teal);
|
|
|
|
min-height: 100%;
|
|
|
|
}
|
|
|
|
|
2024-05-28 01:31:44 +00:00
|
|
|
header,
|
|
|
|
footer,
|
|
|
|
article,
|
2024-08-16 05:19:53 +00:00
|
|
|
main nav {
|
2024-05-27 23:35:52 +00:00
|
|
|
border: 3px black solid;
|
|
|
|
background: turquoise;
|
2024-05-27 21:56:31 +00:00
|
|
|
margin: 5px;
|
2024-06-22 20:28:08 +00:00
|
|
|
box-shadow: 2px 2px 2px;
|
2024-05-28 01:31:44 +00:00
|
|
|
}
|
|
|
|
|
2024-08-05 01:52:49 +00:00
|
|
|
/* header and footer */
|
2024-05-28 01:31:44 +00:00
|
|
|
header {
|
2024-03-20 01:33:14 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2024-08-05 01:11:17 +00:00
|
|
|
min-width: min-content;
|
2024-03-20 01:33:14 +00:00
|
|
|
}
|
|
|
|
|
2024-05-27 20:24:03 +00:00
|
|
|
footer {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2024-03-20 01:33:14 +00:00
|
|
|
#headerimg {
|
2024-05-27 23:35:52 +00:00
|
|
|
border-right: 3px solid black;
|
2024-08-16 01:00:43 +00:00
|
|
|
width: 128px;
|
2024-10-05 23:57:50 +00:00
|
|
|
background-image: url("/images/watching.jpg");
|
2024-08-16 02:39:11 +00:00
|
|
|
flex: initial;
|
|
|
|
align-self: stretch;
|
2024-03-20 01:33:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#headermain {
|
|
|
|
text-align: center;
|
2024-05-28 01:25:00 +00:00
|
|
|
flex: auto;
|
2024-03-20 01:33:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#headermain a {
|
|
|
|
color: blue;
|
|
|
|
text-decoration: none;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
#headermain a:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
#homelink {
|
|
|
|
font-size: xx-large;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2024-08-16 05:19:53 +00:00
|
|
|
#headermain nav {
|
2024-03-20 01:33:14 +00:00
|
|
|
font-size: x-large;
|
|
|
|
}
|
|
|
|
|
2024-05-27 23:30:56 +00:00
|
|
|
nav ul,
|
|
|
|
footer ul {
|
2024-03-20 01:33:14 +00:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2024-05-27 23:30:56 +00:00
|
|
|
nav ul li,
|
|
|
|
footer ul li {
|
2024-03-20 01:33:14 +00:00
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2024-05-27 23:30:56 +00:00
|
|
|
nav ul li + li::before,
|
|
|
|
footer ul li + li::before {
|
2024-03-20 01:33:14 +00:00
|
|
|
content: " | ";
|
|
|
|
}
|
|
|
|
|
2024-08-05 01:52:49 +00:00
|
|
|
/* main content */
|
2024-08-16 05:19:53 +00:00
|
|
|
main nav {
|
2024-03-20 01:33:14 +00:00
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
article {
|
2024-03-20 01:33:15 +00:00
|
|
|
padding: 20px;
|
2024-03-20 01:33:14 +00:00
|
|
|
text-align: justify;
|
|
|
|
hyphens: auto;
|
2024-08-05 02:17:39 +00:00
|
|
|
/* 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 */
|
2024-05-28 01:59:40 +00:00
|
|
|
display: flow-root;
|
2024-03-20 01:33:14 +00:00
|
|
|
}
|
|
|
|
|
2024-03-20 01:33:14 +00:00
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2024-05-27 14:37:59 +00:00
|
|
|
ul {
|
|
|
|
padding-left: 2ch;
|
|
|
|
}
|
|
|
|
|
|
|
|
ol {
|
|
|
|
padding-left: 3ch;
|
|
|
|
}
|
|
|
|
|
|
|
|
ol ol {
|
|
|
|
list-style: lower-alpha
|
|
|
|
}
|
|
|
|
|
|
|
|
ol ol ol {
|
|
|
|
list-style: lower-roman
|
|
|
|
}
|
|
|
|
|
2024-05-28 01:59:40 +00:00
|
|
|
#usbimg {
|
2024-05-28 02:00:27 +00:00
|
|
|
width: 256px;
|
2024-08-16 01:53:54 +00:00
|
|
|
height: auto;
|
2024-05-28 02:00:27 +00:00
|
|
|
max-width: 100%;
|
2024-05-28 01:59:40 +00:00
|
|
|
margin-right: 10px;
|
2024-05-28 02:33:47 +00:00
|
|
|
margin-bottom: 10px;
|
2024-05-28 01:59:40 +00:00
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2024-03-20 01:33:14 +00:00
|
|
|
@media screen and (min-width: 80ch) {
|
2024-08-05 02:17:39 +00:00
|
|
|
/* to avoid zoom issues, grid layout is only used when mid-width is
|
|
|
|
* large enough */
|
2024-05-27 22:46:17 +00:00
|
|
|
body {
|
|
|
|
display: grid;
|
|
|
|
place-content: center;
|
|
|
|
}
|
|
|
|
|
2024-03-20 01:33:14 +00:00
|
|
|
main {
|
2024-08-05 02:17:39 +00:00
|
|
|
/* min-width is set due to zoom issues */
|
2024-05-27 22:16:06 +00:00
|
|
|
min-width: 100%;
|
2024-03-20 01:33:14 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: start;
|
|
|
|
}
|
|
|
|
|
2024-08-16 05:19:53 +00:00
|
|
|
main nav {
|
2024-03-20 01:33:14 +00:00
|
|
|
flex: auto;
|
|
|
|
position: sticky;
|
|
|
|
top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
article {
|
2024-08-05 02:17:39 +00:00
|
|
|
/* width is set for the about page */
|
2024-05-27 22:16:06 +00:00
|
|
|
width: 80ch;
|
2024-05-28 01:25:00 +00:00
|
|
|
max-width: 80ch;
|
2024-03-20 01:33:14 +00:00
|
|
|
flex: auto;
|
|
|
|
}
|
|
|
|
}
|