From e4dae8b6f938fe97022c5334b94d47a6be271f5b Mon Sep 17 00:00:00 2001 From: Nuno Sempere Date: Thu, 7 Apr 2022 14:48:37 +0000 Subject: [PATCH] tweak: Style tweaks --- apps/blagh/rss20.tpl | 5 ++++- apps/bridge/foot.tpl | 7 ++++++- bin/contrib/discount.rc | 2 +- bin/contrib/spawn-fcgi.sh | 2 +- pub/style/style.css | 22 +++++++++++++++++++++- 5 files changed, 33 insertions(+), 5 deletions(-) diff --git a/apps/blagh/rss20.tpl b/apps/blagh/rss20.tpl index 13b25cf..98e4d40 100755 --- a/apps/blagh/rss20.tpl +++ b/apps/blagh/rss20.tpl @@ -32,7 +32,10 @@ fn statpost { %} <![CDATA[%($title%)]]> - + %{ + # + echo '' + %} %($post_uri%) %($post_uri%) %($pubdate%) diff --git a/apps/bridge/foot.tpl b/apps/bridge/foot.tpl index 0dad21d..902d12d 100755 --- a/apps/bridge/foot.tpl +++ b/apps/bridge/foot.tpl @@ -8,17 +8,22 @@ % if(~ $#logged_user 0) { % if(~ $#allow_new_user_comments 1) { +
+
- +
+
+
+
Enter your desired user name/password and after your comment has been reviewed by an admin it will be posted and your account will be enabled. If you are already registered please login before posting.
diff --git a/bin/contrib/discount.rc b/bin/contrib/discount.rc index f8fb702..675b57c 100755 --- a/bin/contrib/discount.rc +++ b/bin/contrib/discount.rc @@ -1,4 +1,4 @@ #!/bin/rc # requires discount markdown: https://www.pell.portland.or.us/~orc/Code/discount/ -/usr/bin/markdown -f fencedcode -f ext $1 +/usr/bin/markdown -f fencedcode -f ext $1 diff --git a/bin/contrib/spawn-fcgi.sh b/bin/contrib/spawn-fcgi.sh index 51f94fd..649d743 100755 --- a/bin/contrib/spawn-fcgi.sh +++ b/bin/contrib/spawn-fcgi.sh @@ -6,7 +6,7 @@ start() { } stop() { - kill -15 "$(cat "$PID_FILE")" + kill -15 "$(cat "$PID_file")" } case $1 in diff --git a/pub/style/style.css b/pub/style/style.css index ba0eee7..b9b2e11 100755 --- a/pub/style/style.css +++ b/pub/style/style.css @@ -1,7 +1,27 @@ +/* latin-ext */ +@font-face { + font-family: 'Source Serif Pro'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(https://nunosempere.com/.resources/source-serif-pro-latin-ext.woff2) format('woff2'); + unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Source Serif Pro'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(https://nunosempere.com/.resources/source-serif-pro-latin.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} + body { display: flex; flex-wrap: wrap; - font-family: sans; + /* font-family: sans; */ + font-family: 'Source Serif Pro', serif; } header {