aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimmy Keller <tjk@tjkeller.xyz>2024-09-01 21:09:13 -0500
committerTimmy Keller <tjk@tjkeller.xyz>2024-09-01 21:09:13 -0500
commit6b3ee83a8311fd7eac56433fb15ff8e9ddfe1cc5 (patch)
treeca7eabc050f6634aded04bcaf595edb819e263bb
parent2f9cffa891aafb1d7a2277885228544fb28a0889 (diff)
downloadhugo-theme-tjkbasic-6b3ee83a8311fd7eac56433fb15ff8e9ddfe1cc5.tar.xz
hugo-theme-tjkbasic-6b3ee83a8311fd7eac56433fb15ff8e9ddfe1cc5.zip
fix on iphone etc
-rw-r--r--static/stylesheets/style.css9
1 files changed, 5 insertions, 4 deletions
diff --git a/static/stylesheets/style.css b/static/stylesheets/style.css
index 2ab67d4..b234dbe 100644
--- a/static/stylesheets/style.css
+++ b/static/stylesheets/style.css
@@ -4,8 +4,9 @@ html {
body {
margin: 0 0 1.5em 0;
color: white;
- font-family: serif;
+ font-family: "Noto Serif", serif;
text-underline-offset: 2.25px;
+ overflow-x: hidden;
}
header {
@@ -17,7 +18,6 @@ header {
user-select: none;
position: sticky;
top: 0;
- overflow: clip;
}
#title {
@@ -63,7 +63,7 @@ main, footer{
}
hr {
- color: #727272;
+ color: #555;
margin: 2em 0;
}
@@ -81,7 +81,6 @@ a {
/* highlighted code */
.chroma {
- overflow: scroll;
background: none;
}
@@ -104,6 +103,8 @@ a {
pre {
tab-size: 4;
+ -webkit-text-size-adjust: 100%;
+ overflow: scroll;
}
ol, ul, pre code {