This website requires JavaScript.
Explore
Help
Register
Sign In
Mirrorlandia_minetest
/
Minetest-WorldEditAdditions
Watch
1
Star
0
Fork
0
You've already forked Minetest-WorldEditAdditions
mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced
2024-09-12 08:08:30 +02:00
Code
Issues
Projects
Releases
Wiki
Activity
142adc5beb
Minetest-WorldEditAdditions
/
.docs
/
css.njk
6 lines
94 B
Plaintext
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 22:06:17 +02: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-09 01:34:25 +02:00
{% include "css/gallerybox.css" %}
Reference in New Issue
Copy Permalink