💄 Build basic page framework

This commit is contained in:
landaiqing committed 2025-04-24 18:13:48 +08:00
1 parent e8b5478bec
commit 72c2666932
32 files changed
+2996 -139

No files matched your search

+1
View File
@@ -0,0 +1 @@
+3
View File
@@ -0,0 +1,3 @@
/* 导入所有CSS文件 */
@import 'normalize.css';
@import 'variables.css';
+15
View File
@@ -346,3 +346,18 @@ template {
[hidden] {
display: none;
}
/* 添加全局样式,确保编辑器可以全屏显示 */
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
}
/* 确保所有容器都能继承高度 */
#app {
width: 100%;
height: 100%;
}
-26
View File
@@ -1,26 +0,0 @@
html {
background-color: rgba(27, 38, 54, 1);
text-align: center;
color: white;
}
body {
margin: 0;
color: white;
font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
"Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
}
@font-face {
font-family: "Nunito";
font-style: normal;
font-weight: 400;
src: local(""),
url("../fonts/nunito-v16-latin-regular.woff2") format("woff2");
}
#app {
height: 100vh;
text-align: center;
}
+12
View File
@@ -0,0 +1,12 @@
:root {
/* 主题颜色 */
--bg-secondary: #0E1217; /* 工具栏背景 */
/* 文本颜色 */
--text-primary: #9BB586; /* 内容区域字体颜色 */
--text-secondary: #a0aec0;
--text-muted: #666;
/* 边框颜色 */
--border-color: #2d3748;
}