aboutsummaryrefslogtreecommitdiff
path: root/assets/stylesheets
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2025-09-02 23:34:43 -0500
committerTim Keller <tjk@tjkeller.xyz>2025-09-02 23:34:43 -0500
commit1242c3e2a5293729360329f7ffc71c0886625f99 (patch)
tree15717902251022e84b22eec7b89f085fb6a7e792 /assets/stylesheets
parentb8ba7eb9a095929b21b2a9986378290611e6b59c (diff)
downloadhugo-theme-tjkbasic-1242c3e2a5293729360329f7ffc71c0886625f99.tar.xz
hugo-theme-tjkbasic-1242c3e2a5293729360329f7ffc71c0886625f99.zip
add essays css and adjust default line-height
Diffstat (limited to 'assets/stylesheets')
-rw-r--r--assets/stylesheets/style.css39
1 files changed, 39 insertions, 0 deletions
diff --git a/assets/stylesheets/style.css b/assets/stylesheets/style.css
index 2253b65..cfc04ae 100644
--- a/assets/stylesheets/style.css
+++ b/assets/stylesheets/style.css
@@ -7,6 +7,7 @@ body {
font-family: "Noto Serif", serif;
text-underline-offset: 2.25px;
overflow-x: hidden;
+ line-height: 1.35;
}
/* header */
@@ -94,6 +95,44 @@ a:hover {
text-decoration: underline;
}
+/* essays */
+.essay {
+ font-size: 1.15em;
+ margin-inline: auto;
+ max-width: 80ch;
+}
+
+.essay p {
+ text-indent: 4ch;
+ line-height: 1.6;
+}
+
+.essay blockquote {
+ margin-left: 6ch;
+ font-style: italic;
+}
+
+.essay blockquote p::before {
+ content: "“";
+ font-size: 1.5em;
+}
+
+.essay sup {
+ font-size: .6em;
+}
+
+.essay sup a::before { content: "[" }
+.essay sup a::after { content: "]" }
+
+/*.footnotes ol {
+ columns: 2 auto;
+ column-gap: 3em;
+}
+
+.footnotes ol li {
+ break-inside: avoid;
+}*/
+
/* images */
img, figcaption {
margin: auto;