diff --git a/static/css/in.css b/static/css/in.css index aa89208c..5b239dda 100644 --- a/static/css/in.css +++ b/static/css/in.css @@ -3,6 +3,13 @@ @tailwind utilities; @layer base { + @font-face { + /*https://style64.org/c64-truetype*/ + font-family: "C64 Pro Mono"; + font-weight: 400; + src: url(/theme/font/C64_Pro_Mono-STYLE.woff2) format("woff"); + } + html { /* text-lg == prose-lg */ /* text-xl == prose-xl */ @@ -42,6 +49,9 @@ dd { @apply ml-12 md:ml-24; } + ul { + @apply pl-4 list-disc; + } } @layer components { diff --git a/static/css/out.css b/static/css/out.css index b44b631e..edc93ef0 100644 --- a/static/css/out.css +++ b/static/css/out.css @@ -554,6 +554,16 @@ video { display: none; } +@font-face { + /*https://style64.org/c64-truetype*/ + + font-family: "C64 Pro Mono"; + + font-weight: 400; + + src: url(/theme/font/C64_Pro_Mono-STYLE.woff2) format("woff"); +} + html { /* text-lg == prose-lg */ /* text-xl == prose-xl */ @@ -703,6 +713,11 @@ dd { } } +ul { + list-style-type: disc; + padding-left: 1rem; +} + /* Preflight is injected here */ .prose { @@ -1393,10 +1408,6 @@ code { vertical-align: top; } -.font-subheading { - font-family: Stardom, sans-serif; -} - .text-2xl { font-size: 1.5rem; line-height: 2rem; diff --git a/static/font/C64_Pro_Mono-STYLE.woff2 b/static/font/C64_Pro_Mono-STYLE.woff2 new file mode 100644 index 00000000..a1b72c55 Binary files /dev/null and b/static/font/C64_Pro_Mono-STYLE.woff2 differ diff --git a/tailwind.config.js b/tailwind.config.js index 3ee7c8a7..b7b9c40d 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -9,7 +9,6 @@ module.exports = { fontFamily: { texts: ["Erode", "serif"], headings: ["Fira Sans", "sans-serif"], - subheading: ["Stardom", "sans-serif"], }, extend: { // NOTE: this is for non-prose (so not Markdown rendered with typography plugin) diff --git a/templates/base.html b/templates/base.html index be7d2197..16016540 100644 --- a/templates/base.html +++ b/templates/base.html @@ -61,7 +61,7 @@

{{ SITENAME }}

{% if SITESUBTITLE %} -

{{ SITESUBTITLE }}

+

{{ SITESUBTITLE }}

{% endif %}