730 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
Quentin Schulz
54f47ecd06 prosopopee: add ratio property for videos
To prepare for an alignment fix that requires to know the ratio of the
video screenshot, let's add a ratio property.

This property is calling `ffprobe` or `avprobe` depending on whether
ffmpeg or libav-tools was installed. It is not adding a new dependency.

The output of this particular `ffprobe` or `avprobe` returns the width
and height of the video, separated by a comma.

Signed-off-by: Quentin Schulz <foss@0leil.net>
2019-05-05 21:20:04 +02:00
Quentin Schulz
8b4f645a65 prosopopee: add ratio property for images
To prepare for an alignment fix that requires to know the ratio of the
image, let's add a ratio property.

This property is calling `gm identify` which is already a dependency of
prosopopee.

The output of this particular `gm identify` returns the width and height
separated by a comma.

Signed-off-by: Quentin Schulz <foss@0leil.net>
2019-05-05 21:20:04 +02:00
Bram
c0efbba51c
Merge pull request #89 from QSchulz/fix-english
docs: fix a few English mistakes
2019-03-23 04:39:54 +01:00
Quentin Schulz
43fb5b8104 docs: fix a few English mistakes
Signed-off-by: Quentin Schulz <foss@0leil.net>
2019-03-08 19:48:30 +00: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
Bram
5b693ca332
Merge pull request #88 from NicolasBrosse/patch-1
update README.md
2018-12-06 18:17:27 +01:00
Nicolas Brosse
369356efe3
update README.md
Tiny grammar error.
2018-12-05 16:18:05 +01:00
Adrien Beudin
813e1609d7 [fix] some little stuff 2018-11-01 18:59:32 +01:00
Laurent Peuch
05a46caa4a [doc] make logo have the size of the one used on a generated website 2018-04-30 12:34:21 +02:00
Bram
8b82815f9c
[doc] center logo in README.md 2018-04-30 12:33:21 +02:00
Laurent Peuch
8ff844259b [doc] make logo smaller 2018-04-30 12:30:49 +02:00
Laurent Peuch
cf7fef9355 [doc] add logo in README 2018-04-30 12:27:11 +02:00
abeudin
016e1a7107
Update README.md 2018-04-30 12:19:26 +02:00
Adrien Beudin
15b7488708 Merge branch 'master' of https://github.com/Psycojoker/prosopopee 2018-04-30 11:59:22 +02:00
Adrien Beudin
321069658f [doc] add screenshots 2018-04-30 11:59:03 +02:00
abeudin
fd9a6a233e
Update README.md 2018-04-30 11:54:27 +02:00
abeudin
4163467f35
Update README.md 2018-04-30 11:49:45 +02:00
abeudin
51ec2fa47e
Merge pull request #85 from Psycojoker/0.8.1
0.8.1
2018-03-29 11:24:14 +02:00
Adrien Beudin
2837420b62 update docs 2018-03-28 10:58:06 +02:00
Adrien Beudin
aee9953687 fix light theme 2018-03-28 10:40:31 +02: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
6edca43774 update version 2018-03-27 10:58:33 +02:00
Adrien Beudin
3aa14884e3 update material theme 2018-03-27 10:52:52 +02:00
Adrien Beudin
16536149cb fix menu 2018-03-22 10:47:14 +01:00
Laurent Peuch
2214b0d0ce [doc] redo @cuseinovic PR #84 in the good file 2018-03-11 20:46:20 +01:00
Adrien Beudin
933316ee86 add css effect 2018-03-09 10:41:06 +01:00
abeudin
441fc604d5
Create CODE_OF_CONDUCT.md 2018-03-06 09:36:43 +01:00
abeudin
bdd0a9323a
Merge pull request #83 from Psycojoker/add-license-1
Create LICENSE
2018-03-06 09:35:51 +01:00
abeudin
78c14a810f
Create CONTRIBUTING.md 2018-03-06 09:35:38 +01:00
abeudin
adccc19f78
Create LICENSE 2018-03-06 09:33:56 +01:00
Adrien Beudin
4d85daac49 update changelog 2018-02-28 15:57:59 +01:00
Adrien Beudin
8ff378f24b add test arg 2018-02-28 15:46:48 +01:00
abeudin
2e53d77ced
Merge pull request #81 from Psycojoker/test_build
Add a test command to build html without generating media files
2018-02-28 15:41:51 +01:00
abeudin
dd26f2e1e3
Merge pull request #82 from Psycojoker/0.8
Add night mode
2018-02-28 15:41:32 +01:00
Adrien Beudin
d08904b419 Add succesfull message 2018-02-28 15:32:58 +01:00
Adrien Beudin
c921c4420b support night mode for material theme 2018-02-27 20:53:30 +01:00
Adrien Beudin
fb38677b92 update docs 2018-02-27 15:03:15 +01:00
Adrien Beudin
323ce052d4 Merge branch 'master' into 0.8 2018-02-27 14:55:14 +01:00
Adrien Beudin
70b5e5e90c night mode for exposure 2018-02-27 13:53:48 +01:00
abeudin
be6f58c17a
Update README.md 2018-02-25 20:15:03 +01:00
abeudin
2dddd82c9c
Update README.md 2018-02-21 12:21:24 +01:00
abeudin
42c01a6048
Update install.rst 2018-02-12 11:51:01 +01:00
abeudin
0e9b71fcea
Update install.rst 2018-02-12 11:50:46 +01:00
abeudin
6e9823801a
Update README.md 2018-02-12 11:45:58 +01:00
Thomas Nonglaton
0854f36c62 Add a test command to build html without generating media files 2017-10-18 13:58:17 +02:00
abeudin
def75d1fa5 Update README.md 2017-10-12 01:29:26 +02:00
abeudin
b7fe1b1e83 Update README.md 2017-10-12 01:16:15 +02:00