blob: 91325c9117426953a5ac5b39a0f83ab6c223bd26 [file] [log] [blame]
刘嘉昕441fc372025-06-09 17:47:11 +08001/* src/pages/MainPage.css */
2
3.main-page-wrapper {
4 min-height: 100vh;
5 background-color: #f0f2f5;
6 font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
7}
8
9.main-page-content {
10 max-width: 1200px;
11 margin: 0 auto;
12 padding: 32px 16px;
13}
14
15/* 欢迎区 */
16.main-page-header {
17 margin-bottom: 32px;
18 text-align: center;
19}
20
21.main-page-header h1 {
22 font-size: 32px;
23 color: #333;
24 margin-bottom: 8px;
25}
26
27.main-page-subtitle {
28 font-size: 16px;
29 color: #666;
30}
31
32/* 卡片样式通用区 */
33.card-section {
34 background: #fff;
35 padding: 24px;
36 border-radius: 12px;
37 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
38 margin-bottom: 32px;
39}
40
41.section-title {
42 font-size: 22px;
43 font-weight: 600;
44 margin-bottom: 20px;
45 border-bottom: 1px solid #eaeaea;
46 padding-bottom: 10px;
47}
48
49/* 推荐资源占位样式 */
50.placeholder-box {
51 height: 150px;
52 display: flex;
53 align-items: center;
54 justify-content: center;
55 border: 2px dashed #ccc;
56 border-radius: 8px;
57 background-color: #fafafa;
58}
59
60.placeholder-text {
61 color: #999;
62 font-size: 16px;
63}