Style blog previes on homepage, add headers for articles and author field

This commit is contained in:
Konstantin Kollar
2022-10-05 22:59:57 +02:00
parent 2178454478
commit a83381b903
23 changed files with 389 additions and 97 deletions
+266 -38
View File
@@ -1383,8 +1383,8 @@ video {
left: 0px;
}
.z-50 {
z-index: 50;
.m-4 {
margin: 1rem;
}
.mx-2 {
@@ -1402,8 +1402,12 @@ video {
margin-right: 1rem;
}
.mt-6 {
margin-top: 1.5rem;
.mb-8 {
margin-bottom: 2rem;
}
.mt-10 {
margin-top: 2.5rem;
}
.ml-4 {
@@ -1414,10 +1418,6 @@ video {
margin-right: 1rem;
}
.mb-8 {
margin-bottom: 2rem;
}
.ml-6 {
margin-left: 1.5rem;
}
@@ -1434,8 +1434,24 @@ video {
margin-top: 2rem;
}
.mt-10 {
margin-top: 2.5rem;
.mb-4 {
margin-bottom: 1rem;
}
.mt-4 {
margin-top: 1rem;
}
.mt-6 {
margin-top: 1.5rem;
}
.mb-2 {
margin-bottom: 0.5rem;
}
.mt-2 {
margin-top: 0.5rem;
}
.block {
@@ -1462,6 +1478,20 @@ video {
height: 2.5rem;
}
.h-16 {
height: 4rem;
}
.h-32 {
height: 8rem;
}
.h-fit {
height: -webkit-fit-content;
height: -moz-fit-content;
height: fit-content;
}
.min-h-\[80vh\] {
min-height: 80vh;
}
@@ -1494,22 +1524,84 @@ video {
width: 83.333333%;
}
.w-16 {
width: 4rem;
}
.w-14 {
width: 3.5rem;
}
.w-12 {
width: 3rem;
}
.w-8 {
width: 2rem;
}
.w-6 {
width: 1.5rem;
}
.w-1\/2 {
width: 50%;
}
.w-3\/5 {
width: 60%;
}
.w-7\/12 {
width: 58.333333%;
}
.w-2\/3 {
width: 66.666667%;
}
.w-auto {
width: auto;
}
.w-32 {
width: 8rem;
}
.w-fit {
width: -webkit-fit-content;
width: -moz-fit-content;
width: fit-content;
}
.max-w-sm {
max-width: 24rem;
}
.grow-0 {
flex-grow: 0;
.flex-initial {
flex: 0 1 auto;
}
.grow {
flex-grow: 1;
}
.grow-0 {
flex-grow: 0;
}
.basis-1\/4 {
flex-basis: 25%;
}
.basis-2\/3 {
flex-basis: 66.666667%;
}
.basis-3\/4 {
flex-basis: 75%;
}
.cursor-pointer {
cursor: pointer;
}
@@ -1538,12 +1630,20 @@ video {
flex-direction: column;
}
.items-center {
align-items: center;
.flex-wrap {
flex-wrap: wrap;
}
.justify-start {
justify-content: flex-start;
.place-content-center {
place-content: center;
}
.content-center {
align-content: center;
}
.items-center {
align-items: center;
}
.justify-center {
@@ -1554,10 +1654,27 @@ video {
justify-content: space-between;
}
.gap-2 {
gap: 0.5rem;
}
.gap-4 {
gap: 1rem;
}
.gap-8 {
gap: 2rem;
}
.gap-y-4 {
row-gap: 1rem;
}
.gap-x-8 {
-moz-column-gap: 2rem;
column-gap: 2rem;
}
.overflow-y-auto {
overflow-y: auto;
}
@@ -1609,9 +1726,9 @@ video {
border-color: rgb(212 212 212 / var(--tw-border-opacity));
}
.bg-white {
.bg-neutral-100 {
--tw-bg-opacity: 1;
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
background-color: rgb(245 245 245 / var(--tw-bg-opacity));
}
.bg-primary-400 {
@@ -1624,24 +1741,14 @@ video {
background-color: rgb(31 41 55 / var(--tw-bg-opacity));
}
.bg-primary-300 {
.bg-white {
--tw-bg-opacity: 1;
background-color: rgb(233 241 255 / var(--tw-bg-opacity));
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}
.bg-neutral-200 {
--tw-bg-opacity: 1;
background-color: rgb(229 229 229 / var(--tw-bg-opacity));
}
.bg-neutral-100 {
--tw-bg-opacity: 1;
background-color: rgb(245 245 245 / var(--tw-bg-opacity));
}
.bg-neutral-50 {
--tw-bg-opacity: 1;
background-color: rgb(250 250 250 / var(--tw-bg-opacity));
.object-center {
-o-object-position: center;
object-position: center;
}
.p-4 {
@@ -1658,6 +1765,11 @@ video {
padding-right: 2rem;
}
.px-4 {
padding-left: 1rem;
padding-right: 1rem;
}
.py-4 {
padding-top: 1rem;
padding-bottom: 1rem;
@@ -1668,9 +1780,14 @@ video {
padding-right: 0.5rem;
}
.px-4 {
padding-left: 1rem;
padding-right: 1rem;
.px-0 {
padding-left: 0px;
padding-right: 0px;
}
.py-2 {
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}
.pt-4 {
@@ -1691,6 +1808,21 @@ video {
line-height: 1.75rem;
}
.text-xl {
font-size: 1.25rem;
line-height: 1.75rem;
}
.text-2xl {
font-size: 1.5rem;
line-height: 2rem;
}
.text-3xl {
font-size: 1.875rem;
line-height: 2.25rem;
}
.font-bold {
font-weight: 700;
}
@@ -1704,6 +1836,11 @@ video {
color: rgb(255 255 255 / var(--tw-text-opacity));
}
.text-neutral-600 {
--tw-text-opacity: 1;
color: rgb(82 82 82 / var(--tw-text-opacity));
}
.text-primary-400 {
--tw-text-opacity: 1;
color: rgb(123 164 238 / var(--tw-text-opacity));
@@ -1719,14 +1856,34 @@ video {
color: rgb(115 115 115 / var(--tw-text-opacity));
}
.text-neutral-800 {
--tw-text-opacity: 1;
color: rgb(38 38 38 / var(--tw-text-opacity));
}
.text-neutral-700 {
--tw-text-opacity: 1;
color: rgb(64 64 64 / var(--tw-text-opacity));
}
.text-neutral-600 {
.text-primary-700 {
--tw-text-opacity: 1;
color: rgb(82 82 82 / var(--tw-text-opacity));
color: rgb(7 12 20 / var(--tw-text-opacity));
}
.text-primary-600 {
--tw-text-opacity: 1;
color: rgb(35 69 131 / var(--tw-text-opacity));
}
.text-neutral-400 {
--tw-text-opacity: 1;
color: rgb(163 163 163 / var(--tw-text-opacity));
}
.underline {
-webkit-text-decoration-line: underline;
text-decoration-line: underline;
}
.no-underline {
@@ -1795,6 +1952,26 @@ video {
width: 66.666667%;
}
.md\:flex-grow-0 {
flex-grow: 0;
}
.md\:grow-0 {
flex-grow: 0;
}
.md\:flex-row {
flex-direction: row;
}
.md\:flex-nowrap {
flex-wrap: nowrap;
}
.md\:justify-center {
justify-content: center;
}
.md\:border-x-\[20px\] {
border-left-width: 20px;
border-right-width: 20px;
@@ -1812,6 +1989,10 @@ video {
}
@media (min-width: 1024px) {
.lg\:col-span-2 {
grid-column: span 2 / span 2;
}
.lg\:mr-6 {
margin-right: 1.5rem;
}
@@ -1828,6 +2009,22 @@ video {
width: 100%;
}
.lg\:w-20 {
width: 5rem;
}
.lg\:flex-none {
flex: none;
}
.lg\:flex-initial {
flex: 0 1 auto;
}
.lg\:grow-0 {
flex-grow: 0;
}
.lg\:basis-2\/3 {
flex-basis: 66.666667%;
}
@@ -1836,7 +2033,38 @@ video {
flex-basis: 33.333333%;
}
.lg\:basis-1\/4 {
flex-basis: 25%;
}
.lg\:basis-3\/4 {
flex-basis: 75%;
}
.lg\:grid-cols-2 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.lg\:grid-cols-3 {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.lg\:flex-row {
flex-direction: row;
}
.lg\:flex-nowrap {
flex-wrap: nowrap;
}
.lg\:py-4 {
padding-top: 1rem;
padding-bottom: 1rem;
}
}
@media (min-width: 1280px) {
.xl\:grid-cols-3 {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
}