aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Coquand <marcc@fastmail.fr>2023-12-04 10:38:03 -0600
committerMarc Coquand <marcc@fastmail.fr>2023-12-04 10:38:03 -0600
commit920730f97085c015aa15a0b558bdba3bc13d0c4c (patch)
tree0c49ff467fff89c974f63d99ecff3fd8d71d4f04
parent6bcf054656cc92c6a4b3b93740c315301522ac1c (diff)
downloadwormhole-920730f97085c015aa15a0b558bdba3bc13d0c4c.tar.gz
wormhole-920730f97085c015aa15a0b558bdba3bc13d0c4c.tar.bz2
wormhole-920730f97085c015aa15a0b558bdba3bc13d0c4c.zip
Center header1 on mobile
-rw-r--r--assets/main.css4
-rw-r--r--bin/template.eml2
2 files changed, 5 insertions, 1 deletions
diff --git a/assets/main.css b/assets/main.css
index 2ab39d9..12d2b18 100644
--- a/assets/main.css
+++ b/assets/main.css
@@ -50,6 +50,10 @@ body {
.to-column {
flex-direction: column-reverse;
}
+ h1 {
+ font-size: 2rem;
+ text-align: center;
+ }
}
.space {
diff --git a/bin/template.eml b/bin/template.eml
index e154d75..daeab3e 100644
--- a/bin/template.eml
+++ b/bin/template.eml
@@ -20,7 +20,7 @@ let render (posts: Post.t list) =
<body style="display:flex; flex-direction:column; align-items:center;">
<div class="to-column" style="align-items:center; display:flex; margin-top: 3rem; padding: 6px; gap: 3px; margin-bottom:
3rem;">
- <h1 class="intro" style="color: white; letter-spacing: .5rem;">SENSEMAKING GALAXY</h1>
+ <h1 class="intro" style="color: white; letter-spacing: .5rem; display:flex;">SENSEMAKING GALAXY</h1>
<a href="/feed.xml">
<img src="/static/rss.svg" alt="rss" style="height: 20px; " />
</a>