diff options
Diffstat (limited to 'src/_includes')
-rw-r--r-- | src/_includes/assets/css/styles.css | 10 | ||||
-rw-r--r-- | src/_includes/base.njk | 4 |
2 files changed, 12 insertions, 2 deletions
diff --git a/src/_includes/assets/css/styles.css b/src/_includes/assets/css/styles.css index 926fb1a..db015b2 100644 --- a/src/_includes/assets/css/styles.css +++ b/src/_includes/assets/css/styles.css @@ -1298,6 +1298,11 @@ select { line-height: 1rem; } +.text-base { + font-size: 1rem; + line-height: 1.5rem; +} + .font-bold { font-weight: 700; } @@ -1679,4 +1684,9 @@ pre[class*="language-"] { font-size: 1.5rem; line-height: 2rem; } + + .md\:text-sm { + font-size: 0.875rem; + line-height: 1.25rem; + } }
\ No newline at end of file diff --git a/src/_includes/base.njk b/src/_includes/base.njk index 1b60c94..c96f9f2 100644 --- a/src/_includes/base.njk +++ b/src/_includes/base.njk @@ -4,12 +4,12 @@ {% include "./partials/head.njk" %} </head> <body class="flex h-screen flex-col font-supply-regular"> - {% include "./partials/header.njk" %} + {% include "./partials/header.njk" %} <main class="container mx-auto max-w-5xl p-8"> <section class="w-full flex flex-col items-center px-3"> <article class="flex flex-col my-2"> <div class="flex flex-col justify-start p-6 pt-2"> - <div class="mt-3 text-xl font-supply-regular text-justify"> + <div class="mt-3 text-sm md:text-xl font-supply-regular text-justify"> {{content | safe}} </div> </div> |