Compare commits
No commits in common. "e0b4c553640c94ad8d646fbe9898f26e9cd54ad2" and "bfd54e6918ee15430591b9a360cb7f6e53616c0c" have entirely different histories.
e0b4c55364
...
bfd54e6918
|
@ -310,9 +310,6 @@
|
||||||
.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);
|
||||||
}
|
}
|
||||||
|
@ -364,9 +361,6 @@
|
||||||
.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);
|
||||||
}
|
}
|
||||||
|
@ -394,9 +388,6 @@
|
||||||
.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;
|
||||||
}
|
}
|
||||||
|
@ -476,9 +467,6 @@
|
||||||
.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%;
|
||||||
}
|
}
|
||||||
|
@ -542,9 +530,6 @@
|
||||||
.flex-1 {
|
.flex-1 {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
.flex-2 {
|
|
||||||
flex: 2;
|
|
||||||
}
|
|
||||||
.flex-3 {
|
.flex-3 {
|
||||||
flex: 3;
|
flex: 3;
|
||||||
}
|
}
|
||||||
|
@ -789,9 +774,6 @@
|
||||||
.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);
|
||||||
}
|
}
|
||||||
|
@ -819,9 +801,6 @@
|
||||||
.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);
|
||||||
}
|
}
|
||||||
|
@ -1527,36 +1506,11 @@
|
||||||
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%);
|
||||||
|
@ -1567,11 +1521,6 @@
|
||||||
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));
|
||||||
|
@ -1582,20 +1531,6 @@
|
||||||
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;
|
||||||
|
@ -1606,11 +1541,6 @@
|
||||||
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));
|
||||||
|
|
Before Width: | Height: | Size: 43 KiB |
Before Width: | Height: | Size: 138 KiB |
Before Width: | Height: | Size: 92 KiB |
Before Width: | Height: | Size: 80 KiB |
Before Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 111 KiB |
Before Width: | Height: | Size: 169 KiB |
Before Width: | Height: | Size: 76 KiB |
Before Width: | Height: | Size: 79 KiB |
Before Width: | Height: | Size: 106 KiB |
Before Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 78 KiB |
Before Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 107 KiB |
Before Width: | Height: | Size: 57 KiB |
Before Width: | Height: | Size: 72 KiB |
Before Width: | Height: | Size: 110 KiB |
Before Width: | Height: | Size: 101 KiB |
Before Width: | Height: | Size: 54 KiB |
Before Width: | Height: | Size: 138 KiB |
Before Width: | Height: | Size: 58 KiB |
Before Width: | Height: | Size: 69 KiB |
Before Width: | Height: | Size: 58 KiB |
Before Width: | Height: | Size: 65 KiB |
|
@ -1,7 +1,6 @@
|
||||||
{% 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,28 +32,26 @@
|
||||||
{% 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=500, height=500, op="fit_height") %}
|
{% set resized = resize_image(path="/content" ~ image, width=200, height=200, op="fit_height") %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% set resized = "" %}
|
{% set resized = "" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<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 }}";'>
|
<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 }}";'>
|
||||||
|
|
||||||
<!-- Image -->
|
<!-- Image -->
|
||||||
{% if resized %}
|
{% if resized %}
|
||||||
<div class="w-full basis-full md:flex-2 rounded-lg place-content-center">
|
<div class="flex-1 rounded-lg place-content-center">
|
||||||
<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 }}"/>
|
<img class="rounded-lg" src="{{ resized.url }}"/>
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<div class="ml-5">
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="flex flex-col flex-3 mr-5 px-4 md:px-0">
|
<div class="flex flex-col flex-3">
|
||||||
<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 my-2">
|
<div class="text-bold mt-8">
|
||||||
<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">
|
||||||
|
|