diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index 6f42a01..8f9c307 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -929,14 +929,21 @@ select { color: var(--tw-prose-code); font-weight: 600; font-size: 0.875em; + background-color: rgba(var(--color-neutral-50), 1); + padding-top: 3px; + padding-bottom: 3px; + padding-left: 5px; + padding-right: 5px; } .prose :where(code):not(:where([class~="not-prose"] *))::before { content: "`"; + display: none; } .prose :where(code):not(:where([class~="not-prose"] *))::after { content: "`"; + display: none; } .prose :where(a code):not(:where([class~="not-prose"] *)) { @@ -1204,6 +1211,14 @@ select { border-radius: 0.12rem; } +.prose :where(p):not(:where([class~="not-prose"] *))::before { + display: none; +} + +.prose :where(p):not(:where([class~="not-prose"] *))::after { + display: none; +} + .prose-sm :where(.prose > ul > li p):not(:where([class~="not-prose"] *)) { margin-top: 0.5714286em; margin-bottom: 0.5714286em; @@ -1976,6 +1991,12 @@ select { max-width: 48rem; } +.max-w-fit { + max-width: -webkit-fit-content; + max-width: -moz-fit-content; + max-width: fit-content; +} + .max-w-\[64rem\] { max-width: 64rem; } @@ -2689,14 +2710,14 @@ select { opacity: 0; } -.opacity-30 { - opacity: 0.3; -} - .opacity-70 { opacity: 0.7; } +.opacity-30 { + opacity: 0.3; +} + .mix-blend-normal { mix-blend-mode: normal; } @@ -3972,6 +3993,10 @@ body:has(#menu-controller:checked) { background-color: rgba(var(--color-secondary-400), 1); } +.dark .dark\:prose-invert :where(code):not(:where([class~="not-prose"] *)) { + background-color: rgba(var(--color-neutral-700), 1); +} + .dark .dark\:text-neutral { --tw-text-opacity: 1; color: rgba(var(--color-neutral), var(--tw-text-opacity)); diff --git a/layouts/newsletters/list.html b/layouts/newsletters/list.html new file mode 100644 index 0000000..06b8820 --- /dev/null +++ b/layouts/newsletters/list.html @@ -0,0 +1,41 @@ +{{ define "main" }} + {{ $toc := and (.Params.showTableOfContents | default (.Site.Params.list.showTableOfContents | default false)) (in .TableOfContents "
+ {{ i18n "list.no_articles" | emojify }} +
+