about summary refs log tree commit diff
path: root/static/css
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-04-06 12:32:43 -0700
committerFranck Cuny <franck@fcuny.net>2021-04-06 12:32:43 -0700
commitbaaf4ee9756d29f6ca9dab8386abc8f54a8fb05f (patch)
treefca548dadaeb3970bc4580cbaa74b3c7d51961be /static/css
parentcss: update style for links and headers (diff)
downloadfcuny.net-baaf4ee9756d29f6ca9dab8386abc8f54a8fb05f.tar.gz
layout: add date and tags to single pages
We want to show the tags and the published/updated date for the
articles.

Add to the CSS the classes for these new elements.
Diffstat (limited to 'static/css')
-rw-r--r--static/css/custom.css16
1 files changed, 16 insertions, 0 deletions
diff --git a/static/css/custom.css b/static/css/custom.css
index b0ec570..9d4faf1 100644
--- a/static/css/custom.css
+++ b/static/css/custom.css
@@ -53,3 +53,19 @@ pre {
     font-family: "Roboto Mono", Monaco, "Lucida Console", monospace;
     overflow: scroll;
 }
+
+.tags {
+    background-color: #eeeeee;
+    border-radius:8px;
+    padding:0 .5rem;
+    font-size: 90%;
+}
+
+.meta_tags a:link,
+.meta_tags a:visited {
+    text-decoration: none;
+}
+
+.meta_date {
+    font-style: italic;
+}