297f2ac300
Use shorthand to spread grid column
2022-08-03 10:54:22 +02:00
67602b4fbc
Fix House index position when ending with 1
2022-06-27 21:03:12 +02:00
d72dec2443
Add offset on House index for large screens
2022-06-27 13:40:14 +02:00
c9053f9757
👀 Rework how House index is displayed
...
Use grids to place the index instead of position absolute
Add a condition if the index starts with 1 as it has a quite smaller width
2022-06-27 13:28:58 +02:00
453583c189
Add link to see map on House location
2022-06-27 11:31:44 +02:00
cdabe6935b
🔥 Huge style refactoring by using SvelteKit built-in style tag
...
It's been tricky but got there finally! Hello `:global`
- Avoid using one global CSS file containing everything
- Import the component SCSS file in a script tag from the component file to allow style scoping and including it only when used
2022-06-22 23:26:00 +02:00
6873ad6a66
Make aspect-ratio fallback work properly on Location page House photo
2022-06-13 23:46:12 +02:00
d5b860da03
Rework Location page photos ratio and hover
...
Defines if the photo is under 3/2 by calculating ratio from width and height
2022-06-13 23:34:33 +02:00
615f7df4a1
Force 3/2 format for non landscape photos on Location page
...
Center image on a background when square, portrait or other ratio
- Fix MutuationObserver for using components (would think a component is an item)
2022-06-13 18:30:26 +02:00
157b50f36c
Use House component
2022-06-13 15:59:34 +02:00