blob: a19f9e970edd7623feac35e104eda3cfd9be7a18 [file] [log] [blame]
2230100953d46ca2025-04-15 21:25:18 +08001/* Header 样式 */
223010095b28c672025-04-10 20:12:45 +08002.header {
2230100953d46ca2025-04-15 21:25:18 +08003 display: flex;
4 justify-content: space-between;
5 align-items: center;
223010091e2aea72025-06-08 16:35:54 +08006 padding: 10px 20px;
Krishyadbfadaa2025-06-09 20:33:15 +08007 background-color: #6c3e28; /* 深棕色背景 */
223010091e2aea72025-06-08 16:35:54 +08008 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
2230100953d46ca2025-04-15 21:25:18 +08009}
10
11/* Logo 和网站名称 */
12.logo-and-name {
13 display: flex;
14 align-items: center;
15}
16
17.logo {
18 height: 40px;
19 margin-right: 10px;
20}
21
22.site-name {
223010091e2aea72025-06-08 16:35:54 +080023 font-size: 32px;
2230100953d46ca2025-04-15 21:25:18 +080024 font-weight: bold;
223010091e2aea72025-06-08 16:35:54 +080025 color: #fbf2e3; /* 柔和淡米色字体 */
2230100953d46ca2025-04-15 21:25:18 +080026}
27
28/* 用户头像和消息中心 */
29.user-and-message {
30 display: flex;
31 align-items: center;
32}
33
34.user-avatar {
35 height: 50px;
223010091e2aea72025-06-08 16:35:54 +080036 width: 50px;
37 border-radius: 50%;
2230100953d46ca2025-04-15 21:25:18 +080038 margin-right: 10px;
39}
40
41.message-center {
42 font-size: 24px;
223010091e2aea72025-06-08 16:35:54 +080043 color: #fbf2e3;
2230100953d46ca2025-04-15 21:25:18 +080044 cursor: pointer;
223010091e2aea72025-06-08 16:35:54 +080045 transition: color 0.3s ease;
2230100953d46ca2025-04-15 21:25:18 +080046}
47
48.message-center:hover {
223010091e2aea72025-06-08 16:35:54 +080049 color: #eecfc1; /* 清透粉 hover */
2230100953d46ca2025-04-15 21:25:18 +080050}
51
52/* 导航栏样式 */
53.nav {
54 display: flex;
55 justify-content: center;
223010091e2aea72025-06-08 16:35:54 +080056 background-color: #fffaf7; /* 粉米底 */
57 box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
58 border-bottom: 2px solid #e2cfc3;
2230100953d46ca2025-04-15 21:25:18 +080059}
60
61/* 每个导航项 */
62.nav-item {
63 padding: 14px 12px;
64 text-decoration: none;
223010091e2aea72025-06-08 16:35:54 +080065 color: #6b4f3b; /* 主文字棕色 */
2230100953d46ca2025-04-15 21:25:18 +080066 font-size: 18px;
67 font-weight: 500;
68 text-align: center;
223010091e2aea72025-06-08 16:35:54 +080069 border-radius: 8px;
70 transition: background-color 0.3s, color 0.3s, transform 0.3s ease;
71 position: relative;
2230100953d46ca2025-04-15 21:25:18 +080072}
73
2230100953d46ca2025-04-15 21:25:18 +080074.nav-item:hover {
223010091e2aea72025-06-08 16:35:54 +080075 background-color: #f3ded7; /* 柔粉 hover 背景 */
76 color: #4b3325;
77 transform: scale(1.05);
2230100953d46ca2025-04-15 21:25:18 +080078}
79
80/* 选中状态 */
81.nav-item.active {
223010091e2aea72025-06-08 16:35:54 +080082 background-color: #eecfc1;
83 color: #3c271b;
2230100953d46ca2025-04-15 21:25:18 +080084 font-weight: bold;
223010091e2aea72025-06-08 16:35:54 +080085 border-radius: 16px;
86 padding: 4px 12px;
87 box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
88 transform: scale(1.1);
89 line-height: 40px;
2230100953d46ca2025-04-15 21:25:18 +080090}
223010091e2aea72025-06-08 16:35:54 +080091
223010093d8132e2025-06-07 11:34:38 +080092/* 新手指南按钮 */
93.guide-button {
94 display: flex;
95 align-items: center;
223010091e2aea72025-06-08 16:35:54 +080096 background-color: #eecfc1; /* 清透粉底色 */
97 color: #4e342e; /* 深棕文字 */
223010093d8132e2025-06-07 11:34:38 +080098 border: none;
99 border-radius: 20px;
100 padding: 6px 12px;
101 font-size: 16px;
102 font-weight: 500;
103 cursor: pointer;
104 transition: background-color 0.3s ease, transform 0.2s ease;
105}
106
107.guide-button:hover {
223010091e2aea72025-06-08 16:35:54 +0800108 background-color: #f3ded7; /* 更柔和 hover */
223010093d8132e2025-06-07 11:34:38 +0800109 transform: scale(1.05);
110}
111
112.guide-button span {
113 user-select: none;
114}