-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
1,728 additions
and
350 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module.exports = { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* styles/globals.css */ | ||
@import url('https://chinese-fonts-cdn.deno.dev/chinesefonts3/packages/dyh/dist/SmileySans-Oblique/result.css'); | ||
@import url('https://chinese-fonts-cdn.deno.dev/chinesefonts3/packages/lxgwwenkai/dist/LXGWWenKai-Regular/result.css'); | ||
@import url('https://chinese-fonts-cdn.deno.dev/chinesefonts3/packages/jhlst/dist/京華老宋体v1_007/result.css'); | ||
@import url('https://chinese-fonts-cdn.deno.dev/chinesefonts3/packages/mzxst/dist/MZPXorig/result.css'); | ||
@import url('https://chinese-fonts-cdn.deno.dev/chinesefonts3/packages/lxgwmanhei/dist/LXGWMarkerGothic/result.css'); | ||
|
||
/* Tailwind CSS 指令 */ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
body { | ||
user-select: none; | ||
/* 所有现代浏览器 */ | ||
-webkit-user-select: none; | ||
/* Safari */ | ||
-moz-user-select: none; | ||
/* Firefox */ | ||
-ms-user-select: none; | ||
/* IE10+ */ | ||
backdrop-filter: blur(15px); | ||
width: 98vw; | ||
height: 100vh; | ||
margin: 0 auto; | ||
letter-spacing: 1px; | ||
text-align: center; | ||
} | ||
|
||
/* 需要黑白时专用 */ | ||
/* body { filter: grayscale(100%); } */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/** @type {import('tailwindcss').Config} */ | ||
module.exports = { | ||
content: [ | ||
'./pages/**/*.{js,ts,jsx,tsx}', | ||
'./components/**/*.{js,ts,jsx,tsx}', | ||
], | ||
darkMode: 'class', | ||
theme: { | ||
extend: { | ||
fontFamily: { | ||
'smiley': ['Smiley Sans Oblique', 'sans-serif'], | ||
'wenkai': ['LXGW WenKai', 'sans-serif'], | ||
'oldsong': ['KingHwa_OldSong', 'sans-serif'], | ||
'pixel': ['MuzaiPixel', 'sans-serif'], | ||
'marker': ['LXGW Marker Gothic', 'sans-serif'], | ||
}, | ||
}, | ||
}, | ||
plugins: [], | ||
}; |