header spacing cleanup
This commit is contained in:
parent
951c09e779
commit
35303b5513
3 changed files with 5 additions and 3 deletions
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
<main class="max-w-4xl mx-auto sm:px-6 lg:px-8">
|
<main class="max-w-4xl mx-auto sm:px-6 lg:px-8">
|
||||||
<div class="max-w-3x1 mx-auto mb-4 px-2 py-1 sm:rounded contrast-more:bg-base">
|
<div class="max-w-3x1 mx-auto mb-4 px-2 py-1 sm:rounded contrast-more:bg-base">
|
||||||
<div>
|
<div class="flex flex-col gap-2">
|
||||||
<h1 class="text-5xl tracking-tight text-pink fancy-heading">
|
<h1 class="text-5xl tracking-tight text-pink fancy-heading">
|
||||||
{{ page.fileSlug | capitalize }}
|
{{ page.fileSlug | capitalize }}
|
||||||
</h1>
|
</h1>
|
||||||
<div class="mt-3 text-xl text-subtext1 sm:mt-4">
|
<div class="mt-0 text-xl text-subtext1">
|
||||||
{{ description | markdown | safe }}
|
{{ description | markdown | safe }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<div class="flex flex-wrap items-baseline">
|
<div class="flex flex-wrap items-baseline">
|
||||||
<h1 class="my-2 text-5xl tracking-tight fancy-heading">
|
<h1 class="my-2 text-5xl tracking-tight fancy-heading">
|
||||||
<span class="font-serif">{{ title }}</span>
|
<span class="font-serif">{{ title }}</span>
|
||||||
<small class="inline-block h-1 text-xl text-text font-light">
|
<small class="inline-block h-1 mt-0 text-xl text-text font-light">
|
||||||
in <a href="/{{tags[0]}}" class="link">{{ tags[0] | capitalize }}</a>
|
in <a href="/{{tags[0]}}" class="link">{{ tags[0] | capitalize }}</a>
|
||||||
</small>
|
</small>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
|
@ -106,6 +106,8 @@ pre {
|
||||||
);
|
);
|
||||||
background-clip: text;
|
background-clip: text;
|
||||||
color: transparent;
|
color: transparent;
|
||||||
|
padding-bottom: .25rem;
|
||||||
|
margin-bottom: -.25rem;
|
||||||
|
|
||||||
.text-text {
|
.text-text {
|
||||||
color: transparent !important;
|
color: transparent !important;
|
||||||
|
|
Loading…
Add table
Reference in a new issue