Header: fix font styles

This commit is contained in:
Akemi Izuko 2024-03-24 22:09:59 -06:00
parent cc7724eeea
commit 67b25a1814
Signed by: akemi
GPG key ID: 8DE0764E1809E9FC
3 changed files with 10 additions and 2 deletions

View file

@ -3,7 +3,7 @@ import HeaderLink from './HeaderLink.astro';
import { SITE_TITLE } from '../consts';
---
<header style="width: 100%" class="font-sans sticky top-0 md:static bg-white underline-offset-4 z-40">
<header style="width: 100%" class="sticky top-0 md:static bg-white underline-offset-4 z-40">
<nav class="wide-screen">
<div class="flex items-center space-x-8">
<HeaderLink href="/"><img style="padding: 2px;" src="/favicon.avif" /></HeaderLink>
@ -45,6 +45,9 @@ import { SITE_TITLE } from '../consts';
</header>
<style>
header nav {
font-family: var(--font-sans);
}
/*****************************************
* Full-width navigation bar.
****************************************/

View file

@ -36,6 +36,8 @@ anyone looking to get caught up with the field.
- [Guidelines for prompting for characters](https://rentry.org/NG_CharCard)
- [ChatML from OpenAI is quickly becoming the standard for
prompting](https://news.ycombinator.com/item?id=34988748)
- [Chainlit - open source chat interface
builder](https://github.com/Chainlit/chainlit)
- [Chasm - multiplayer text generation game](https://chasm.run/)
#### Training

View file

@ -10,7 +10,7 @@ import { SITE_TITLE, SITE_DESCRIPTION } from '../consts';
<head>
<BaseHead title={SITE_TITLE} description={SITE_DESCRIPTION} />
</head>
<body style="display: flex" class="font-sans flex-col items-center">
<body style="display: flex" class="flex-col items-center">
<Header class="grow" title={SITE_TITLE} />
<main>
<div id="big-circle-wrapper" >
@ -39,6 +39,9 @@ import { SITE_TITLE, SITE_DESCRIPTION } from '../consts';
/*****************************************
* Global styles
****************************************/
body {
font-family: var(--font-sans);
}
main a {
color: var(--accent-color);
}