Refactor code structure for improved readability and maintainability
This commit is contained in:
+53
-1
@@ -1 +1,53 @@
|
||||
@import "tailwindcss";
|
||||
@import "tailwindcss";
|
||||
|
||||
@theme {
|
||||
--font-sans: var(--font-tiktok), sans-serif;
|
||||
--font-mono: var(--font-mono), monospace;
|
||||
--font-mono-2: var(--font-mono-2), monospace;
|
||||
|
||||
--color-l1: rgba(0, 0, 0, 1);
|
||||
--color-l2: rgba(54, 54, 48, 0.6);
|
||||
--color-l3: rgba(54, 54, 48, 0.32);
|
||||
--color-line: rgba(54, 54, 48, 0.1);
|
||||
--color-b1: rgb(251, 250, 244);
|
||||
--color-be: #efede7;
|
||||
--color-selection: #c0fe04;
|
||||
}
|
||||
|
||||
:root {
|
||||
--bg-color: rgb(251, 250, 244);
|
||||
--text-color: rgba(0, 0, 0, 1);
|
||||
--grid-dot: rgba(54, 54, 48, 0.1);
|
||||
--selection-bg: #c0fe04;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
background-color: var(--bg-color);
|
||||
color: var(--text-color);
|
||||
font-family: var(--font-sans);
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
min-height: 100vh;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
::selection {
|
||||
background-color: var(--selection-bg);
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/* 核心:点阵网格背景 */
|
||||
.bg-dot-grid {
|
||||
background-size: 24px 24px;
|
||||
background-image: radial-gradient(circle, var(--grid-dot) 1px, transparent 1px);
|
||||
}
|
||||
|
||||
.no-scrollbar {
|
||||
scrollbar-width: none;
|
||||
-ms-overflow-style: none;
|
||||
}
|
||||
.no-scrollbar::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
Reference in New Issue
Block a user