comparison default/static/blog.css @ 93:650f3456f80d

blog/articles: added simple pagination
author Goffi <goffi@goffi.org>
date Fri, 12 Jan 2018 22:05:32 +0100
parents 580670430fa2
children 94b5806b9e2f
comparison
equal deleted inserted replaced
92:2963996373fa 93:650f3456f80d
44 44
45 45
46 article img { 46 article img {
47 max-width: 100%; 47 max-width: 100%;
48 margin: 0; 48 margin: 0;
49 }
50
51 /** navigation links **/
52
53 .bottom_links ul {
54 list-style: none;
55 display: flex;
56 padding: 0 2em;
57 margin: 0;
58 }
59
60 .bottom_links li {
61 flex: 1;
62 }
63
64 .bottom_links li.older_items {
65 text-align: right;
66 }
67
68 .bottom_links img {
69 display: block;
70 }
71
72 .bottom_links .older_items img {
73 display: block;
74 margin-left: auto;
75 margin-right: 0;
76 }
77
78 .bottom_links a {
79 display: inline-block;
80 text-decoration: None;
81 color: inherit;
82 font-variant: small-caps;
83 }
84
85 .bottom_links a:hover {
86 background-color: #ddd;
49 } 87 }
50 88
51 /** reduce/expand buttons **/ 89 /** reduce/expand buttons **/
52 90
53 .expand_box { 91 .expand_box {
219 border-radius: 1em; 257 border-radius: 1em;
220 border: solid 1px; 258 border: solid 1px;
221 padding: 0.5em; 259 padding: 0.5em;
222 } 260 }
223 261
262 .bottom_links ul {
263 padding: 0 6em;
264 }
265
224 } 266 }
225 267
226 /*** clicked ***/ 268 /*** clicked ***/
227 269
228 .main_article article.clicked { 270 .main_article article.clicked {