Mercurial > libervia-templates
view sat_templates/templates/default/static/photo.css @ 304:cdf88211b86b
bulma (input/field): `field` macro now has `control_class` and `in_group` attributes:
- `control_class` is used to specify additional classes for the control (when `class` is
used for classes of the of the `field`)
- when `in_group` is `true`, `field` is not added, only the `control` is used. This is
useful for grouping elements in the same field
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 27 Feb 2021 20:44:01 +0100 |
parents | f1188ce8dd17 |
children |
line wrap: on
line source
.album { display: flex; flex-wrap: wrap; } .album__item { width: 400px; max-width: 100%; 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; }