tweak: Style tweaks

This commit is contained in:
Nuno Sempere 2022-04-07 14:48:37 +00:00
parent ec883aa08c
commit e4dae8b6f9
5 changed files with 33 additions and 5 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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

View File

@ -6,7 +6,7 @@ start() {
}
stop() {
kill -15 "$(cat "$PID_FILE")"
kill -15 "$(cat "$PID_file")"
}
case $1 in

View File

@ -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 {