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
dc332f0ea0
[fix] css
2019-03-05 21:45:37 +01:00
Adrien Beudin
262f945835
[fix] add css section for pictures-group
2019-03-05 19:44:24 +01:00
Adrien Beudin
813e1609d7
[fix] some little stuff
2018-11-01 18:59:32 +01:00
Adrien Beudin
e184f90433
update material theme and fix responsible
2018-03-28 10:28:46 +02:00
Adrien Beudin
017af6efbb
update theme and fix
2018-03-27 13:43:34 +02:00
Adrien Beudin
16536149cb
fix menu
2018-03-22 10:47:14 +01:00
Adrien Beudin
933316ee86
add css effect
2018-03-09 10:41:06 +01:00
Adrien Beudin
c921c4420b
support night mode for material theme
2018-02-27 20:53:30 +01:00
Adrien Beudin
70b5e5e90c
night mode for exposure
2018-02-27 13:53:48 +01:00
Adrien Beudin
f53b175939
[fix] index css
2017-10-03 05:08:56 +02:00
Adrien Beudin
f2396c32a5
[enh] auto login
2017-10-03 00:43:29 +02:00
Adrien Beudin
53775d233b
[enh] add global password
2017-10-02 11:14:50 +02:00
Adrien Beudin
fbfbbd4013
[fix] update encrypt theme
2017-09-29 01:30:43 +02:00
Adrien Beudin
3b8b989ec1
[enh] add password acces
2017-09-27 13:48:21 +02:00
Adrien Beudin
08a93ece26
init python3 version
2017-07-03 13:37:38 +02:00
Adrien Beudin
95358281ef
fix fullscreen video on click
2017-06-04 21:54:04 +02:00
Adrien Beudin
59f96c0b24
add background color for audio player
2017-06-04 16:28:09 +02:00
Adrien Beudin
9ec781082c
autosize for text on paragraph
2017-06-02 09:59:04 +02:00
Adrien Beudin
fe83ad3664
add floating image in paragraph section
2017-05-23 13:44:26 +02:00
Adrien Beudin
3da2f92049
remove youtube section on iframe
2017-05-15 14:05:26 +02:00
Adrien Beudin
a73e5730e3
only load css and js if section is used
2017-05-15 13:02:53 +02:00
Adrien Beudin
8e17843c99
Revert "only load css and js if section is used"
...
This reverts commit 91c702b299cfc896d86c355e8608ea9051a77072.
2017-05-14 21:33:39 +02:00
Adrien Beudin
91c702b299
only load css and js if section is used
2017-05-14 18:13:47 +02:00
Adrien Beudin
d6bc47a939
add quote section
2017-05-09 14:37:32 +02:00
Adrien Beudin
0749e9fec2
fix youtube section + add docs
2017-05-03 19:19:55 +02:00
Adrien Beudin
1813b8b1ca
add youtube support
2017-05-03 16:49:27 +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
f5eaf8daf1
fix some bugs with audio
2017-04-23 16:04:56 +02:00
Adrien Beudin
1e1798cd30
fix video cover
2017-03-06 15:17:15 +01:00
Adrien Beudin
fc62e12c34
fix title
2017-03-03 17:27:12 +01:00
Adrien Beudin
18ed2fbf3a
add docs
2017-03-03 17:21:00 +01:00
Adrien Beudin
2f657c92c9
start audio support
2017-03-03 17:13:49 +01:00
Adrien Beudin
b3d9b41f13
optionnal fixed background for full-picture
2016-11-04 15:43:17 +01:00
Adrien Beudin
0ecd4cde5f
reduce size of cover
2016-11-04 15:02:18 +01:00
Adrien Beudin
b57efe00c9
reduce size of cover
2016-11-04 14:55:04 +01:00
Adrien Beudin
1d04ef306a
fix url of og:image
2016-11-04 14:47:47 +01:00
Adrien Beudin
7c8d17fbcb
fix bug og:image
2016-11-04 14:37:46 +01:00
Adrien Beudin
a465fdfe69
add support of Open Graph
2016-11-04 12:55:02 +01:00
Laurent Peuch
ffd7fab0ce
Merge pull request #66 from Psycojoker/fix
...
Some Fix
2016-11-02 19:45:46 +01:00
Titoko
f2da9ccb65
Add a back button in subIndex
2016-11-02 19:25:40 +01:00
Beudbeud
b8dda7bcf7
disable autoload
2016-11-02 10:58:57 +01:00
Adrien Beudin
5eae7d671f
fix some stuff
2016-11-02 10:07:05 +01:00
Laurent Peuch
d4f96b3a75
[enh] small fast-loading image for home gallery cover
2016-11-01 13:51:03 +01:00
Laurent Peuch
5bd7404a18
[fix] ups, forgot to reput resized image
2016-11-01 13:48:45 +01:00
Laurent Peuch
d42d49c9d0
[fix] lazy here doesn't do anything interesting
2016-11-01 13:45:30 +01:00
Laurent Peuch
56350e9c66
[fix] only last background can have a color
2016-11-01 13:36:32 +01:00
Laurent Peuch
7416d1fc56
[fix] full picture image was broken
2016-11-01 13:35:22 +01:00
Laurent Peuch
ad0b188cb3
[fix] uses lazy again
2016-11-01 13:35:13 +01:00