Header: fix font styles
This commit is contained in:
parent
cc7724eeea
commit
67b25a1814
3 changed files with 10 additions and 2 deletions
|
@ -3,7 +3,7 @@ import HeaderLink from './HeaderLink.astro';
|
||||||
import { SITE_TITLE } from '../consts';
|
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">
|
<nav class="wide-screen">
|
||||||
<div class="flex items-center space-x-8">
|
<div class="flex items-center space-x-8">
|
||||||
<HeaderLink href="/"><img style="padding: 2px;" src="/favicon.avif" /></HeaderLink>
|
<HeaderLink href="/"><img style="padding: 2px;" src="/favicon.avif" /></HeaderLink>
|
||||||
|
@ -45,6 +45,9 @@ import { SITE_TITLE } from '../consts';
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
header nav {
|
||||||
|
font-family: var(--font-sans);
|
||||||
|
}
|
||||||
/*****************************************
|
/*****************************************
|
||||||
* Full-width navigation bar.
|
* Full-width navigation bar.
|
||||||
****************************************/
|
****************************************/
|
||||||
|
|
|
@ -36,6 +36,8 @@ anyone looking to get caught up with the field.
|
||||||
- [Guidelines for prompting for characters](https://rentry.org/NG_CharCard)
|
- [Guidelines for prompting for characters](https://rentry.org/NG_CharCard)
|
||||||
- [ChatML from OpenAI is quickly becoming the standard for
|
- [ChatML from OpenAI is quickly becoming the standard for
|
||||||
prompting](https://news.ycombinator.com/item?id=34988748)
|
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/)
|
- [Chasm - multiplayer text generation game](https://chasm.run/)
|
||||||
|
|
||||||
#### Training
|
#### Training
|
||||||
|
|
|
@ -10,7 +10,7 @@ import { SITE_TITLE, SITE_DESCRIPTION } from '../consts';
|
||||||
<head>
|
<head>
|
||||||
<BaseHead title={SITE_TITLE} description={SITE_DESCRIPTION} />
|
<BaseHead title={SITE_TITLE} description={SITE_DESCRIPTION} />
|
||||||
</head>
|
</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} />
|
<Header class="grow" title={SITE_TITLE} />
|
||||||
<main>
|
<main>
|
||||||
<div id="big-circle-wrapper" >
|
<div id="big-circle-wrapper" >
|
||||||
|
@ -39,6 +39,9 @@ import { SITE_TITLE, SITE_DESCRIPTION } from '../consts';
|
||||||
/*****************************************
|
/*****************************************
|
||||||
* Global styles
|
* Global styles
|
||||||
****************************************/
|
****************************************/
|
||||||
|
body {
|
||||||
|
font-family: var(--font-sans);
|
||||||
|
}
|
||||||
main a {
|
main a {
|
||||||
color: var(--accent-color);
|
color: var(--accent-color);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue