commit: 7e21b24b7e0e96ee10513a53c61f298815c4723b
parent: 0a2a02d146e54c11d125ca78b20e80220c4ec579
author: Chris Noxz <chris@noxz.tech>
date: Sun, 24 Jul 2022 13:35:32 +0200
change display of dates for articles
9 files changed, 27 insertions(+), 9 deletions(-)
diff --git a/config/www.conf b/config/www.conf
@@ -69,6 +69,11 @@
. HTML </code></pre>
. \}
..
+.de P
+. ie \\n[www-html] \{\
+. HTML <p class="\\$1">
+. \}
+..
.\" --------------------------------------------------------------------------
.\" DIVS classname
.\"
diff --git a/noxz.tech/articles/askpass_implementation_for_doas/index.www b/noxz.tech/articles/askpass_implementation_for_doas/index.www
@@ -8,7 +8,8 @@
\*[TITLE]
.HnE
-.B "\*[DATE]"
+.P article-date
+\*[DATE]
As I was trying to move away from using
.ICD sudo
diff --git a/noxz.tech/articles/deduplication_of_my_nas/index.www b/noxz.tech/articles/deduplication_of_my_nas/index.www
@@ -8,7 +8,8 @@
\*[TITLE]
.HnE
-.B "\*[DATE]"
+.P article-date
+\*[DATE]
After developing
.URL //noxz.tech/software/acst acst ,
diff --git a/noxz.tech/articles/moving_from_my_hacked_readynas_to_a_raspberry_pi/index.www b/noxz.tech/articles/moving_from_my_hacked_readynas_to_a_raspberry_pi/index.www
@@ -8,7 +8,8 @@
\*[TITLE]
.HnE
-.B "\*[DATE]"
+.P article-date
+\*[DATE]
I used to have a hacked/rooted RNRX4000 (ReadyNAS 2100) in which I had replaced
the original operating system with VoidLinux, having the boot partition on the
diff --git a/noxz.tech/articles/simple_way_to_filter_email/index.www b/noxz.tech/articles/simple_way_to_filter_email/index.www
@@ -8,7 +8,8 @@
\*[TITLE]
.HnE
-.B "\*[DATE]"
+.P article-date
+\*[DATE]
Having a lot of different types of email had bugged me for some time, so I
sought to find a solution to this problem. The logical way of solving this would
diff --git a/noxz.tech/articles/srfinder/index.www b/noxz.tech/articles/srfinder/index.www
@@ -8,7 +8,8 @@
\*[TITLE]
.HnE
-.B "\*[DATE]"
+.P article-date
+\*[DATE]
During some laboratory work I was given the task to measure distance over time
using a tool called PASCO Capstone. Unfortunately this tool is neither free
diff --git a/noxz.tech/articles/the_lenovo_thinkpad_t400/index.www b/noxz.tech/articles/the_lenovo_thinkpad_t400/index.www
@@ -8,7 +8,8 @@
\*[TITLE]
.HnE
-.B "\*[DATE]"
+.P article-date
+\*[DATE]
After being tired of being tied to my stationary workstation I finally got
myself into buying a laptop. I didn't want a new fancy laptop I would have to
diff --git a/noxz.tech/articles/vi_indicator_for_loksh/index.www b/noxz.tech/articles/vi_indicator_for_loksh/index.www
@@ -8,7 +8,8 @@
\*[TITLE]
.HnE
-.B "\*[DATE]"
+.P article-date
+\*[DATE]
When I switched from bash to (lo)ksh I did so because of bash being too bloated
and prone to become slow under certain circumstances. However, there was a
diff --git a/noxz.tech/pub/style.css b/noxz.tech/pub/style.css
@@ -84,7 +84,7 @@ h1, h2, h3, h4 {
h1 {
border-bottom : 1px solid #cacaca;
margin : 1em 0 1em 0;
- padding : 0 0 0.75em 0;
+ padding : 0 0 0.25em 0;
font-size : 1.4rem;
}
@@ -264,6 +264,13 @@ span.right {
text-align : right;
}
+#main p.article-date {
+ color : #666;
+ font-size : .8em;
+ line-height : 0;
+ margin-bottom : 2em;
+}
+
.spoiler {
color : #000;
background : #000;
@@ -276,7 +283,6 @@ span.right {
}
.articles ul {
-/* width : 50em;*/
margin : 0;
padding : 0;
}