style: use font sans

This commit is contained in:
SerKo 2023-05-12 05:13:55 +08:00
parent 6c3be21945
commit 73ca19929b
2 changed files with 7 additions and 1 deletions

View File

@ -2,7 +2,7 @@
<html> <html>
{{- partial "head.html" . -}} {{- partial "head.html" . -}}
<body class="bg:fade-84@dark font:fade-16@dark"> <body class="bg:fade-84@dark font:fade-16@dark font:sans">
{{ partial "header.html" . -}} {{ partial "header.html" . -}}
<div class="d:flex flex:column@<=sm pt:90 px:24 jc:center gap:44 word-break:break-word"> <div class="d:flex flex:column@<=sm pt:90 px:24 jc:center gap:44 word-break:break-word">
{{- block "side" . }}{{- end }} {{- block "side" . }}{{- end }}

View File

@ -21,5 +21,11 @@
<script src="https://unpkg.com/themes.js"></script> <script src="https://unpkg.com/themes.js"></script>
<script>window.themes = window.themes || new window.Themes()</script> <script>window.themes = window.themes || new window.Themes()</script>
<style>
:root {
--font-sans: "Inter var", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
}
</style>
{{- partial "head-extra.html" . -}} {{- partial "head-extra.html" . -}}
</head> </head>