add: custom fonts, register page

improve: style
This commit is contained in:
alikia2x (寒寒) 2025-04-26 20:50:30 +08:00
parent 244298913a
commit d9c8253019
Signed by: alikia2x
GPG Key ID: 56209E0CCD8420C6
73 changed files with 891 additions and 99 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
*.woff2 filter=lfs diff=lfs merge=lfs -text

View File

@ -1,6 +1,17 @@
<component name="InspectionProjectProfileManager"> <component name="InspectionProjectProfileManager">
<profile version="1.0"> <profile version="1.0">
<option name="myName" value="Project Default" /> <option name="myName" value="Project Default" />
<inspection_tool class="CssUnknownProperty" enabled="false" level="WARNING" enabled_by_default="false">
<option name="myCustomPropertiesEnabled" value="true" />
<option name="myIgnoreVendorSpecificProperties" value="false" />
<option name="myCustomPropertiesList">
<value>
<list size="1">
<item index="0" class="java.lang.String" itemvalue="lc-l-with-tail" />
</list>
</value>
</option>
</inspection_tool>
<inspection_tool class="GrazieInspection" enabled="false" level="GRAMMAR_ERROR" enabled_by_default="false" /> <inspection_tool class="GrazieInspection" enabled="false" level="GRAMMAR_ERROR" enabled_by_default="false" />
<inspection_tool class="LanguageDetectionInspection" enabled="false" level="WARNING" enabled_by_default="false" /> <inspection_tool class="LanguageDetectionInspection" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="SpellCheckingInspection" enabled="false" level="TYPO" enabled_by_default="false"> <inspection_tool class="SpellCheckingInspection" enabled="false" level="TYPO" enabled_by_default="false">

View File

@ -21,4 +21,7 @@ export default defineConfig({
}, },
plugins: [tsconfigPaths()], plugins: [tsconfigPaths()],
}, },
markdown: {
remarkRehype: { footnoteLabel: "脚注", footnoteBackLabel: "回到引用 1" },
}
}); });

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -1,30 +1,7 @@
--- ---
import astroLogoLight from "@assets/标题-浅色.svg";
import astroLogoDark from "@assets/标题-深色.svg";
import DarkModeImage from "@components/DarkModeImage.svelte";
import SearchBox from "@components/SearchBox.svelte";
import TitleBarMobile from "@components/TitleBarMobile.svelte"; import TitleBarMobile from "@components/TitleBarMobile.svelte";
import TitleBarDesktop from "./TitleBarDesktop.astro";
--- ---
<div class="hidden md:block fixed top-0 left-0 w-full h-28 bg-white/80 dark:bg-zinc-900/70 backdrop-blur-lg z-50"> <TitleBarDesktop/>
<div class="w-[305px] ml-8 inline-flex h-full items-center">
<a href="/">
<DarkModeImage
lightSrc={astroLogoLight.src}
darkSrc={astroLogoDark.src}
alt="Logo"
className="w-[305px] h-24 inline-block"
client:load
/>
</a>
</div>
<SearchBox client:load />
<div
class="inline-flex right-12 absolute gap-4 h-full text-xl dark:text-[#C6DCF2] font-medium items-center w-48 justify-end"
>
<a href="/about" class="hover:dark:text-[#B1C5DA]">关于</a>
</div>
</div>
<TitleBarMobile client:load /> <TitleBarMobile client:load />

View File

@ -0,0 +1,26 @@
---
import astroLogoLight from "@assets/标题-浅色.svg";
import astroLogoDark from "@assets/标题-深色.svg";
import DarkModeImage from "@components/DarkModeImage.svelte";
import SearchBox from "@components/SearchBox.svelte";
---
<div class="hidden md:block relative top-0 left-0 w-full h-28 bg-white/80 dark:bg-zinc-900/70 backdrop-blur-lg z-50">
<div class="w-[305px] ml-8 inline-flex h-full items-center">
<a href="/">
<DarkModeImage
lightSrc={astroLogoLight.src}
darkSrc={astroLogoDark.src}
alt="Logo"
className="w-[305px] h-24 inline-block"
client:load
/>
</a>
</div>
<SearchBox client:load/>
<div class="inline-flex right-12 absolute gap-4 h-full
text-xl font-medium items-center w-48 justify-end">
<a href="/about">关于</a>
</div>
</div>

View File

@ -15,7 +15,7 @@
} }
</script> </script>
<div class="md:hidden fixed top-0 left-0 w-full h-16 bg-white/80 dark:bg-zinc-800/70 backdrop-blur-lg z-50"> <div class="md:hidden relative top-0 left-0 w-full h-16 bg-white/80 dark:bg-zinc-800/70 backdrop-blur-lg z-50">
{#if !showSearchBox} {#if !showSearchBox}
<button class="inline-block ml-4 mt-4 dark:text-white"> <button class="inline-block ml-4 mt-4 dark:text-white">
<MenuIcon /> <MenuIcon />

View File

@ -4,7 +4,7 @@ import TitleBar from "@components/TitleBar.astro";
<TitleBar/> <TitleBar/>
<main class="flex flex-col items-center justify-center min-h-screen gap-8"> <main class="flex flex-col items-center justify-center h-full flex-grow gap-8 px-4">
<h1 class="text-4xl font-bold text-center">正在施工中……</h1> <h1 class="text-4xl font-medium text-center">正在施工中……</h1>
<p>在搜索栏输入BV号或AV号可以查询目前数据库收集到的信息~</p> <p>在搜索栏输入BV号或AV号可以查询目前数据库收集到的信息~</p>
</main> </main>

View File

@ -0,0 +1,15 @@
---
import TitleBar from "@components/TitleBar.astro";
import Layout from '@layouts/Layout.astro';
import Footer from "./Footer.astro";
---
<Layout>
<TitleBar/>
<main class="flex flex-col items-center flex-grow gap-8 md:mt-12 relative z-0">
<div class="w-full lg:w-2/3 xl:w-1/2 content px-8 md:px-12 lg:px-0">
<slot/>
</div>
</main>
<Footer/>
</Layout>

View File

@ -0,0 +1,10 @@
<footer class="py-6">
<div class="container mx-auto text-center">
<ul class="flex justify-center space-x-4">
<li><a href="/about">关于</a></li>
<li><a href="#">服务</a></li>
<li><a href="#">隐私政策</a></li>
<li><a href="#">联系我们</a></li>
</ul>
</div>
</footer>

View File

@ -0,0 +1,3 @@
---
---

View File

@ -1,5 +1,7 @@
--- ---
import "../styles/global.css"; import "../styles/global.css";
const { title } = Astro.props;
const pageTitle = title ? title + ' - 中V档案馆' :'中V档案馆';
--- ---
<!doctype html> <!doctype html>
@ -7,9 +9,9 @@ import "../styles/global.css";
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>中V档案馆</title> <title>{pageTitle}</title>
</head> </head>
<body class="dark:bg-zinc-900 dark:text-zinc-100"> <body class="dark:bg-zinc-900 dark:text-zinc-100 min-h-screen flex flex-col">
<slot /> <slot />
</body> </body>
</html> </html>

View File

@ -0,0 +1,12 @@
---
import Layout from "@layouts/Layout.astro";
import Content from "@layouts/Content.astro";
---
<Layout title="开源许可">
<Content>
中V档案馆运行着开源软件它的前端、后端和其它组件的代码在
<a href="https://www.gnu.org/licenses/agpl-3.0.html">AGPL 3.0</a>
开源许可下授权。
</Content>
</Layout>

View File

@ -7,8 +7,8 @@ import "../styles/content.css";
<Layout> <Layout>
<TitleBar/> <TitleBar/>
<main class="flex flex-col items-center min-h-screen gap-8 mt-36 relative z-0"> <main class="flex flex-col items-center min-h-screen gap-8 md:mt-12 relative z-0">
<div class="lg:w-1/2 content"> <div class="w-full lg:w-2/3 xl:w-1/2 content px-8 md:px-12 lg:px-0">
<AboutContent/> <AboutContent/>
</div> </div>
</main> </main>

View File

@ -0,0 +1,9 @@
---
import Layout from "@layouts/Layout.astro";
---
<Layout title="注册">
<main class="relative flex-grow pt-36">
<h1>欢迎</h1>
</main>
</Layout>

View File

@ -100,57 +100,57 @@ interface Snapshot {
<Layout> <Layout>
<TitleBar /> <TitleBar />
<main class="flex flex-col items-center min-h-screen gap-8 mt-36 relative z-0"> <main class="flex flex-col items-center min-h-screen gap-8 mt-6 relative z-0 overflow-x-auto">
<div class="max-w-4xl mx-auto rounded-lg p-6"> <div class="max-w-4xl mx-auto rounded-lg p-6">
<h1 class="text-2xl font-bold mb-4">视频信息: <a href={`https://www.bilibili.com/video/av${aid}`} class="underline">av{aid}</a></h1> <h1 class="text-2xl font-medium mb-4">视频信息: <a href={`https://www.bilibili.com/video/av${aid}`} class="underline ">av{aid}</a></h1>
<div class="mb-6 p-4 rounded-lg"> <div class="mb-6 p-4 rounded-lg">
<h2 class="text-xl font-semibold mb-8">基本信息</h2> <h2 class="text-xl font-medium mb-8">基本信息</h2>
<div class="overflow-x-auto"> <div class="overflow-x-auto max-w-full">
<table class="table-auto w-full"> <table class="table-auto w-full">
<tbody> <tbody>
<tr> <tr>
<td class="border dark:border-zinc-500 px-4 py-2 font-bold">ID</td> <td class="border dark:border-zinc-500 px-4 py-2 font-semibold">ID</td>
<td class="border dark:border-zinc-500 px-4 py-2">{videoInfo?.id}</td> <td class="border dark:border-zinc-500 px-4 py-2">{videoInfo?.id}</td>
</tr> </tr>
<tr> <tr>
<td class="border dark:border-zinc-500 px-4 py-2 font-bold">AID</td> <td class="border dark:border-zinc-500 px-4 py-2 font-semibold">AID</td>
<td class="border dark:border-zinc-500 px-4 py-2">{videoInfo?.aid}</td> <td class="border dark:border-zinc-500 px-4 py-2">{videoInfo?.aid}</td>
</tr> </tr>
<tr> <tr>
<td class="border dark:border-zinc-500 px-4 py-2 font-bold">BVID</td> <td class="border dark:border-zinc-500 px-4 py-2 font-semibold">BVID</td>
<td class="border dark:border-zinc-500 px-4 py-2">{videoInfo?.bvid}</td> <td class="border dark:border-zinc-500 px-4 py-2">{videoInfo?.bvid}</td>
</tr> </tr>
<tr> <tr>
<td class="border dark:border-zinc-500 px-4 py-2 font-bold">标题</td> <td class="border dark:border-zinc-500 px-4 py-2 font-[470]">标题</td>
<td class="border dark:border-zinc-500 px-4 py-2">{videoInfo?.title}</td> <td class="border dark:border-zinc-500 px-4 py-2">{videoInfo?.title}</td>
</tr> </tr>
<tr> <tr>
<td class="border dark:border-zinc-500 px-4 py-2 font-bold">描述</td> <td class="border dark:border-zinc-500 px-4 py-2 font-[470]">描述</td>
<td class="border dark:border-zinc-500 px-4 py-2">{videoInfo?.description}</td> <td class="border dark:border-zinc-500 px-4 py-2">{videoInfo?.description}</td>
</tr> </tr>
<tr> <tr>
<td class="border dark:border-zinc-500 px-4 py-2 font-bold">UID</td> <td class="border dark:border-zinc-500 px-4 py-2 font-semibold">UID</td>
<td class="border dark:border-zinc-500 px-4 py-2">{videoInfo?.uid}</td> <td class="border dark:border-zinc-500 px-4 py-2">{videoInfo?.uid}</td>
</tr> </tr>
<tr> <tr>
<td class="border dark:border-zinc-500 px-4 py-2 font-bold">标签</td> <td class="border dark:border-zinc-500 px-4 py-2 font-[470]">标签</td>
<td class="border dark:border-zinc-500 px-4 py-2">{videoInfo?.tags}</td> <td class="border dark:border-zinc-500 px-4 py-2">{videoInfo?.tags}</td>
</tr> </tr>
<tr> <tr>
<td class="border dark:border-zinc-500 px-4 py-2 font-bold">发布时间</td> <td class="border dark:border-zinc-500 px-4 py-2 font-[470]">发布时间</td>
<td class="border dark:border-zinc-500 px-4 py-2">{videoInfo?.published_at ? format(new Date(videoInfo.published_at), 'yyyy-MM-dd HH:mm:ss', { locale: zhCN }) : '-'}</td> <td class="border dark:border-zinc-500 px-4 py-2">{videoInfo?.published_at ? format(new Date(videoInfo.published_at), 'yyyy-MM-dd HH:mm:ss', { locale: zhCN }) : '-'}</td>
</tr> </tr>
<tr> <tr>
<td class="border dark:border-zinc-500 px-4 py-2 font-bold">时长 (秒)</td> <td class="border dark:border-zinc-500 px-4 py-2 font-[470]">时长 (秒)</td>
<td class="border dark:border-zinc-500 px-4 py-2">{videoInfo?.duration}</td> <td class="border dark:border-zinc-500 px-4 py-2">{videoInfo?.duration}</td>
</tr> </tr>
<tr> <tr>
<td class="border dark:border-zinc-500 px-4 py-2 font-bold">创建时间</td> <td class="border dark:border-zinc-500 px-4 py-2 font-[470]">创建时间</td>
<td class="border dark:border-zinc-500 px-4 py-2">{videoInfo?.created_at ? format(new Date(videoInfo.created_at), 'yyyy-MM-dd HH:mm:ss', { locale: zhCN }) : '-'}</td> <td class="border dark:border-zinc-500 px-4 py-2">{videoInfo?.created_at ? format(new Date(videoInfo.created_at), 'yyyy-MM-dd HH:mm:ss', { locale: zhCN }) : '-'}</td>
</tr> </tr>
<tr> <tr>
<td class="border dark:border-zinc-500 px-4 py-2 font-bold">封面</td> <td class="border dark:border-zinc-500 px-4 py-2 font-[470]">封面</td>
<td class="border dark:border-zinc-500 px-4 py-2">{videoInfo?.cover_url ? videoInfo.cover_url : '-'}</td> <td class="border dark:border-zinc-500 px-4 py-2">{videoInfo?.cover_url ? videoInfo.cover_url : '-'}</td>
</tr> </tr>
</tbody> </tbody>
@ -159,20 +159,20 @@ interface Snapshot {
</div> </div>
<div class="p-4 rounded-lg"> <div class="p-4 rounded-lg">
<h2 class="text-xl font-semibold mb-4">播放量历史数据</h2> <h2 class="text-xl font-medium mb-4">播放量历史数据</h2>
{snapshots && snapshots.length > 0 ? ( {snapshots && snapshots.length > 0 ? (
<div class="overflow-x-auto"> <div class="overflow-x-auto">
<table class="table-auto w-full"> <table class="table-auto w-full">
<thead> <thead>
<tr> <tr>
<th class="border dark:border-zinc-500 px-4 py-2">创建时间</th> <th class="border dark:border-zinc-500 px-4 py-2 font-medium">创建时间</th>
<th class="border dark:border-zinc-500 px-4 py-2">观看</th> <th class="border dark:border-zinc-500 px-4 py-2 font-medium">观看</th>
<th class="border dark:border-zinc-500 px-4 py-2">硬币</th> <th class="border dark:border-zinc-500 px-4 py-2 font-medium">硬币</th>
<th class="border dark:border-zinc-500 px-4 py-2">点赞</th> <th class="border dark:border-zinc-500 px-4 py-2 font-medium">点赞</th>
<th class="border dark:border-zinc-500 px-4 py-2">收藏</th> <th class="border dark:border-zinc-500 px-4 py-2 font-medium">收藏</th>
<th class="border dark:border-zinc-500 px-4 py-2">分享</th> <th class="border dark:border-zinc-500 px-4 py-2 font-medium">分享</th>
<th class="border dark:border-zinc-500 px-4 py-2">弹幕</th> <th class="border dark:border-zinc-500 px-4 py-2 font-medium">弹幕</th>
<th class="border dark:border-zinc-500 px-4 py-2">评论</th> <th class="border dark:border-zinc-500 px-4 py-2 font-medium">评论</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>

BIN
packages/frontend/src/styles/InterFont/Inter-Black.woff2 (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

BIN
packages/frontend/src/styles/InterFont/Inter-Bold.woff2 (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

BIN
packages/frontend/src/styles/InterFont/Inter-ExtraBold.woff2 (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
packages/frontend/src/styles/InterFont/Inter-Italic.woff2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
packages/frontend/src/styles/InterFont/Inter-Light.woff2 (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

BIN
packages/frontend/src/styles/InterFont/Inter-Medium.woff2 (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

BIN
packages/frontend/src/styles/InterFont/Inter-Regular.woff2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
packages/frontend/src/styles/InterFont/Inter-SemiBold.woff2 (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

BIN
packages/frontend/src/styles/InterFont/Inter-Thin.woff2 (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,450 @@
@font-face {
font-family: InterVariable;
font-style: normal;
font-weight: 100 900;
font-display: swap;
src: url("InterVariable.woff2") format("woff2");
}
@font-face {
font-family: InterVariable;
font-style: italic;
font-weight: 100 900;
font-display: swap;
src: url("InterVariable-Italic.woff2") format("woff2");
}
/* static fonts */
@font-face {
font-family: "Inter";
font-style: normal;
font-weight: 100;
font-display: swap;
src: url("Inter-Thin.woff2") format("woff2");
}
@font-face {
font-family: "Inter";
font-style: italic;
font-weight: 100;
font-display: swap;
src: url("Inter-ThinItalic.woff2") format("woff2");
}
@font-face {
font-family: "Inter";
font-style: normal;
font-weight: 200;
font-display: swap;
src: url("Inter-ExtraLight.woff2") format("woff2");
}
@font-face {
font-family: "Inter";
font-style: italic;
font-weight: 200;
font-display: swap;
src: url("Inter-ExtraLightItalic.woff2") format("woff2");
}
@font-face {
font-family: "Inter";
font-style: normal;
font-weight: 300;
font-display: swap;
src: url("Inter-Light.woff2") format("woff2");
}
@font-face {
font-family: "Inter";
font-style: italic;
font-weight: 300;
font-display: swap;
src: url("Inter-LightItalic.woff2") format("woff2");
}
@font-face {
font-family: "Inter";
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("Inter-Regular.woff2") format("woff2");
}
@font-face {
font-family: "Inter";
font-style: italic;
font-weight: 400;
font-display: swap;
src: url("Inter-Italic.woff2") format("woff2");
}
@font-face {
font-family: "Inter";
font-style: normal;
font-weight: 500;
font-display: swap;
src: url("Inter-Medium.woff2") format("woff2");
}
@font-face {
font-family: "Inter";
font-style: italic;
font-weight: 500;
font-display: swap;
src: url("Inter-MediumItalic.woff2") format("woff2");
}
@font-face {
font-family: "Inter";
font-style: normal;
font-weight: 600;
font-display: swap;
src: url("Inter-SemiBold.woff2") format("woff2");
}
@font-face {
font-family: "Inter";
font-style: italic;
font-weight: 600;
font-display: swap;
src: url("Inter-SemiBoldItalic.woff2") format("woff2");
}
@font-face {
font-family: "Inter";
font-style: normal;
font-weight: 700;
font-display: swap;
src: url("Inter-Bold.woff2") format("woff2");
}
@font-face {
font-family: "Inter";
font-style: italic;
font-weight: 700;
font-display: swap;
src: url("Inter-BoldItalic.woff2") format("woff2");
}
@font-face {
font-family: "Inter";
font-style: normal;
font-weight: 800;
font-display: swap;
src: url("Inter-ExtraBold.woff2") format("woff2");
}
@font-face {
font-family: "Inter";
font-style: italic;
font-weight: 800;
font-display: swap;
src: url("Inter-ExtraBoldItalic.woff2") format("woff2");
}
@font-face {
font-family: "Inter";
font-style: normal;
font-weight: 900;
font-display: swap;
src: url("Inter-Black.woff2") format("woff2");
}
@font-face {
font-family: "Inter";
font-style: italic;
font-weight: 900;
font-display: swap;
src: url("Inter-BlackItalic.woff2") format("woff2");
}
@font-face {
font-family: "InterDisplay";
font-style: normal;
font-weight: 100;
font-display: swap;
src: url("InterDisplay-Thin.woff2") format("woff2");
}
@font-face {
font-family: "InterDisplay";
font-style: italic;
font-weight: 100;
font-display: swap;
src: url("InterDisplay-ThinItalic.woff2") format("woff2");
}
@font-face {
font-family: "InterDisplay";
font-style: normal;
font-weight: 200;
font-display: swap;
src: url("InterDisplay-ExtraLight.woff2") format("woff2");
}
@font-face {
font-family: "InterDisplay";
font-style: italic;
font-weight: 200;
font-display: swap;
src: url("InterDisplay-ExtraLightItalic.woff2") format("woff2");
}
@font-face {
font-family: "InterDisplay";
font-style: normal;
font-weight: 300;
font-display: swap;
src: url("InterDisplay-Light.woff2") format("woff2");
}
@font-face {
font-family: "InterDisplay";
font-style: italic;
font-weight: 300;
font-display: swap;
src: url("InterDisplay-LightItalic.woff2") format("woff2");
}
@font-face {
font-family: "InterDisplay";
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("InterDisplay-Regular.woff2") format("woff2");
}
@font-face {
font-family: "InterDisplay";
font-style: italic;
font-weight: 400;
font-display: swap;
src: url("InterDisplay-Italic.woff2") format("woff2");
}
@font-face {
font-family: "InterDisplay";
font-style: normal;
font-weight: 500;
font-display: swap;
src: url("InterDisplay-Medium.woff2") format("woff2");
}
@font-face {
font-family: "InterDisplay";
font-style: italic;
font-weight: 500;
font-display: swap;
src: url("InterDisplay-MediumItalic.woff2") format("woff2");
}
@font-face {
font-family: "InterDisplay";
font-style: normal;
font-weight: 600;
font-display: swap;
src: url("InterDisplay-SemiBold.woff2") format("woff2");
}
@font-face {
font-family: "InterDisplay";
font-style: italic;
font-weight: 600;
font-display: swap;
src: url("InterDisplay-SemiBoldItalic.woff2") format("woff2");
}
@font-face {
font-family: "InterDisplay";
font-style: normal;
font-weight: 700;
font-display: swap;
src: url("InterDisplay-Bold.woff2") format("woff2");
}
@font-face {
font-family: "InterDisplay";
font-style: italic;
font-weight: 700;
font-display: swap;
src: url("InterDisplay-BoldItalic.woff2") format("woff2");
}
@font-face {
font-family: "InterDisplay";
font-style: normal;
font-weight: 800;
font-display: swap;
src: url("InterDisplay-ExtraBold.woff2") format("woff2");
}
@font-face {
font-family: "InterDisplay";
font-style: italic;
font-weight: 800;
font-display: swap;
src: url("InterDisplay-ExtraBoldItalic.woff2") format("woff2");
}
@font-face {
font-family: "InterDisplay";
font-style: normal;
font-weight: 900;
font-display: swap;
src: url("InterDisplay-Black.woff2") format("woff2");
}
@font-face {
font-family: "InterDisplay";
font-style: italic;
font-weight: 900;
font-display: swap;
src: url("InterDisplay-BlackItalic.woff2") format("woff2");
}
@font-feature-values InterVariable {
@character-variant {
cv01: 1;
cv02: 2;
cv03: 3;
cv04: 4;
cv05: 5;
cv06: 6;
cv07: 7;
cv08: 8;
cv09: 9;
cv10: 10;
cv11: 11;
cv12: 12;
cv13: 13;
alt-1: 1; /* Alternate one */
alt-3: 9; /* Flat-top three */
open-4: 2; /* Open four */
open-6: 3; /* Open six */
open-9: 4; /* Open nine */
lc-l-with-tail: 5; /* Lower-case L with tail */
simplified-u: 6; /* Simplified u */
alt-double-s: 7; /* Alternate German double s */
uc-i-with-serif: 8; /* Upper-case i with serif */
uc-g-with-spur: 10; /* Capital G with spur */
single-story-a: 11; /* Single-story a */
compact-lc-f: 12; /* Compact f */
compact-lc-t: 13; /* Compact t */
}
@styleset {
ss01: 1;
ss02: 2;
ss03: 3;
ss04: 4;
ss05: 5;
ss06: 6;
ss07: 7;
ss08: 8;
open-digits: 1; /* Open digits */
disambiguation: 2; /* Disambiguation (with zero) */
disambiguation-except-zero: 4; /* Disambiguation (no zero) */
round-quotes-and-commas: 3; /* Round quotes &amp; commas */
square-punctuation: 7; /* Square punctuation */
square-quotes: 8; /* Square quotes */
circled-characters: 5; /* Circled characters */
squared-characters: 6; /* Squared characters */
}
}
@font-feature-values Inter {
@character-variant {
cv01: 1;
cv02: 2;
cv03: 3;
cv04: 4;
cv05: 5;
cv06: 6;
cv07: 7;
cv08: 8;
cv09: 9;
cv10: 10;
cv11: 11;
cv12: 12;
cv13: 13;
alt-1: 1; /* Alternate one */
alt-3: 9; /* Flat-top three */
open-4: 2; /* Open four */
open-6: 3; /* Open six */
open-9: 4; /* Open nine */
lc-l-with-tail: 5; /* Lower-case L with tail */
simplified-u: 6; /* Simplified u */
alt-double-s: 7; /* Alternate German double s */
uc-i-with-serif: 8; /* Upper-case i with serif */
uc-g-with-spur: 10; /* Capital G with spur */
single-story-a: 11; /* Single-story a */
compact-lc-f: 12; /* Compact f */
compact-lc-t: 13; /* Compact t */
}
@styleset {
ss01: 1;
ss02: 2;
ss03: 3;
ss04: 4;
ss05: 5;
ss06: 6;
ss07: 7;
ss08: 8;
open-digits: 1; /* Open digits */
disambiguation: 2; /* Disambiguation (with zero) */
disambiguation-except-zero: 4; /* Disambiguation (no zero) */
round-quotes-and-commas: 3; /* Round quotes &amp; commas */
square-punctuation: 7; /* Square punctuation */
square-quotes: 8; /* Square quotes */
circled-characters: 5; /* Circled characters */
squared-characters: 6; /* Squared characters */
}
}
@font-feature-values InterDisplay {
@character-variant {
cv01: 1;
cv02: 2;
cv03: 3;
cv04: 4;
cv05: 5;
cv06: 6;
cv07: 7;
cv08: 8;
cv09: 9;
cv10: 10;
cv11: 11;
cv12: 12;
cv13: 13;
alt-1: 1; /* Alternate one */
alt-3: 9; /* Flat-top three */
open-4: 2; /* Open four */
open-6: 3; /* Open six */
open-9: 4; /* Open nine */
lc-l-with-tail: 5; /* Lower-case L with tail */
simplified-u: 6; /* Simplified u */
alt-double-s: 7; /* Alternate German double s */
uc-i-with-serif: 8; /* Upper-case i with serif */
uc-g-with-spur: 10; /* Capital G with spur */
single-story-a: 11; /* Single-story a */
compact-lc-f: 12; /* Compact f */
compact-lc-t: 13; /* Compact t */
}
@styleset {
ss01: 1;
ss02: 2;
ss03: 3;
ss04: 4;
ss05: 5;
ss06: 6;
ss07: 7;
ss08: 8;
open-digits: 1; /* Open digits */
disambiguation: 2; /* Disambiguation (with zero) */
disambiguation-except-zero: 4; /* Disambiguation (no zero) */
round-quotes-and-commas: 3; /* Round quotes &amp; commas */
square-punctuation: 7; /* Square punctuation */
square-quotes: 8; /* Square quotes */
circled-characters: 5; /* Circled characters */
squared-characters: 6; /* Squared characters */
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
packages/frontend/src/styles/InterFont/InterVariable.woff2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
packages/frontend/src/styles/MiSans/MiSans VF.woff2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
packages/frontend/src/styles/MiSans/MiSans-Bold.woff2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
packages/frontend/src/styles/MiSans/MiSans-Demibold.woff2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
packages/frontend/src/styles/MiSans/MiSans-ExtraLight.woff2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
packages/frontend/src/styles/MiSans/MiSans-Heavy.woff2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
packages/frontend/src/styles/MiSans/MiSans-Light.woff2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
packages/frontend/src/styles/MiSans/MiSans-Medium.woff2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
packages/frontend/src/styles/MiSans/MiSans-Normal.woff2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
packages/frontend/src/styles/MiSans/MiSans-Regular.woff2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
packages/frontend/src/styles/MiSans/MiSans-Semibold.woff2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
packages/frontend/src/styles/MiSans/MiSans-Thin.woff2 (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,88 @@
@font-face {
font-family: "MiSans VF";
font-style: normal;
font-weight: 150 700;
font-display: swap;
src: url("MiSans VF.woff2") format("woff2");
}
@font-face {
font-family: "MiSans";
font-style: normal;
font-weight: 100;
font-display: swap;
src: url("MiSans-Thin.woff2") format("woff2");
}
@font-face {
font-family: "MiSans";
font-style: normal;
font-weight: 200;
font-display: swap;
src: url("MiSans-ExtraLight.woff2") format("woff2");
}
@font-face {
font-family: "MiSans";
font-style: normal;
font-weight: 300;
font-display: swap;
src: url("MiSans-Light.woff2") format("woff2");
}
@font-face {
font-family: "MiSans";
font-style: normal;
font-weight: 360;
font-display: swap;
src: url("MiSans-Normal.woff2") format("woff2");
}
@font-face {
font-family: "MiSans";
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("MiSans-Regular.woff2") format("woff2");
}
@font-face {
font-family: "MiSans";
font-style: normal;
font-weight: 500;
font-display: swap;
src: url("MiSans-Medium.woff2") format("woff2");
}
@font-face {
font-family: "MiSans";
font-style: normal;
font-weight: 600;
font-display: swap;
src: url("MiSans-Demibold.woff2") format("woff2");
}
@font-face {
font-family: "MiSans";
font-style: normal;
font-weight: 700;
font-display: swap;
src: url("MiSans-Semibold.woff2") format("woff2");
}
@font-face {
font-family: "MiSans";
font-style: normal;
font-weight: 800;
font-display: swap;
src: url("MiSans-Bold.woff2") format("woff2");
}
@font-face {
font-family: "MiSans";
font-style: normal;
font-weight: 900;
font-display: swap;
src: url("MiSans-Heavy.woff2") format("woff2");
}

View File

@ -9,7 +9,7 @@
h2, h2,
h3, h3,
h4 { h4 {
@apply font-bold text-gray-900 dark:text-white my-4; @apply font-medium text-gray-900 dark:text-white my-4;
} }
h1 { h1 {
@ -33,14 +33,17 @@
} }
a { a {
@apply text-blue-500 hover:text-blue-700 dark:hover:text-blue-400 underline; @apply text-slate-800 dark:text-sky-300 hover:underline;
} }
ul, ul {
ol {
@apply list-disc list-inside my-4; @apply list-disc list-inside my-4;
} }
ol {
@apply list-decimal list-inside my-4;
}
li { li {
@apply my-2; @apply my-2;
} }
@ -67,7 +70,7 @@
} }
th { th {
@apply bg-gray-200 font-bold; @apply bg-gray-200 font-medium;
} }
ul li p, ul li p,
ol li p { ol li p {

View File

@ -1,3 +1,24 @@
@import url('InterFont/Inter.css');
@import url('MiSans/MiSans.css');
@tailwind base; @tailwind base;
@tailwind components; @tailwind components;
@tailwind utilities; @tailwind utilities;
a {
@apply text-[#8f4a50] dark:text-[#ffb2b7];
}
:root {
font-family: "MiSans", "Inter", sans-serif;
font-weight: 400;
}
@supports (font-variation-settings: normal) {
:root {
font-family: "InterVariable", "MiSans VF", sans-serif;
font-optical-sizing: auto;
font-weight: 330;
}
}