summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-08-27 09:54:26 +0300
committerLars Wirzenius <liw@liw.fi>2021-08-27 09:54:26 +0300
commited4ffac1bfd7a542ed94db58eebc11363b4b8449 (patch)
tree943f3b37c0d298491c287f44c6121b83edc7ada0
parentd1812dbcc483e40843a0d8ed1fd915654cba0f89 (diff)
downloadsshca-web-ed4ffac1bfd7a542ed94db58eebc11363b4b8449.tar.gz
style: make list of news items on front page be more legible
Sponsored-by: author
-rw-r--r--local.css7
-rw-r--r--templates/page.tmpl1
2 files changed, 8 insertions, 0 deletions
diff --git a/local.css b/local.css
new file mode 100644
index 0000000..df17d15
--- /dev/null
+++ b/local.css
@@ -0,0 +1,7 @@
+div.newslist div.archivepage {
+ margin-bottom: 1em;
+}
+
+div.newslist span.archivepagedate {
+ font-size: 80%;
+}
diff --git a/templates/page.tmpl b/templates/page.tmpl
index d3ef033..e8459cf 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -5,6 +5,7 @@
<title><TMPL_VAR TITLE></title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="<TMPL_VAR BASEURL>style.css" type="text/css" />
+ <link rel="stylesheet" href="<TMPL_VAR BASEURL>local.css" type="text/css" />
</head>
<body lang=en>
<article class="page">