23 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
262f945835 [fix] add css section for pictures-group 2019-03-05 19:44:24 +01:00
Adrien Beudin
95358281ef fix fullscreen video on click 2017-06-04 21:54:04 +02:00
Adrien Beudin
7f8942f638 update material phase 2 2017-04-28 16:46:31 +02:00
Adrien Beudin
810d9ba4c9 fix ffmpeg code 2017-04-25 16:24:41 +02:00
Adrien Beudin
a465fdfe69 add support of Open Graph 2016-11-04 12:55:02 +01:00
Laurent Peuch
081ce9df64 [mod] simplify template 2016-11-01 12:22:46 +01:00
Laurent Peuch
bed41e136f [mod] simplify code 2016-11-01 12:19:43 +01:00
Laurent Peuch
c22b0747d8 [enh] uses responsives capacities of baguettebox 2016-11-01 11:52:03 +01:00
Laurent Peuch
71566f5b17 [mod] fix indentation 2016-11-01 11:39:48 +01:00
Adrien Beudin
ef199a5d52 fix caption on video 2016-05-26 12:09:01 +02:00
Adrien Beudin
feed72fa26 video index 2016-05-06 09:37:24 +02:00
Adrien Beudin
d7b852216b add cover video 2016-05-04 15:38:11 +02:00
Adrien Beudin
cf42f9b8b4 fix html 2 2016-05-03 10:14:49 +02:00
Adrien Beudin
b0525e5bf7 fix html 2016-05-03 09:37:43 +02:00
Adrien Beudin
fc82ddc1ab start video support 2016-04-29 12:40:34 +02:00
Adrien Beudin
3b13ee03a2 add support of text color 2016-04-13 11:45:26 +02:00
Adrien Beudin
a90e633308 some stuff and background 2016-04-09 09:33:48 +02:00
Adrien Beudin
dbdd257c52 add caption on exposure theme 2016-02-26 19:52:14 +01:00
Adrien Beudin
283bfd6804 add caption on exposure theme 2016-02-26 14:39:19 +01:00
Adrien Beudin
3f7d5866b6 move default theme in themes folder 2016-02-22 16:36:00 +01:00
Adrien Beudin
d3eea46393 Revert "move default theme in themes folder"
This reverts commit bf986ded7da83d4183a57c09e3c603abdaa94d62.
2016-02-22 16:32:44 +01:00
Adrien Beudin
bf986ded7d move default theme in themes folder 2016-02-22 16:29:36 +01:00