background-image: url('/images/header_background.png');
background-size: auto 300px;
background-attachment: fixed;
- line-height: 1.45;
+ line-height: 1.45em;
+
+ font-family: Times, 'Times New Roman', serif;
}
header {
main {
background-color: white;
- padding: 1.414em;
+ padding: 1.414em 4.53em;
+ display: flex;
+ flex-flow: column;
+ align-items: center;
}
-h1, h2, h3, h4 {
- margin: 1.414em 0 0.5em;
+h1, h2, h3 {
font-weight: 400;
+ width: 100%;
+}
+h1 {
+ font-size: 2rem;
+ line-height: 1.05em;
+ max-width: 30rem;
+ margin: 0.5em 0 0.5em;
+ text-transform: uppercase;
+}
+h2, h3 {
+ max-width: 30rem;
+ font-size: 1rem;
+ margin: 2em 0;
}
-p, ul, ol, img {
+h2 { font-variant: small-caps; }
+h3 { font-style: italic; }
+
+ul, ol, img {
width: 100%;
margin: 1.414em 0;
max-width: 30em;
}
-ul, ol { margin-left: 1.414em; }
+p {
+ max-width: 30em;
+ text-align: justify;
+ text-indent: 1.5em;
+}
+
+hr + p,
+h1 + p,
+h2 + p,
+h3 + p {
+ text-indent: 0;
+}
-h1 { font-size: 3.998em; }
-h2 { font-size: 2.827em; }
-h3 { font-size: 1.999em; }
-h4 { font-size: 1.414em; }
+ul, ol { margin-left: 1.414em; }
code {
background-color: whitesmoke;
pre {
background-color: whitesmoke;
padding: 1em;
- max-width: 40em;
+ font-size: 1.231em;
+ max-width: 30em;
+ margin: 1.414em 0 1.414em -1em;
+}
+
+hr {
+ border: 0;
+ border-bottom: 1px solid #666;
+ width: 30em;
+ margin: 1.414em 0;
}
-footer {
- background-color: pink;
+hr.separator {
+ width: 100%;
+ border-bottom: 10px solid #666;
+}
+
+footer,
+footer a {
+ color: #fff;
+ background-color: blue;
+}
+footer p {
+ font-family: arial, sans-serif;
+ text-align: left;
+ text-indent: 0;
padding: 1.414em;
}
+
+/* Image and caption sttyles */
+
+p img {
+ margin-left: -1.125em;
+}
+
+hr + p img,
+h1 + p img,
+h2 + p img,
+h3 + p img {
+ margin-left: 0;
+}
+
+img {
+ width: 100%;
+ max-width: 30em;
+}
+
+img + em {
+ color: #999;
+ display: block;
+ margin: -1.414em 0 1.414em;
+ text-align: right;
+}
+
+/* Dark Mode Support */
+
+@media (prefers-color-scheme: dark) {
+ main {
+ background-color: black;
+ color: white;
+ }
+
+ code,
+ pre {
+ background-color: #444;
+ }
+
+ a {
+ color: #53FFFF;
+ }
+
+ a:visited {
+ color: #FF55FF;
+ }
+
+ hr.separator {
+ border-bottom: 10px solid #999;
+ }
+}