blob: 5d17275121a0327e34ae4b77fb0edb22396e0b62 [file] [log] [blame]
22301009ecc1c1c2025-04-09 21:56:23 +08001 .main-page {
2 background-color: #5c3f31;
3 color: white;
4 }
5
6 .header {
7 display: flex;
8 justify-content: space-between;
9 align-items: center;
10 padding: 10px;
11 }
12
13 .logo-and-name {
14 display: flex;
15 align-items: center;
16 }
17
18 .logo {
19 height: 30px;
20 margin-right: 10px;
21 }
22
23 .site-name {
24 font-size: 24px;
25 }
26
27 .user-and-message {
28 display: flex;
29 align-items: center;
30 }
31
32 .user-avatar {
33 height: 40px;
34 margin-right: 10px;
35 }
36
37 .message-center {
38 font-size: 16px;
39 }
40
41 .nav {
42 background-color: #b38867;
43 display: flex;
44 justify-content: center;
45 }
46
47 .nav-item {
48 color: white;
49 text-decoration: none;
50 padding: 10px 20px;
51 }
52
53 .active {
54 background-color: #996633;
55 }
56
57 /* 搜索、排序控件 */
58 .controls {
59 display: flex;
60 justify-content: center;
61 gap: 16px;
62 padding: 10px 20px;
63 background-color: #704c3b;
64 }
65
66 .search-input {
67 padding: 6px 10px;
68 border-radius: 6px;
69 border: none;
70 width: 200px;
71 }
72
73 .sort-select {
74 padding: 6px;
75 border-radius: 6px;
76 border: none;
77 }
78
79 /* 标签过滤 */
80 .tag-filters {
81 display: flex;
82 justify-content: center;
83 flex-wrap: wrap;
84 gap: 8px;
85 padding: 10px;
86 }
87
88 .tag-button {
89 background-color: #b38867;
90 color: white;
91 border: none;
92 border-radius: 20px;
93 padding: 6px 12px;
94 cursor: pointer;
95 }
96
97 .active-tag {
98 background-color: #d17c4f;
99 }
100
101 /* 卡片展示 */
102 .seed-list-content {
103 padding: 20px;
104 }
105
106 .seed-cards {
107 display: grid;
108 grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
109 gap: 20px;
110 }
111
112 .seed-card {
113 background-color: #fff;
114 border-radius: 12px;
115 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
116 padding: 16px;
117 display: flex;
118 flex-direction: column;
119 justify-content: space-between;
120 color: #333;
121 transition: transform 0.2s ease;
122 }
123
124 .seed-card:hover {
125 transform: translateY(-5px);
126 }
127
128 .seed-card-header h3 {
129 font-size: 1.2rem;
130 margin-bottom: 10px;
131 color: #333;
132 }
133
134 .seed-card-body p {
135 margin: 4px 0;
136 font-size: 0.95rem;
137 color: #666;
138 }
139
140 .seed-card-actions {
141 display: flex;
142 gap: 10px;
143 margin-top: 12px;
144 }
145
146 .btn-primary,
147 .btn-secondary,
148 .btn-outline {
149 padding: 6px 12px;
150 border: none;
151 border-radius: 6px;
152 cursor: pointer;
153 font-size: 0.9rem;
154 }
155
156 .btn-primary {
157 background-color: #007bff;
158 color: white;
159 }
160
161 .btn-secondary {
162 background-color: #28a745;
163 color: white;
164 text-decoration: none;
165 text-align: center;
166 }
167
168 .btn-outline {
169 background-color: transparent;
170 border: 1px solid #ccc;
171 color: #333;
172 }
173