@import "tailwindcss"; @import "@fontsource/great-vibes/400.css"; @import "@fontsource/ma-shan-zheng/400.css"; :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; --font-calligraphy: "Great Vibes", "Ma Shan Zheng", cursive, serif; --font-number: "Cochin", "Georgia", "Times New Roman", serif; } html, body { font-family: var(--font-sans); /* 图片异步增高时禁止浏览器滚动锚定,避免与自动滚互相拉扯产生抽搐 */ overflow-anchor: none; } .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; }