first commit
This commit is contained in:
40
src/style.css
Normal file
40
src/style.css
Normal file
@@ -0,0 +1,40 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
@layer base {
|
||||
/* 全局基础样式:字体与背景色 */
|
||||
body {
|
||||
@apply bg-warmOffwhite text-stone-800;
|
||||
font-family: theme('fontFamily.sans');
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
@layer utilities {
|
||||
/* 隐藏滚动条但保留滚动功能 */
|
||||
.hide-scrollbar::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.hide-scrollbar {
|
||||
-ms-overflow-style: none;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
/* 暖色玻璃拟态卡片 */
|
||||
.glass-warm {
|
||||
background: rgba(255, 255, 255, 0.85);
|
||||
backdrop-filter: blur(16px);
|
||||
-webkit-backdrop-filter: blur(16px);
|
||||
border: 1px solid rgba(255, 241, 235, 0.6);
|
||||
}
|
||||
|
||||
/* 暖色渐变文字 */
|
||||
.text-gradient-warm {
|
||||
background-image: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
|
||||
-webkit-background-clip: text;
|
||||
color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user