Files
hunli/vite-tailwindcss/src/style.css

34 lines
1.1 KiB
CSS
Raw Normal View History

2026-07-31 14:43:54 +08:00
@import "tailwindcss";
2026-08-01 09:15:40 +08:00
@import "@fontsource/great-vibes/400.css";
@import "@fontsource/ma-shan-zheng/400.css";
2026-07-31 14:43:54 +08:00
:root {
--font-sans: "Avenir Next", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
--font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
--font-display: "Didot", "Bodoni 72", "Cormorant Garamond", "Times New Roman", serif;
--font-kai: "Kaiti SC", "STKaiti", "KaiTi", "FangSong", serif;
--font-brush: "HanziPen SC", "STXingkai", "华文行楷", "FZKai-Z03S", "Kaiti SC", "STKaiti", "KaiTi", "FangSong", serif;
2026-08-01 09:15:40 +08:00
--font-calligraphy: "Great Vibes", "Ma Shan Zheng", cursive, serif;
2026-07-31 14:43:54 +08:00
--font-number: "Cochin", "Georgia", "Times New Roman", serif;
}
html,
body {
font-family: var(--font-sans);
2026-08-03 11:04:03 +08:00
/* 图片异步增高时禁止浏览器滚动锚定,避免与自动滚互相拉扯产生抽搐 */
overflow-anchor: none;
2026-07-31 14:43:54 +08:00
}
2026-08-01 09:15:40 +08:00
.calligraphy {
font-family: var(--font-calligraphy) !important;
}
.gallery-subtitle {
font-family: var(--font-calligraphy) !important;
font-weight: bold;
}
.calligraphy-strong {
font-family: var(--font-calligraphy) !important;
font-weight: 700;
}