commit e4dae8b6f938fe97022c5334b94d47a6be271f5b
parent ec883aa08c115bfd7ddc31c6f669d4b3c77f50f6
Author: Nuno Sempere <nuno.semperelh@protonmail.com>
Date: Thu, 7 Apr 2022 14:48:37 +0000
tweak: Style tweaks
Diffstat:
5 files changed, 33 insertions(+), 5 deletions(-)
diff --git a/apps/blagh/rss20.tpl b/apps/blagh/rss20.tpl
@@ -32,7 +32,10 @@ fn statpost {
%}
<item>
<title><![CDATA[%($title%)]]></title>
- <author><![CDATA[%($by%)@noreply.cat-v.org (%($by%))]]></author>
+ %{
+ # <author><![CDATA[%($by%)@noreply.cat-v.org (%($by%))]]></author>
+ echo '<author><![CDATA[nuno.sempere@protonmail.com (Nuño Sempere)]]></author>'
+ %}
<link>%($post_uri%)</link>
<guid isPermaLink="true">%($post_uri%)</guid>
<pubDate>%($pubdate%)</pubDate>
diff --git a/apps/bridge/foot.tpl b/apps/bridge/foot.tpl
@@ -8,17 +8,22 @@
% if(~ $#logged_user 0) {
% if(~ $#allow_new_user_comments 1) {
+ </br>
+ </br>
<label>New user name:
<input type="text" name="comment_user" value="%($"post_arg_comment_user%)">
</label>
-
+ </br>
<label>Password:
<input type="password" name="comment_passwd" value="">
</label>
+ </br>
<label>Repeat password:
<input type="password" name="comment_passwd2" value="">
</label>
+ </br>
+ </br>
<div style="font-size: 70%">
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 <a href="/_users/login">login</a> before posting.
</div>
diff --git 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
@@ -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
@@ -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 {