summaryrefslogtreecommitdiffstats
path: root/site/cleopatra
diff options
context:
space:
mode:
authorThomas Letan <lthms@soap.coffee>2020-09-02 00:03:40 +0200
committerThomas Letan <lthms@soap.coffee>2020-09-02 00:03:40 +0200
commit37086ad1121212347ca32acc233ab14cce0c12e7 (patch)
treebb868ef67e8c373b977cfd6ca995ee975fcc8f05 /site/cleopatra
parent4393865bb75e4b89b1ea9b07c515c7d55505ad1a (diff)
Knitting is a thing now
Diffstat (limited to 'site/cleopatra')
-rw-r--r--site/cleopatra/soupault.org1
-rw-r--r--site/cleopatra/theme.org8
2 files changed, 9 insertions, 0 deletions
diff --git a/site/cleopatra/soupault.org b/site/cleopatra/soupault.org
index 2c3eb4e..d86c5d1 100644
--- a/site/cleopatra/soupault.org
+++ b/site/cleopatra/soupault.org
@@ -173,6 +173,7 @@ behavior. For now, only ~<a>~ has been affected.
#+BEGIN_SRC lua :tangle plugins/fix-org-urls.lua
fix_org_urls(HTML.select(page, "a"), "href")
+fix_org_urls(HTML.select(page, "img"), "src")
#+END_SRC
The configuration of this plugin, and the associated widget, is straightforward.
diff --git a/site/cleopatra/theme.org b/site/cleopatra/theme.org
index 296e167..c828807 100644
--- a/site/cleopatra/theme.org
+++ b/site/cleopatra/theme.org
@@ -172,6 +172,14 @@ pre
font-size : 80%
line-height : 140%
+#gallery
+ display : flex
+ flex-wrap : wrap
+ align-content : flex-start
+
+ img
+ width : 20rem
+
@import plugins
@import org
@import coq