Howieeeee commited on
Commit
b955c3e
·
verified ·
1 Parent(s): c1f740b

Create style.css

Browse files
Files changed (1) hide show
  1. style.css +131 -0
style.css ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Intro Section */
2
+ .intro h1 {
3
+ font-size: 2rem;
4
+ font-weight: 800;
5
+ margin-bottom: 8px;
6
+ color: #ffffff;
7
+ }
8
+
9
+ .intro-links {
10
+ margin-bottom: 12px;
11
+ font-size: 1rem;
12
+ }
13
+
14
+ .intro-links a {
15
+ color: #60a5fa;
16
+ text-decoration: none;
17
+ font-weight: 600;
18
+ }
19
+ .intro-links a:hover {
20
+ text-decoration: underline;
21
+ }
22
+
23
+ .intro-text {
24
+ color: #d1d5db;
25
+ font-size: 1rem;
26
+ margin-top: 6px;
27
+ line-height: 1.5rem;
28
+ }
29
+
30
+ .divider {
31
+ margin: 20px 0;
32
+ border: none;
33
+ height: 1px;
34
+ background-color: #374151;
35
+ }
36
+
37
+
38
+ body {
39
+ margin: 0;
40
+ padding: 0;
41
+ font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
42
+ background-color: #0b1120;
43
+ color: #e5e7eb;
44
+ }
45
+
46
+ .page {
47
+ padding: 24px 32px 40px 32px;
48
+ }
49
+
50
+ .title {
51
+ font-size: 2rem;
52
+ font-weight: 800;
53
+ margin: 0 0 4px 0;
54
+ }
55
+
56
+ .subtitle {
57
+ margin: 0 0 16px 0;
58
+ color: #9ca3af;
59
+ font-size: 0.95rem;
60
+ }
61
+
62
+ .table-container {
63
+ margin-top: 12px;
64
+ overflow-x: auto;
65
+ }
66
+
67
+ /* 基础表格样式,简单一点 */
68
+ .ws-table {
69
+ border-collapse: collapse;
70
+ width: 100%;
71
+ min-width: 1200px;
72
+ background-color: #ffffff;
73
+ color: #111827;
74
+ font-size: 0.9rem;
75
+ }
76
+
77
+ .ws-table th,
78
+ .ws-table td {
79
+ border: 1px solid #d1d5db;
80
+ padding: 6px 8px;
81
+ text-align: center;
82
+ white-space: nowrap;
83
+ }
84
+
85
+ .ws-table th {
86
+ background-color: #e5e7eb;
87
+ font-weight: 600;
88
+ }
89
+
90
+ /* Model Name 列:保持一行 & 悬浮在左侧(sticky) */
91
+ .ws-table th:first-child,
92
+ .ws-table td:first-child {
93
+ position: sticky; /* 悬浮 */
94
+ left: 0; /* 固定在最左边 */
95
+ z-index: 3; /* 保证不被其他列遮挡 */
96
+ background-color: #ffffff; /* 表格背景色,一定要设,否则会透明 */
97
+ white-space: nowrap; /* 不换行 */
98
+ }
99
+
100
+
101
+ /* Model Name 列:宽度根据内容自动展开,不换行 */
102
+ .ws-table th:first-child,
103
+ .ws-table td:first-child {
104
+ white-space: nowrap; /* 不换行 */
105
+ width: max-content; /* 自动根据内容宽度展开 */
106
+ max-width: none; /* 禁止压缩 */
107
+ }
108
+
109
+
110
+ /* model name 链接样式 */
111
+ .ws-table td:first-child a {
112
+ color: #1d4ed8;
113
+ text-decoration: none;
114
+ font-weight: 600;
115
+ }
116
+ .ws-table td:first-child a:hover {
117
+ text-decoration: underline;
118
+ }
119
+
120
+ .ws-table th:nth-child(2),
121
+ .ws-table th:nth-child(3) {
122
+ background-color: #ffe5e5; /* 浅红背景 */
123
+ color: #b91c1c; /* 深红文字 */
124
+ font-weight: 700;
125
+ }
126
+
127
+
128
+ /* 表头可点击(之后加排序) */
129
+ .ws-table th.sortable {
130
+ cursor: pointer;
131
+ }