summaryrefslogtreecommitdiff
path: root/http
diff options
context:
space:
mode:
Diffstat (limited to 'http')
-rw-r--r--http/; }35
-rwxr-xr-xhttp/bin/mkws12
-rw-r--r--http/src/css/base.uppcss (renamed from http/share/css/base.uppcss)0
-rw-r--r--http/src/css/feed.uppcss (renamed from http/share/css/feed.uppcss)0
-rw-r--r--http/src/css/hcard.uppcss (renamed from http/share/css/hcard.uppcss)0
-rw-r--r--http/src/css/otp.uppcss (renamed from http/share/css/otp.uppcss)0
-rw-r--r--http/src/css/post.uppcss (renamed from http/share/css/post.uppcss)0
-rw-r--r--http/src/css/reset.uppcss (renamed from http/share/css/reset.uppcss)0
8 files changed, 47 insertions, 0 deletions
diff --git a/http/; } b/http/; }
new file mode 100644
index 0000000..22cd2f2
--- /dev/null
+++ b/http/; }
@@ -0,0 +1,35 @@
+/* Assumes there is at most one level of subheading for sub-dividing entries */
+.h-feed :is(h2, h3, h4, h5, h6) {
+ margin-block-start: var(--spacing-block-md);
+}
+
+.h-feed .h-entry {
+ display: flex;
+ flex-direction: column;
+}
+
+.h-feed .h-entry + .h-entry {
+ margin-block-start: var(--spacing-block-md);
+}
+
+.h-feed .h-entry > * {
+ order: 1;
+ margin: 0;
+}
+
+.h-feed .h-entry .dt-published {
+ order: 0;
+ font-size: var(--font-size-sm);
+}
+
+.h-feed .h-entry .p-name {
+ font-size: var(--font-size-md);
+ font-weight: 400;
+}
+
+.h-feed .full-feed-link {
+ text-align: end;
+}
+
+.h-feed :is(a.full-feed-link, .full-feed-link a)::after {
+ content:
diff --git a/http/bin/mkws b/http/bin/mkws
index 252656c..fa4cd99 100755
--- a/http/bin/mkws
+++ b/http/bin/mkws
@@ -11,6 +11,7 @@ test $# -lt 1 && usage
export SRC="$(realpath src)"
export SHARE="$(realpath share)"
export OUT="$(realpath public)"
+mkdir -p ${OUT}
if ! test -f "${SRC}"/index.upphtml
then
@@ -25,5 +26,16 @@ do
"${OUT}/$(basename "${t%.upphtml}".html)"
done
+for t in "${SRC}"/**/*.uppcss
+do
+ t_out="${t%.uppcss}".css
+ t_out="${t_out#${SRC}/}"
+ echo "Making ${t_out}"
+ t_out="${OUT}/${t_out}"
+ mkdir -p "$(dirname "${t_out}")"
+ pp "${t}" "$1" > \
+ "${t_out}"
+done
+
echo "Making sitemap.xml"
pp "${SHARE}"/sitemap.uppxml "$1" > "${OUT}"/sitemap.xml
diff --git a/http/share/css/base.uppcss b/http/src/css/base.uppcss
index ea9bace..ea9bace 100644
--- a/http/share/css/base.uppcss
+++ b/http/src/css/base.uppcss
diff --git a/http/share/css/feed.uppcss b/http/src/css/feed.uppcss
index 39294be..39294be 100644
--- a/http/share/css/feed.uppcss
+++ b/http/src/css/feed.uppcss
diff --git a/http/share/css/hcard.uppcss b/http/src/css/hcard.uppcss
index 78f82b5..78f82b5 100644
--- a/http/share/css/hcard.uppcss
+++ b/http/src/css/hcard.uppcss
diff --git a/http/share/css/otp.uppcss b/http/src/css/otp.uppcss
index 4a7db02..4a7db02 100644
--- a/http/share/css/otp.uppcss
+++ b/http/src/css/otp.uppcss
diff --git a/http/share/css/post.uppcss b/http/src/css/post.uppcss
index 436c13e..436c13e 100644
--- a/http/share/css/post.uppcss
+++ b/http/src/css/post.uppcss
diff --git a/http/share/css/reset.uppcss b/http/src/css/reset.uppcss
index 00deeb1..00deeb1 100644
--- a/http/share/css/reset.uppcss
+++ b/http/src/css/reset.uppcss