Responsive design for index and blog listing page

This commit is contained in:
2024-09-12 17:03:11 +02:00
parent 255536c681
commit cb61962812
15 changed files with 214 additions and 144 deletions

View File

@ -633,11 +633,6 @@ video {
margin-bottom: 1.5rem;
}
.my-auto {
margin-top: auto;
margin-bottom: auto;
}
.mb-1 {
margin-bottom: 0.25rem;
}
@ -750,6 +745,14 @@ video {
grid-template-columns: max-content 1fr;
}
.grid-rows-\[max-content_max-content_max-content\] {
grid-template-rows: max-content max-content max-content;
}
.grid-rows-\[max-content_1fr_max-content\] {
grid-template-rows: max-content 1fr max-content;
}
.flex-row {
flex-direction: row;
}
@ -786,24 +789,6 @@ video {
gap: 1rem;
}
.gap-8 {
gap: 2rem;
}
.gap-x-64 {
-moz-column-gap: 16rem;
column-gap: 16rem;
}
.gap-y-8 {
row-gap: 2rem;
}
.gap-x-32 {
-moz-column-gap: 8rem;
column-gap: 8rem;
}
.overflow-hidden {
overflow: hidden;
}
@ -915,6 +900,10 @@ video {
text-align: right;
}
.text-justify {
text-align: justify;
}
.text-2xl {
font-size: 1.5rem;
line-height: 2rem;
@ -1492,6 +1481,11 @@ a {
}
@media (min-width: 768px) {
.md\:my-8 {
margin-top: 2rem;
margin-bottom: 2rem;
}
.md\:grid {
display: grid;
}
@ -1516,6 +1510,15 @@ a {
justify-content: stretch;
}
.md\:gap-8 {
gap: 2rem;
}
.md\:gap-x-8 {
-moz-column-gap: 2rem;
column-gap: 2rem;
}
.md\:text-2xl {
font-size: 1.5rem;
line-height: 2rem;
@ -1545,6 +1548,16 @@ a {
font-size: 1.25rem;
line-height: 1.75rem;
}
.md\:text-5xl {
font-size: 3rem;
line-height: 1;
}
.md\:text-6xl {
font-size: 3.75rem;
line-height: 1;
}
}
@media (min-width: 1024px) {
@ -1552,6 +1565,10 @@ a {
grid-column: span 2 / span 2;
}
.lg\:row-span-2 {
grid-row: span 2 / span 2;
}
.lg\:row-start-2 {
grid-row-start: 2;
}
@ -1560,6 +1577,10 @@ a {
margin-top: 5rem;
}
.lg\:block {
display: block;
}
.lg\:grid {
display: grid;
}
@ -1572,6 +1593,18 @@ a {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.lg\:grid-cols-\[1fr_2fr\] {
grid-template-columns: 1fr 2fr;
}
.lg\:grid-cols-\[2fr_1fr\] {
grid-template-columns: 2fr 1fr;
}
.lg\:grid-rows-\[min-content_1fr\] {
grid-template-rows: min-content 1fr;
}
.lg\:gap-x-32 {
-moz-column-gap: 8rem;
column-gap: 8rem;
@ -1585,6 +1618,11 @@ a {
font-size: 3.75rem;
line-height: 1;
}
.lg\:text-lg {
font-size: 1.125rem;
line-height: 1.75rem;
}
}
@media (min-width: 1280px) {