Responsive design for index page

This commit is contained in:
2024-09-12 15:00:20 +02:00
parent 4305da1d0c
commit 255536c681
6 changed files with 255 additions and 118 deletions

View File

@ -1,5 +1,5 @@
/*
! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com
! tailwindcss v3.4.11 | MIT License | https://tailwindcss.com
*/
/*
@ -554,6 +554,10 @@ video {
--tw-contain-style: ;
}
.col-span-2 {
grid-column: span 2 / span 2;
}
.row-span-3 {
grid-row: span 3 / span 3;
}
@ -629,6 +633,11 @@ video {
margin-bottom: 1.5rem;
}
.my-auto {
margin-top: auto;
margin-bottom: auto;
}
.mb-1 {
margin-bottom: 0.25rem;
}
@ -721,6 +730,10 @@ video {
width: 100%;
}
.max-w-maxindex {
max-width: 100rem;
}
.max-w-read {
max-width: 64rem;
}
@ -773,6 +786,24 @@ 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;
}
@ -982,6 +1013,11 @@ video {
color: rgb(80 7 36 / var(--tw-text-opacity));
}
.text-slate-800 {
--tw-text-opacity: 1;
color: rgb(30 41 59 / var(--tw-text-opacity));
}
.no-underline {
text-decoration-line: none;
}
@ -1456,24 +1492,119 @@ a {
}
@media (min-width: 768px) {
.md\:grid {
display: grid;
}
.md\:h-16 {
height: 4rem;
}
.md\:w-16 {
width: 4rem;
}
.md\:grid-cols-2 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.md\:items-stretch {
align-items: stretch;
}
.md\:justify-stretch {
justify-content: stretch;
}
.md\:text-2xl {
font-size: 1.5rem;
line-height: 2rem;
}
.md\:text-3xl {
font-size: 1.875rem;
line-height: 2.25rem;
}
.md\:text-4xl {
font-size: 2.25rem;
line-height: 2.5rem;
}
.md\:text-base {
font-size: 1rem;
line-height: 1.5rem;
}
.md\:text-lg {
font-size: 1.125rem;
line-height: 1.75rem;
}
.md\:text-xl {
font-size: 1.25rem;
line-height: 1.75rem;
}
}
@media (min-width: 1024px) {
.lg\:col-span-2 {
grid-column: span 2 / span 2;
}
.lg\:row-start-2 {
grid-row-start: 2;
}
.lg\:mt-20 {
margin-top: 5rem;
}
.lg\:grid {
display: grid;
}
.lg\:hidden {
display: none;
}
.lg\:grid-cols-2 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.lg\:gap-x-32 {
-moz-column-gap: 8rem;
column-gap: 8rem;
}
.lg\:gap-y-8 {
row-gap: 2rem;
}
.lg\:text-6xl {
font-size: 3.75rem;
line-height: 1;
}
}
@media (min-width: 1280px) {
.xl\:col-auto {
grid-column: auto;
}
.xl\:row-span-2 {
grid-row: span 2 / span 2;
}
.xl\:row-start-auto {
grid-row-start: auto;
}
.xl\:grid-cols-3 {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.xl\:grid-cols-\[1fr_2fr\] {
grid-template-columns: 1fr 2fr;
}
}