forked from lix-project/lix-website
jade
ad8ff9bfbb
This is in response to a minor complaint about the text size on mastodon, which I agree with: https://chaos.social/@imadnyc@mstdn.social/112961604691513932 I personally agree that 20px does not feel right, and more to the point, our previous type scale was really odd: body text was 1.25rem (20px), while the nav links were 1rem (16px). It seems like the intent of this was to make it so that the body text was not 16px, which felt too small (and does to me too). However, it seems to me like the *actual* solution here is to set the entire type scale overall larger, then decrease the size of any type that looks particularly silly. Thus, I've set the root font-size to 18px (via a percentage of 112.5%) instead of the default 16px, which will fix all the 1rem font sizes elsewhere in the site, to *make* 1rem a reasonable body text size.
26 lines
746 B
HTML
26 lines
746 B
HTML
{{ define "main" }}
|
|
<section class="section blog-single py-5">
|
|
<div class="container">
|
|
<div class="row justify-content-center pb-5">
|
|
<div class="col-12">
|
|
{{ with .Title | safeHTML }}
|
|
<h2 class="display-2 fw-bold text-center text-primary pb-3">{{ . }}</h2>
|
|
{{ end }}
|
|
{{ with .Params.description }}
|
|
<p class="text-black-61 text-center pb-3">{{ . }}</p>
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
<div class="row pb-5">
|
|
<div class="col-12 d-flex justify-content-center">
|
|
<div class="blog-content">
|
|
{{ .Content }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row pb-5">
|
|
</div>
|
|
</div>
|
|
</section>
|
|
{{ end }}
|