diff options
author | Marc Coquand <marcc@fastmail.fr> | 2023-12-04 10:34:50 -0600 |
---|---|---|
committer | Marc Coquand <marcc@fastmail.fr> | 2023-12-04 10:34:50 -0600 |
commit | 6df16075c42144a28bcb8002b85b06d33d5c1093 (patch) | |
tree | 939cdfb2b0739526f334364a41ca799a810e9099 | |
parent | 4b2f3b0cc4b66acd631148f323ae9dd8e2548fe5 (diff) | |
download | wormhole-6df16075c42144a28bcb8002b85b06d33d5c1093.tar.gz wormhole-6df16075c42144a28bcb8002b85b06d33d5c1093.tar.bz2 wormhole-6df16075c42144a28bcb8002b85b06d33d5c1093.zip |
Fix flex directio
-rw-r--r-- | assets/main.css | 6 | ||||
-rw-r--r-- | bin/template.eml | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/assets/main.css b/assets/main.css index a2d750f..2ab39d9 100644 --- a/assets/main.css +++ b/assets/main.css @@ -46,6 +46,12 @@ body { background: var(--white-smoke); } +@media (max-width: 800px) { + .to-column { + flex-direction: column-reverse; + } +} + .space { z-index: -1; position: fixed; diff --git a/bin/template.eml b/bin/template.eml index bd6f952..e154d75 100644 --- a/bin/template.eml +++ b/bin/template.eml @@ -18,11 +18,11 @@ let render (posts: Post.t list) = <title>Sensemaking Galaxy</title>
</head>
<body style="display:flex; flex-direction:column; align-items:center;">
- <div style="display:flex;margin-top: 3rem; padding: 6px; gap: 3px; margin-bottom:
+ <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>
<a href="/feed.xml">
- <img src="/static/rss.svg" alt="rss" style="height: 20px; margin-top: 2rem;" />
+ <img src="/static/rss.svg" alt="rss" style="height: 20px; " />
</a>
</div>
<sl-card style="margin-bottom: 4rem; min-width: 400px; max-width:400px;" class="space-intro">
|