80 Commits

Author SHA1 Message Date
bf8f4a3f69 fixes for better serving magosit.hu 2024-09-10 21:22:48 +02:00
13ea8c1d8b Polaroids are now always spread out in mobile versions (as the default does on PC too) 2020-03-07 00:40:52 +01:00
aa406e688b Updated navmenu for mobile - maybe not latest version... 2020-03-06 23:18:52 +01:00
34b69ac256 Custom css can be added to paragraph now 2020-03-06 19:44:55 +01:00
59d5ce18eb Implemented much of polaroid-group galleries now. By default they are centered, image height maxes out at 85% so text should be visible practically always; "h" and "w" can be added for height and width (accept everything that CSS accepts) and if x, y is provided we use position:absolute. There is margin_bottom if all elements are absolute by your choice but I prefer making one centered and default (just chaning its wdth and height using "w" and "h", and others defined as absolute around it. This way the single centered element makes the width of the whole group. I just wanted to note somewhere this trick. 2020-03-06 17:09:40 +01:00
ebc1e96c76 QUICKFIX: Exchanged 2k and 450p urls in full-image covers as they are the most critical on the fast-path for me now. The current version loads BOTH urls ALWAYS which is awful and not optimized (see network inspector in FF / PM); A real solution would be to use media queries here and only load the appropriate image size according to the display width and such data. That way things could go fast on mobile and on old machines (like my laptop) while still getting 2k plus resolution images for high-end users. Currently I have to use jpg files and it is tolerable this way, but could be made faster as I see on network analysis. 2020-03-06 17:05:49 +01:00
c8f3c91fc2 Added support for margin_bottom in polaroid-group. Accepts all value CSS accepts (like vw, vh, %, px). Tested. 2020-03-06 14:43:19 +01:00
34e3c4b5c8 First working version. Without further parameters it uses big polaroid images. Parameters not tested; TODO: likely sizing should be made mandatory when positioning and we should add min-height or height of the link based on the image and text sizes calculated in python jinja2 code. 2020-03-04 00:53:06 +01:00
aa3cedeaff First version of "polariod-group" section - untested! 2020-03-03 20:01:59 +01:00
4c6d8bd381 Revert "Removed email as it was already a bit too much on the navmenu; better for mobile now and email is still there in the "contact" section using mailto"
This reverts commit b957204804c4af38850c1d8d6fe60596951bc9cf.
2020-02-28 17:06:26 +01:00
b957204804 Removed email as it was already a bit too much on the navmenu; better for mobile now and email is still there in the "contact" section using mailto 2020-02-28 17:05:47 +01:00
0d3cb12430 Revert "Revert "Bullet point tags work, but mobile is broken; without it padding too much (not padding but seem so). Maybe will revert this commit...""
This reverts commit 77cfeafc8c9f52374ebd2177969770bf462b3a5f.
2020-02-26 13:15:17 +01:00
77cfeafc8c Revert "Bullet point tags work, but mobile is broken; without it padding too much (not padding but seem so). Maybe will revert this commit..."
This reverts commit 8bbe97e08967c9d8eadc8c7958057ed0a798f5c5.
2020-02-24 21:38:46 +01:00
8bbe97e089 Bullet point tags work, but mobile is broken; without it padding too much (not padding but seem so). Maybe will revert this commit... 2020-02-24 21:33:36 +01:00
4060eb3eda Fixed email showing up when there is no email but facebook setting 2020-02-24 14:22:03 +01:00
42e82afb0b Added email and phone support in navmenu. TODO: language picker 2020-02-15 00:53:56 +01:00
707a0a5ab6 The navmenu section - first version working. TODO: email, phone and language picker 2020-02-15 00:04:40 +01:00
b30c3cde15 Added header type sections - first version 2020-02-14 16:11:48 +01:00
cb49bc5724 Added first version of subgal.html for exposure templates to test my future changes. Taken this from the original index page code 2020-02-05 14:57:44 +01:00
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
813e1609d7 [fix] some little stuff 2018-11-01 18:59:32 +01:00
Adrien Beudin
933316ee86 add css effect 2018-03-09 10:41:06 +01: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
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
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
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
a465fdfe69 add support of Open Graph 2016-11-04 12:55:02 +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
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
Laurent Peuch
1f3934855d [mod] simplify template 2016-11-01 12:32:58 +01:00
Laurent Peuch
aa6df3edbd [mod] fix indentation 2016-11-01 12:23:44 +01:00
Laurent Peuch
081ce9df64 [mod] simplify template 2016-11-01 12:22:46 +01:00
Laurent Peuch
b089fcb502 [mod] simplify template 2016-11-01 12:22:14 +01:00
Laurent Peuch
76afaf140d [mod] simplify template 2016-11-01 12:21:49 +01:00