File size: 1,318 Bytes
415ceb3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/* Global styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --background-color: #f7f9fc;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0,0,0,0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif !important;
    color: #333 !important;
    background-color: var(--background-color) !important;
}

/* 强制应用容器样式 */
.gradio-container {
    max-width: 100% !important;
    padding: 0 !important;
}

/* 确保section样式 */
.section {
    background: white !important;
    border-radius: 15px !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 2px 4px var(--shadow-color) !important;
}

/* 确保卡片样式 */
.concept-card {
    transition: all 0.3s ease !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    margin-bottom: 16px !important;
    cursor: pointer !important;
    background-color: white !important;
    box-shadow: 0 2px 5px var(--shadow-color) !important;
}

.concept-card:hover {
    box-shadow: 0 5px 15px var(--shadow-color) !important;
    transform: translateY(-3px) !important;
}

/* 其他样式保持不变,但添加 !important */