diff --git a/package.json b/package.json index 969943e4..1710bb14 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "devDependencies": { - "@tailwindcss/typography": "^0.5.15", - "tailwindcss": "^3.4.17" + "@tailwindcss/typography": "^0.5.16", + "tailwindcss": "^4.0" } } diff --git a/static/css/in.css b/static/css/in.css index 041b7b4a..81a35e8f 100644 --- a/static/css/in.css +++ b/static/css/in.css @@ -1,6 +1,6 @@ -@tailwind base; /* Preflight is injected here */ -@tailwind components; -@tailwind utilities; +@import "tailwindcss"; /* Preflight is injected here */ +@plugin "@tailwindcss/typography"; +@config "../../tailwind.config.js"; @layer base { @font-face { @@ -52,14 +52,6 @@ ul { @apply pl-4 list-disc; } - - /* pelican tag_cloud */ - ul.tagcloud { - @apply list-none p-0; - } - ul.tagcloud li { - @apply inline-block p-1; - } } @layer components { @@ -69,11 +61,6 @@ } } -/*Hide heading anchor links unless hovering over them*/ -.headerlink { - @apply no-underline text-rp-dawn-love ml-1 md:ml-2 hover:no-underline; -} - .note { @apply bg-rp-dawn-highlight-med dark:bg-rp-moon-highlight-med m-8 p-4; } @@ -81,14 +68,6 @@ @apply bg-rp-dawn-text text-rp-dawn-base dark:bg-rp-moon-text dark:text-rp-moon-base m-8 p-4; } -/*Attempt to only float thumbnails to the right*/ -.image-process-article-image, -.image-process-thumb, -.image-process-responsive { - /*@apply lg:float-right p-2 lg:p-4;*/ - @apply lg:float-right px-1 lg:px-3; -} - #skiptocontent a { position: absolute; top: -40px; diff --git a/static/css/out.css b/static/css/out.css index e1870e6c..edc93ef0 100644 --- a/static/css/out.css +++ b/static/css/out.css @@ -718,18 +718,6 @@ ul { padding-left: 1rem; } -/* pelican tag_cloud */ - -ul.tagcloud { - list-style-type: none; - padding: 0px; -} - -ul.tagcloud li { - display: inline-block; - padding: 0.25rem; -} - /* Preflight is injected here */ .prose { @@ -1221,22 +1209,6 @@ code { } } -.absolute { - position: absolute; -} - -.relative { - position: relative; -} - -.z-10 { - z-index: 10; -} - -.z-20 { - z-index: 20; -} - .col-span-1 { grid-column: span 1 / span 1; } @@ -1245,8 +1217,8 @@ code { grid-column: span 2 / span 2; } -.col-span-3 { - grid-column: span 3 / span 3; +.col-span-7 { + grid-column: span 7 / span 7; } .col-span-9 { @@ -1261,8 +1233,8 @@ code { margin: 1rem; } -.-mt-11 { - margin-top: -2.75rem; +.-mt-9 { + margin-top: -2.25rem; } .mb-2 { @@ -1314,11 +1286,6 @@ code { width: 2rem; } -.-rotate-3 { - --tw-rotate: -3deg; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - .list-outside { list-style-position: outside; } @@ -1343,12 +1310,12 @@ code { grid-template-columns: repeat(9, minmax(0, 1fr)); } -.grid-cols-\[max-content_max-content_max-content_max-content_max-content\] { - grid-template-columns: max-content max-content max-content max-content max-content; +.grid-cols-\[max-content_max-content_max-content\] { + grid-template-columns: max-content max-content max-content; } -.grid-cols-\[max-content_max-content_max-content_max-content_max-content_max-content\] { - grid-template-columns: max-content max-content max-content max-content max-content max-content; +.grid-cols-\[max-content_max-content_max-content_max-content_max-content\] { + grid-template-columns: max-content max-content max-content max-content max-content; } .items-center { @@ -1368,10 +1335,6 @@ code { hyphens: auto; } -.rounded-full { - border-radius: 9999px; -} - .border-b-2 { border-bottom-width: 2px; } @@ -1395,11 +1358,6 @@ code { background-color: rgb(250 244 237 / var(--tw-bg-opacity, 1)); } -.bg-rp-dawn-gold { - --tw-bg-opacity: 1; - background-color: rgb(234 157 52 / var(--tw-bg-opacity, 1)); -} - .bg-rp-dawn-overlay { --tw-bg-opacity: 1; background-color: rgb(242 233 225 / var(--tw-bg-opacity, 1)); @@ -1410,28 +1368,6 @@ code { background-color: rgb(255 250 243 / var(--tw-bg-opacity, 1)); } -.bg-gradient-to-r { - background-image: linear-gradient(to right, var(--tw-gradient-stops)); -} - -.from-rp-dawn-gold { - --tw-gradient-from: #ea9d34 var(--tw-gradient-from-position); - --tw-gradient-to: rgb(234 157 52 / 0) var(--tw-gradient-to-position); - --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); -} - -.from-10\% { - --tw-gradient-from-position: 10%; -} - -.to-rp-dawn-pine { - --tw-gradient-to: #286983 var(--tw-gradient-to-position); -} - -.to-90\% { - --tw-gradient-to-position: 90%; -} - .p-1 { padding: 0.25rem; } @@ -1444,19 +1380,14 @@ code { padding: 1rem; } +.p-5 { + padding: 1.25rem; +} + .p-8 { padding: 2rem; } -.px-2 { - padding-left: 0.5rem; - padding-right: 0.5rem; -} - -.pb-4 { - padding-bottom: 1rem; -} - .pb-60 { padding-bottom: 15rem; } @@ -1492,16 +1423,6 @@ code { line-height: 2.5rem; } -.text-base { - font-size: 1rem; - line-height: 1.5rem; -} - -.text-sm { - font-size: 0.875rem; - line-height: 1.25rem; -} - .text-xl { font-size: 1.25rem; line-height: 1.75rem; @@ -1515,10 +1436,6 @@ code { text-transform: uppercase; } -.capitalize { - text-transform: capitalize; -} - .italic { font-style: italic; } @@ -1528,6 +1445,11 @@ code { color: rgb(86 148 159 / var(--tw-text-opacity, 1)); } +.text-rp-dawn-love { + --tw-text-opacity: 1; + color: rgb(180 99 122 / var(--tw-text-opacity, 1)); +} + .text-rp-dawn-overlay { --tw-text-opacity: 1; color: rgb(242 233 225 / var(--tw-text-opacity, 1)); @@ -1553,25 +1475,6 @@ code { box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); } -/*Hide heading anchor links unless hovering over them*/ - -.headerlink { - margin-left: 0.25rem; - --tw-text-opacity: 1; - color: rgb(180 99 122 / var(--tw-text-opacity, 1)); - text-decoration-line: none; -} - -.headerlink:hover { - text-decoration-line: none; -} - -@media (min-width: 768px) { - .headerlink { - margin-left: 0.5rem; - } -} - .note { margin: 2rem; --tw-bg-opacity: 1; @@ -1604,26 +1507,6 @@ code { } } -/*Attempt to only float thumbnails to the right*/ - -.image-process-article-image, -.image-process-thumb, -.image-process-responsive { - /*@apply lg:float-right p-2 lg:p-4;*/ - padding-left: 0.25rem; - padding-right: 0.25rem; -} - -@media (min-width: 1024px) { - .image-process-article-image, -.image-process-thumb, -.image-process-responsive { - float: right; - padding-left: 0.75rem; - padding-right: 0.75rem; - } -} - #skiptocontent a { position: absolute; top: -40px; @@ -2187,11 +2070,6 @@ code { text-decoration-line: none; } -.prose-img\:mx-auto :is(:where(img):not(:where([class~="not-prose"],[class~="not-prose"] *))) { - margin-left: auto; - margin-right: auto; -} - .prose-img\:rounded :is(:where(img):not(:where([class~="not-prose"],[class~="not-prose"] *))) { border-radius: 0.25rem; } @@ -2205,18 +2083,19 @@ code { grid-column: span 6 / span 6; } - .md\:col-span-7 { - grid-column: span 7 / span 7; - } - - .md\:grid-cols-6 { - grid-template-columns: repeat(6, minmax(0, 1fr)); + .md\:grid-cols-5 { + grid-template-columns: repeat(5, minmax(0, 1fr)); } .md\:border-l-4 { border-left-width: 4px; } + .md\:text-2xl { + font-size: 1.5rem; + line-height: 2rem; + } + .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; @@ -2236,11 +2115,6 @@ code { font-size: 1rem; line-height: 1.5rem; } - - .md\:text-xl { - font-size: 1.25rem; - line-height: 1.75rem; - } } @media (min-width: 1024px) { @@ -2276,11 +2150,6 @@ code { background-color: rgb(57 53 82 / var(--tw-bg-opacity, 1)); } - .dark\:bg-rp-moon-pine { - --tw-bg-opacity: 1; - background-color: rgb(62 143 176 / var(--tw-bg-opacity, 1)); - } - .dark\:bg-rp-moon-surface { --tw-bg-opacity: 1; background-color: rgb(42 39 63 / var(--tw-bg-opacity, 1)); @@ -2291,11 +2160,6 @@ code { color: rgb(156 207 216 / var(--tw-text-opacity, 1)); } - .dark\:text-rp-moon-highlight-med { - --tw-text-opacity: 1; - color: rgb(68 65 90 / var(--tw-text-opacity, 1)); - } - .dark\:text-rp-moon-iris { --tw-text-opacity: 1; color: rgb(196 167 231 / var(--tw-text-opacity, 1)); @@ -2306,11 +2170,6 @@ code { color: rgb(234 154 151 / var(--tw-text-opacity, 1)); } - .dark\:text-rp-moon-surface { - --tw-text-opacity: 1; - color: rgb(42 39 63 / var(--tw-text-opacity, 1)); - } - .dark\:text-rp-moon-text { --tw-text-opacity: 1; color: rgb(224 222 244 / var(--tw-text-opacity, 1)); diff --git a/templates/archives.html b/templates/archives.html index 9b15a164..131a095a 100644 --- a/templates/archives.html +++ b/templates/archives.html @@ -1,11 +1,12 @@ {% extends "base.html" %} -{% block title %}Blog archive - {{ SITENAME|striptags }}{% endblock %} +{% block title %}{{ SITENAME|striptags }} - Archives{% endblock %} {% block content %}
- - -
- -