Mercurial > libervia-templates
comparison 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 |
comparison
equal
deleted
inserted
replaced
95:e4ffb56efd4e | 96:94b5806b9e2f |
---|---|
16 border-bottom-left-radius: 0; | 16 border-bottom-left-radius: 0; |
17 } | 17 } |
18 | 18 |
19 /** header **/ | 19 /** header **/ |
20 | 20 |
21 header a { | |
22 color: inherit; | |
23 text-decoration: inherit; | |
24 } | |
25 | |
21 header .metadata { | 26 header .metadata { |
22 text-align: right; | 27 text-align: right; |
23 } | 28 } |
24 | 29 |
25 article .author { | 30 article .author { |
26 font-weight: bold; | 31 font-weight: bold; |
27 } | 32 } |
28 | 33 |
29 article .author::after { | 34 article .author::after { |
30 content: ", "; | 35 content: ", "; |
36 } | |
37 | |
38 /*** labels ***/ | |
39 | |
40 .labels { | |
41 text-align: right; | |
42 } | |
43 | |
44 .labels span { | |
45 font-variant: small-caps; | |
46 font-size: 0.8rem; | |
47 background-color: #ddd; | |
48 border-radius: 0.4em; | |
49 padding: 0 0.5em; | |
31 } | 50 } |
32 | 51 |
33 | 52 |
34 /** content **/ | 53 /** content **/ |
35 | 54 |