diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-04-27 15:20:36 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-04-27 15:20:36 +0200 |
commit | 8b02c345ed76ea4b68d8f583f2b3a0a769674cd1 (patch) | |
tree | 1dab2c8776f810fc791716365f0108f5ab8f9f68 | |
parent | Fix current-time marker. (diff) | |
download | calp-staben.tar.gz calp-staben.tar.xz |
STABEN.staben
Diffstat (limited to '')
-rw-r--r-- | config.scm | 11 | ||||
-rw-r--r-- | static/style.css | 7 |
2 files changed, 18 insertions, 0 deletions
@@ -66,6 +66,17 @@ (parse-html (regexp-substitute/global #f "<br>" str 'pre "<br/>" 'post))] + [(member (attr (parent ev) 'NAME) + '("Nolle-P")) + (parse-html + (regexp-substitute/global + #f "STAB(EN)?\\w*" str + 'pre + (lambda (m) + (string-append "<span class='staben'>" + (match:substring m) + "</span>")) + 'post))] [else (parse-links str)]))) (set-config! 'week-start (@ (datetime util) mon)) diff --git a/static/style.css b/static/style.css index e17f2715..2f499c56 100644 --- a/static/style.css +++ b/static/style.css @@ -678,5 +678,12 @@ along with their colors. left: -1em; } +.staben { + font-family: Rocky AOE; + color: red; + font-size: 150%; + font-style: initial; +} + /* vim:expandtab:softtabstop=4:shiftwidth=4: */ |