13 Commits

Author SHA1 Message Date
Quentin Schulz
ecb1cadbee themes: pictures-group: fix alignment when pictures do not fill the flex container
In most cases, a line in a pictures-group contains enough pictures or at
least in the correct format (usually in landscape mode) to actually make
the browser call flex-shrink.

However, in a few specific cases, when pictures do not fill the flex
container, there is some space left on the right side of the line which
could be filled in.

In that case, we can use the flex-grow property. To be able to keep
everything aligned, we need to set the flex-grow property according to
the ratio of the picture so that all pictures in the line are grown
proportionally.

Adding this alignment fix required a bit of re-ordering so we could call
the ratio property for the div of class `picture`.

Fixes #92

Signed-off-by: Quentin Schulz <foss@0leil.net>
2019-05-05 21:21:14 +02:00
Adrien Beudin
95358281ef fix fullscreen video on click 2017-06-04 21:54:04 +02:00
Adrien Beudin
7d06ed2792 update material theme 2017-04-27 17:59:46 +02:00
Laurent Peuch
8a7e5357c3 [enh] port baguette responsive to material theme 2016-11-01 12:31:08 +01:00
Laurent Peuch
1db01d43ef [mod] fix indentation 2016-11-01 12:30:16 +01:00
Adrien Beudin
530a524373 picture group responsible 2016-05-18 17:43:43 +02:00
Adrien Beudin
fd3eca33e8 video index material 2016-05-06 14:16:43 +02:00
Adrien Beudin
5fd7b89ca9 bordered video 2016-04-30 10:24:37 +02:00
Adrien Beudin
fc82ddc1ab start video support 2016-04-29 12:40:34 +02:00
Adrien Beudin
a90e633308 some stuff and background 2016-04-09 09:33:48 +02:00
Adrien Beudin
31b0da1a2e fix some stuff on material theme 2016-04-01 19:40:28 +02:00
Adrien Beudin
dbdd257c52 add caption on exposure theme 2016-02-26 19:52:14 +01:00
Adrien Beudin
8c7dbc5a4a add support theme 2016-02-22 14:11:36 +01:00