Compare commits
2 commits
bfd54e6918
...
e0b4c55364
Author | SHA1 | Date | |
---|---|---|---|
![]() |
e0b4c55364 | ||
![]() |
cc089e8cdc |
|
@ -310,6 +310,9 @@
|
||||||
.m-300 {
|
.m-300 {
|
||||||
margin: calc(var(--spacing) * 300);
|
margin: calc(var(--spacing) * 300);
|
||||||
}
|
}
|
||||||
|
.mx-5 {
|
||||||
|
margin-inline: calc(var(--spacing) * 5);
|
||||||
|
}
|
||||||
.mx-8 {
|
.mx-8 {
|
||||||
margin-inline: calc(var(--spacing) * 8);
|
margin-inline: calc(var(--spacing) * 8);
|
||||||
}
|
}
|
||||||
|
@ -361,6 +364,9 @@
|
||||||
.mr-4 {
|
.mr-4 {
|
||||||
margin-right: calc(var(--spacing) * 4);
|
margin-right: calc(var(--spacing) * 4);
|
||||||
}
|
}
|
||||||
|
.mr-5 {
|
||||||
|
margin-right: calc(var(--spacing) * 5);
|
||||||
|
}
|
||||||
.mb-2 {
|
.mb-2 {
|
||||||
margin-bottom: calc(var(--spacing) * 2);
|
margin-bottom: calc(var(--spacing) * 2);
|
||||||
}
|
}
|
||||||
|
@ -388,6 +394,9 @@
|
||||||
.ml-4 {
|
.ml-4 {
|
||||||
margin-left: calc(var(--spacing) * 4);
|
margin-left: calc(var(--spacing) * 4);
|
||||||
}
|
}
|
||||||
|
.ml-5 {
|
||||||
|
margin-left: calc(var(--spacing) * 5);
|
||||||
|
}
|
||||||
.ml-\[-0\.2em\] {
|
.ml-\[-0\.2em\] {
|
||||||
margin-left: -0.2em;
|
margin-left: -0.2em;
|
||||||
}
|
}
|
||||||
|
@ -467,6 +476,9 @@
|
||||||
.h-64 {
|
.h-64 {
|
||||||
height: calc(var(--spacing) * 64);
|
height: calc(var(--spacing) * 64);
|
||||||
}
|
}
|
||||||
|
.h-96 {
|
||||||
|
height: calc(var(--spacing) * 96);
|
||||||
|
}
|
||||||
.h-full {
|
.h-full {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
@ -530,6 +542,9 @@
|
||||||
.flex-1 {
|
.flex-1 {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
.flex-2 {
|
||||||
|
flex: 2;
|
||||||
|
}
|
||||||
.flex-3 {
|
.flex-3 {
|
||||||
flex: 3;
|
flex: 3;
|
||||||
}
|
}
|
||||||
|
@ -774,6 +789,9 @@
|
||||||
.object-cover {
|
.object-cover {
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
|
.object-top {
|
||||||
|
object-position: top;
|
||||||
|
}
|
||||||
.p-1 {
|
.p-1 {
|
||||||
padding: calc(var(--spacing) * 1);
|
padding: calc(var(--spacing) * 1);
|
||||||
}
|
}
|
||||||
|
@ -801,6 +819,9 @@
|
||||||
.px-4 {
|
.px-4 {
|
||||||
padding-inline: calc(var(--spacing) * 4);
|
padding-inline: calc(var(--spacing) * 4);
|
||||||
}
|
}
|
||||||
|
.px-5 {
|
||||||
|
padding-inline: calc(var(--spacing) * 5);
|
||||||
|
}
|
||||||
.px-6 {
|
.px-6 {
|
||||||
padding-inline: calc(var(--spacing) * 6);
|
padding-inline: calc(var(--spacing) * 6);
|
||||||
}
|
}
|
||||||
|
@ -1506,11 +1527,36 @@
|
||||||
margin-top: calc(var(--spacing) * 0);
|
margin-top: calc(var(--spacing) * 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.md\:h-72 {
|
||||||
|
@media (width >= 48rem) {
|
||||||
|
height: calc(var(--spacing) * 72);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.md\:w-1\/3 {
|
||||||
|
@media (width >= 48rem) {
|
||||||
|
width: calc(1/3 * 100%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.md\:w-full {
|
||||||
|
@media (width >= 48rem) {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
.md\:max-w-md {
|
.md\:max-w-md {
|
||||||
@media (width >= 48rem) {
|
@media (width >= 48rem) {
|
||||||
max-width: var(--container-md);
|
max-width: var(--container-md);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.md\:flex-1 {
|
||||||
|
@media (width >= 48rem) {
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.md\:flex-2 {
|
||||||
|
@media (width >= 48rem) {
|
||||||
|
flex: 2;
|
||||||
|
}
|
||||||
|
}
|
||||||
.md\:basis-1\/4 {
|
.md\:basis-1\/4 {
|
||||||
@media (width >= 48rem) {
|
@media (width >= 48rem) {
|
||||||
flex-basis: calc(1/4 * 100%);
|
flex-basis: calc(1/4 * 100%);
|
||||||
|
@ -1521,6 +1567,11 @@
|
||||||
flex-basis: calc(3/4 * 100%);
|
flex-basis: calc(3/4 * 100%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.md\:basis-full {
|
||||||
|
@media (width >= 48rem) {
|
||||||
|
flex-basis: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
.md\:grid-cols-2 {
|
.md\:grid-cols-2 {
|
||||||
@media (width >= 48rem) {
|
@media (width >= 48rem) {
|
||||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||||
|
@ -1531,6 +1582,20 @@
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.md\:space-x-4 {
|
||||||
|
@media (width >= 48rem) {
|
||||||
|
:where(& > :not(:last-child)) {
|
||||||
|
--tw-space-x-reverse: 0;
|
||||||
|
margin-inline-start: calc(calc(var(--spacing) * 4) * var(--tw-space-x-reverse));
|
||||||
|
margin-inline-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-x-reverse)));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.md\:px-0 {
|
||||||
|
@media (width >= 48rem) {
|
||||||
|
padding-inline: calc(var(--spacing) * 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
.lg\:block {
|
.lg\:block {
|
||||||
@media (width >= 64rem) {
|
@media (width >= 64rem) {
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -1541,6 +1606,11 @@
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.lg\:h-72 {
|
||||||
|
@media (width >= 64rem) {
|
||||||
|
height: calc(var(--spacing) * 72);
|
||||||
|
}
|
||||||
|
}
|
||||||
.lg\:grid-cols-4 {
|
.lg\:grid-cols-4 {
|
||||||
@media (width >= 64rem) {
|
@media (width >= 64rem) {
|
||||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||||
|
|
2
static/js/zoom.js
Normal file
BIN
static/processed_images/featured.057497d8a71fbd62.jpg
Normal file
After Width: | Height: | Size: 43 KiB |
BIN
static/processed_images/featured.0d7df4ca4587bc43.jpg
Normal file
After Width: | Height: | Size: 138 KiB |
BIN
static/processed_images/featured.1bd793b2b10531bf.jpg
Normal file
After Width: | Height: | Size: 92 KiB |
BIN
static/processed_images/featured.25378b53b53fabac.jpg
Normal file
After Width: | Height: | Size: 80 KiB |
BIN
static/processed_images/featured.4a6f27bdb52350fd.jpg
Normal file
After Width: | Height: | Size: 50 KiB |
BIN
static/processed_images/featured.4e50924e21c79ba2.jpg
Normal file
After Width: | Height: | Size: 111 KiB |
BIN
static/processed_images/featured.5a493e7815e4d0b2.jpg
Normal file
After Width: | Height: | Size: 169 KiB |
BIN
static/processed_images/featured.65bbff9919f1db33.jpg
Normal file
After Width: | Height: | Size: 76 KiB |
BIN
static/processed_images/featured.66c2b51c929ec011.jpg
Normal file
After Width: | Height: | Size: 79 KiB |
BIN
static/processed_images/featured.7175d16a6d9f570e.jpg
Normal file
After Width: | Height: | Size: 106 KiB |
BIN
static/processed_images/featured.741b777d0e810eb1.jpg
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
static/processed_images/featured.7d7d15abfcb6c7d7.jpg
Normal file
After Width: | Height: | Size: 78 KiB |
BIN
static/processed_images/featured.7f16a8e8c97a08a6.jpg
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
static/processed_images/featured.8058b07368d628a8.jpg
Normal file
After Width: | Height: | Size: 107 KiB |
BIN
static/processed_images/featured.a3ff5ec9ecc5d781.jpg
Normal file
After Width: | Height: | Size: 57 KiB |
BIN
static/processed_images/featured.b2951ecd4298ed4b.jpg
Normal file
After Width: | Height: | Size: 72 KiB |
BIN
static/processed_images/featured.b926d698befd6010.jpg
Normal file
After Width: | Height: | Size: 110 KiB |
BIN
static/processed_images/featured.bb8ef4fb71188203.jpg
Normal file
After Width: | Height: | Size: 101 KiB |
BIN
static/processed_images/featured.bec5fb697cb5de75.jpg
Normal file
After Width: | Height: | Size: 54 KiB |
BIN
static/processed_images/featured.c6fe8367f3376e2f.jpg
Normal file
After Width: | Height: | Size: 138 KiB |
BIN
static/processed_images/featured.d0d21da59d127010.jpg
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
static/processed_images/featured.e0977849a3166d4d.jpg
Normal file
After Width: | Height: | Size: 69 KiB |
BIN
static/processed_images/featured.e0cc5f46a1907c93.jpg
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
static/processed_images/featured.e3995da4991aa974.jpg
Normal file
After Width: | Height: | Size: 65 KiB |
|
@ -1,6 +1,7 @@
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
<script src="/js/zoom.js"/>
|
||||||
<div class="flex px-4">
|
<div class="flex px-4">
|
||||||
<h1 class="text-2xl text-bold my-6 mx-auto">
|
<h1 class="text-2xl text-bold my-6 mx-auto">
|
||||||
{{ page.title }}
|
{{ page.title }}
|
||||||
|
|
|
@ -32,26 +32,28 @@
|
||||||
{% set image = page.path ~ page.extra.image %}
|
{% set image = page.path ~ page.extra.image %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if image %}
|
{% if image %}
|
||||||
{% set resized = resize_image(path="/content" ~ image, width=200, height=200, op="fit_height") %}
|
{% set resized = resize_image(path="/content" ~ image, width=500, height=500, op="fit_height") %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% set resized = "" %}
|
{% set resized = "" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="flex flex-wrap space-x-4 border border-2 border-gray-200 dark:border-black rounded-xl p-5 shadow-xl hover:shadow-xl/30 transform transition duration-500 hover:scale-105 bg-gray-200 dark:bg-gray-800 place-content-center cursor-pointer" onclick='location.href="{{ page.permalink }}";'>
|
<div class="flex flex-wrap md:space-x-4 border border-2 border-gray-200 dark:border-black rounded-xl shadow-xl hover:shadow-xl/30 transform transition duration-500 hover:scale-105 bg-gray-200 dark:bg-gray-800 place-content-center cursor-pointer" onclick='location.href="{{ page.permalink }}";'>
|
||||||
|
|
||||||
<!-- Image -->
|
<!-- Image -->
|
||||||
{% if resized %}
|
{% if resized %}
|
||||||
<div class="flex-1 rounded-lg place-content-center">
|
<div class="w-full basis-full md:flex-2 rounded-lg place-content-center">
|
||||||
<img class="rounded-lg" src="{{ resized.url }}"/>
|
<img class="object-cover object-top md:w-full w-full h-96 lg:h-72 md:h-72 nozoom rounded-lg" src="{{ resized.url }}"/>
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
<div class="ml-5">
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="flex flex-col flex-3">
|
<div class="flex flex-col flex-3 mr-5 px-4 md:px-0">
|
||||||
<h2 class="text-2xl text-bold"><a href='{{ page.permalink }}'>{{ page.title }}</a></h2>
|
<h2 class="text-2xl text-bold"><a href='{{ page.permalink }}'>{{ page.title }}</a></h2>
|
||||||
<p class="text-bold text-ellipsis">{{ page.description | linebreaksbr | safe }}</p>
|
<p class="text-bold text-ellipsis">{{ page.description | linebreaksbr | safe }}</p>
|
||||||
|
|
||||||
<!-- Summary -->
|
<!-- Summary -->
|
||||||
<div class="text-bold mt-8">
|
<div class="text-bold my-2">
|
||||||
<a class="flex py-2" href='{{ page.permalink }}'>
|
<a class="flex py-2" href='{{ page.permalink }}'>
|
||||||
Read More
|
Read More
|
||||||
<svg class="w-6 h-6 ml-1" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
<svg class="w-6 h-6 ml-1" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
|