Mercurial > libervia-templates
diff default/static/styles.css @ 115:5d9e2270ceb4
blog/articles, input/navigation: moved navigation template in a dedicated macro
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 30 Jan 2018 07:47:21 +0100 |
parents | 92ca411ee635 |
children | da8f1ba9034d |
line wrap: on
line diff
--- a/default/static/styles.css Fri Jan 26 07:52:41 2018 +0100 +++ b/default/static/styles.css Tue Jan 30 07:47:21 2018 +0100 @@ -12,7 +12,7 @@ } #main_side_bar { - + } #main_area { @@ -221,6 +221,48 @@ display: block; } +/*** Navigation ***/ + +.prev_next_links ul { + list-style: none; + display: flex; + padding: 0 2em; + margin: 0; +} + +.prev_next_links li { + flex: 1; +} + +.prev_next_links li.older_items { + text-align: right; +} + +.prev_next_links img { + display: block; +} + +.prev_next_links .older_items img { + display: block; + margin-left: auto; + margin-right: 0; +} + +.prev_next_links a { + display: inline-block; + margin-top: 1em; + padding: 0.2em; + text-decoration: None; + color: inherit; + font-variant: small-caps; + background: rgba(200,200,200,0.6); + border-radius: 0.5em; +} + +.prev_next_links a:hover { + background-color: #ddd; +} + /*** XMLUI ***/ .xmlui_cont_vertical>* { @@ -297,4 +339,9 @@ flex-direction: column; padding-left: 2em; } + + .prev_next_links ul { + padding: 0 6em; + } + }