This website requires JavaScript.
Explore
Help
Sign In
prenex
/
magcms
Watch
1
Star
0
Fork
0
You've already forked magcms
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
767
Commits
2
Branches
0
Tags
Commit Graph
3 Commits
Author
SHA1
Message
Date
Richard Thier
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
Richard Thier
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
Richard Thier
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