about summary refs log tree commit diff
path: root/users/fcuny/blog/static
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
commit7025d1ca1e7a42212eeb4e648176986135fd8438 (patch)
tree4b761b0f7ab2e4f342b7cc5abb558dbd9a80e52d /users/fcuny/blog/static
parentcss: update style for links and headers (diff)
downloadworld-7025d1ca1e7a42212eeb4e648176986135fd8438.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 'users/fcuny/blog/static')
-rw-r--r--users/fcuny/blog/static/css/custom.css16
1 files changed, 16 insertions, 0 deletions
diff --git a/users/fcuny/blog/static/css/custom.css b/users/fcuny/blog/static/css/custom.css
index b0ec570..9d4faf1 100644
--- a/users/fcuny/blog/static/css/custom.css
+++ b/users/fcuny/blog/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;
+}