This website requires JavaScript.
Explore
Help
Sign In
sbrl-github
/
Minetest-WorldEditAdditions
Watch
1
Star
0
Fork
You've already forked Minetest-WorldEditAdditions
0
mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced
2024-11-16 13:03:00 +00:00
Code
Issues
Releases
Wiki
Activity
4d24e4e884
Minetest-WorldEditAdditions
/
.docs
/
css.njk
6 lines
94 B
Text
Raw
Normal View
History
Unescape
Escape
Work on images, but it leaves a lot to be desired ....we'll have to reimplement Image.generateHTML :-/
2021-05-31 20:06:17 +00:00
---
permalink: theme.css
---
{% include "css/theme.css" %}
Implement a css-only gallery, with descriptions! It's an absolutely *glorious* series of hacks :D Including, but certainly not limited to: - CSS Grids with only 1 cell - Flexboxes used for positioning text nodes - Element heights set indirectly with the width property - z-index abused to show the current image in the sequence it's undefined which image will be shown initially, but given the amount of effort this took I'm ok with that If anyone knows how to shift the <picture> element 0.25em upwards *without* moving the image so that I can remove the upper and lower borders, I'd lvoe to know. I've tried everything - including settingit's height to zero etc. In the end I've padded out the top to balance it out instead :P
2021-06-08 23:34:25 +00:00
{% include "css/gallerybox.css" %}
Reference in a new issue
Copy permalink