Mercurial > libervia-templates
view sat_templates/templates/default/static/photo.css @ 183:240bbac435f4
base: implemented language button:
- `component.menu` can now be used with a `{% call %}`, allowing extra HTML to be added after in the <nav> element
- a language dropdown is shown if more than one translation is available, allowing to change page locale
- if javascript is available, only the dropdown is visible, and changing it reload the page with new locale
- if javascript is not available, a submit button is display to change the locale
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 10 Apr 2019 21:05:58 +0200 |
parents | 178f55b825b7 |
children | f1188ce8dd17 |
line wrap: on
line source
.album { display: flex; flex-wrap: wrap; } .album__item { width: 400px; margin: 0 0.1em 2em 0.1em; } .album__vignette { background-color: #444; height: 300px; position: relative; } .album__thumbnail { height: 100%; display: block; margin: 0 auto; } .album__comments-bar { display: block; font-size: 0.8em; color: black; text-align: right; cursor: pointer; } .album__comments-bar:hover { background-color: #ddd; font-weight: bold; } .comments__count { font-weight: bold; }