diff default/static/blog.css @ 96:94b5806b9e2f

blog/item: various improvments: - title and publication date are now clickable if HTTP link of item is set - show labels (aka tags/categories) - text only content in body is urlized
author Goffi <goffi@goffi.org>
date Fri, 19 Jan 2018 18:19:57 +0100
parents 650f3456f80d
children 609c66552ba0
line wrap: on
line diff
--- a/default/static/blog.css	Fri Jan 19 18:17:06 2018 +0100
+++ b/default/static/blog.css	Fri Jan 19 18:19:57 2018 +0100
@@ -18,6 +18,11 @@
 
 /** header **/
 
+header a {
+    color: inherit;
+    text-decoration: inherit;
+}
+
 header .metadata {
     text-align: right;
 }
@@ -30,6 +35,20 @@
     content: ", ";
 }
 
+/*** labels ***/
+
+.labels {
+    text-align: right;
+}
+
+.labels span {
+	font-variant: small-caps;
+	font-size: 0.8rem;
+	background-color: #ddd;
+	border-radius: 0.4em;
+	padding: 0 0.5em;
+}
+
 
 /** content **/