diff --git a/assets/css/_custom.scss b/assets/css/_custom.scss index 4c87236..319882e 100644 --- a/assets/css/_custom.scss +++ b/assets/css/_custom.scss @@ -8,3 +8,14 @@ width: 12rem; } } + +// Image ratio is very strange by default. +.single .content .lazyloaded { + -o-object-fit: contain; + object-fit: contain; + font-family: "object-fit: contain;"; +} + +.single .content img { + height: auto; +} diff --git a/content/about/index.en.md b/content/about/index.en.md index 6f109fd..6c11d8a 100644 --- a/content/about/index.en.md +++ b/content/about/index.en.md @@ -3,12 +3,12 @@ title: "About us" date: 2022-12-01T18:04:49+01:00 draft: false description: "About JILITS" -images: ["wp2535788-1280px.jpg"] +images: ["servers_and_cross.png"] lightgallery: true --- -![Hoggar Mountains](wp2535788-1280px.jpg) +![Clouds, servers and a cross](servers_and_cross.png) ## Background diff --git a/content/about/index.sv.md b/content/about/index.sv.md index 7bfd46a..50fa9c1 100644 --- a/content/about/index.sv.md +++ b/content/about/index.sv.md @@ -3,12 +3,12 @@ title: "Om oss" date: 2022-12-01T18:04:49+01:00 draft: false description: "Om JILITS" -images: ["wp2535788-1280px.jpg"] +images: ["servers_and_cross.png"] lightgallery: true --- -![Hoggarbergen](wp2535788-1280px.jpg) +![Moln, servrar och ett kors](servers_and_cross.png) ## Bakgrund diff --git a/content/about/servers_and_cross.png b/content/about/servers_and_cross.png new file mode 100644 index 0000000..75687f4 Binary files /dev/null and b/content/about/servers_and_cross.png differ diff --git a/content/about/wp2535788-1280px.jpg b/content/about/wp2535788-1280px.jpg deleted file mode 100644 index dbe6d86..0000000 Binary files a/content/about/wp2535788-1280px.jpg and /dev/null differ