diff --git a/assets/app.css b/assets/app.css index d655957..c549c02 100644 --- a/assets/app.css +++ b/assets/app.css @@ -64,6 +64,10 @@ @apply top-0; } + article { + @apply text-lg leading-[1.9] text-black dark:text-white; + } + article pre { @apply -mx-8 !p-8 shadow-lg; } diff --git a/assets/main.css b/assets/main.css index 0830d7c..22dec80 100644 --- a/assets/main.css +++ b/assets/main.css @@ -1361,14 +1361,18 @@ body { margin-right: 1.25rem; } -.mt-1 { - margin-top: 0.25rem; +.mt-1\.5 { + margin-top: 0.375rem; } .mb-3 { margin-bottom: 0.75rem; } +.mt-1 { + margin-top: 0.25rem; +} + .mt-24 { margin-top: 6rem; } @@ -1425,8 +1429,8 @@ body { display: flex; } -.h-20 { - height: 5rem; +.h-14 { + height: 3.5rem; } .h-\[5rem\] { @@ -1449,8 +1453,8 @@ body { min-height: calc(100% - 10rem); } -.w-20 { - width: 5rem; +.w-14 { + width: 3.5rem; } .w-1\/2 { @@ -1511,6 +1515,10 @@ body { flex-wrap: wrap; } +.items-start { + align-items: flex-start; +} + .items-center { align-items: center; } @@ -1537,6 +1545,10 @@ body { margin-left: calc(2.5rem * calc(1 - var(--tw-space-x-reverse))); } +.break-words { + overflow-wrap: break-word; +} + .rounded-full { border-radius: 9999px; } @@ -1545,8 +1557,8 @@ body { border-radius: 0.5rem; } -.border { - border-width: 1px; +.border-\[0\.5px\] { + border-width: 0.5px; } .border-black\/10 { @@ -1557,6 +1569,10 @@ body { background-color: rgb(255 255 255 / 0.8); } +.\!bg-black\/5 { + background-color: rgb(0 0 0 / 0.05) !important; +} + .bg-black\/\[3\%\] { background-color: rgb(0 0 0 / 3%); } @@ -1574,9 +1590,9 @@ body { padding-right: 2rem; } -.px-4 { - padding-left: 1rem; - padding-right: 1rem; +.px-5 { + padding-left: 1.25rem; + padding-right: 1.25rem; } .py-2 { @@ -1596,6 +1612,10 @@ body { padding-bottom: 0.25rem; } +.pb-2\.5 { + padding-bottom: 0.625rem; +} + .pb-2 { padding-bottom: 0.5rem; } @@ -1631,15 +1651,15 @@ body { line-height: 2.25rem; } -.text-\[0\.9em\] { - font-size: 0.9em; -} - .text-lg { font-size: 1.125rem; line-height: 1.75rem; } +.text-\[0\.9em\] { + font-size: 0.9em; +} + .text-2xl { font-size: 1.5rem; line-height: 2rem; @@ -1667,10 +1687,6 @@ body { text-decoration-line: none; } -.opacity-70 { - opacity: 0.7; -} - .opacity-60 { opacity: 0.6; } @@ -1681,6 +1697,12 @@ body { box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); } +.shadow-sm { + --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); + --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color); + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); +} + .duration-200 { transition-duration: 200ms; } @@ -1737,6 +1759,19 @@ body { top: 0px; } +article { + font-size: 1.125rem; + line-height: 1.75rem; + line-height: 1.9; + --tw-text-opacity: 1; + color: rgb(0 0 0 / var(--tw-text-opacity)); +} + +.dark article { + --tw-text-opacity: 1; + color: rgb(255 255 255 / var(--tw-text-opacity)); +} + article pre { margin-left: -2rem; margin-right: -2rem; @@ -1813,6 +1848,10 @@ article blockquote { --tw-prose-td-borders: var(--tw-prose-invert-td-borders); } +.dark .dark\:\!bg-black\/80 { + background-color: rgb(0 0 0 / 0.8) !important; +} + .dark .dark\:bg-white\/\[8\%\] { background-color: rgb(255 255 255 / 8%); } diff --git a/layouts/_default/list.html b/layouts/_default/list.html index bb1a238..cf2bf11 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,7 +1,7 @@ {{ define "main" }} - -{{ if .Title }} + +{{ if and .Title (eq .Type "tags") }}