Repository navigation
Expand file tree
/
Copy pathmain.css
More file actions
191 lines (190 loc) · 3.68 KB
/
Copy pathmain.css
File metadata and controls
191 lines (190 loc) · 3.68 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
/* ///Color selector/// */
/*
:root {
--color-tm-light: #f1f1f1;
--color-tm-dark: #333;
--color-bg-dark: #2e3338;
--color-bg-light: white;
--color-word-dark: #eee;
--color-word-light: black;
--color-nav-content-dark: #eee;
--color-nav-content-light: #333;
}
@media (prefers-color-scheme: dark) {
:root {
--color-nav: var(--color-tm-dark);
--color-nav-content: var(--color-nav-content-dark);
--color-bg: var(--color-bg-dark);
--color-word: var(--color-word-dark);
}
}
@media (prefers-color-scheme: light) {
:root {
--color-nav: var(--color-tm-light);
--color-nav-content: var(--color-nav-content-light);
--color-bg: var(--color-bg-light);
--color-word: var(--color-word-light);
}
}*/
/* 还没搞好主题切换,先这样了。 */
:root {
--color-nav: #333;
--color-bg: #2e3338;
--color-word: #eee;
--color-nav-content: #eee;
}
/* ///Main style/// */
* {
font-family: Arial, Helvetica, sans-serif;
}
html {
background-color: var(--color-bg);
}
a {
font-weight: 500;
}
p, b, i, center, th, td, ol, ul, h1, h2, h3, h4, h5, h6 {
color: var(--color-word);
}
small {
color: rgb(150, 150, 150);
}
body {
margin: 0;
}
a:link {
color: #129FF6;
text-decoration: none;
}
a:visited {
color: #129FF6;
text-decoration: none;
}
a:hover {
color: #129FF6;
text-decoration: underline;
}
a:active {
color: #129FF6;
text-decoration: underline;
}
table {
width: 100%;
border-spacing: 0;
border-left: #999 solid .8px;
border-right: #999 solid .8px;
}
table td {
padding: 10px 30px;
border-bottom: 1px solid #999;
border-right: 1px solid #999;
}
table th {
padding: 10px 30px;
border-top: 1px solid #999;
border-bottom: 1px solid #999;
}
img {
width: 30%;
padding-bottom: 16px;
}
@media only screen and (max-width: 576px) {
img {
width: 100%
}
}
hr {
border: #999 solid 1px;
}
red {
color: rgb(200, 100, 100)
}
gold {
color: rgb(230, 230, 70)
}
.container {
padding-left: 20px;
padding-right: 20px;
}
.fixed {
position: sticky;
position: -webkit-sticky;
top: 0;
}
.center {
position: absolute;
left: 50%;
transform: translateX(-50%);
}
.right {
float: right;
}
.top {
top: 0;
}
.underline {
text-decoration: underline;
}
.wd-center {
text-align: center;
}
.size1 {font-size: 5px;}
.size2 {font-size: 10px;}
.size3 {font-size: 15px;}
.size4 {font-size: 20px;}
.size5 {font-size: 25px;}
.size6 {font-size: 30px;}
.size7 {font-size: 35px;}
.size8 {font-size: 40px;}
.navbar {
overflow: hidden;
background-color: var(--color-nav);
box-shadow: 0px 3px 3px #4B4B4A;
opacity: 0.85;
}
.navbar a {
float: left;
display: block;
color: var(--color-nav-content);
text-align: center;
padding: 14px 20px;
}
.navbar > a:hover {
color: #eee;
background-color: darkgrey;
}
.card {
border: #d2d2d2 solid .8px;
border-radius: 6px;
box-shadow: 3px 3px 2px lightgray;
padding: 10px;
text-align: center;
display: inline-block;
width: 30%;
color: var(--color-word);
background-color: var(--color-nav);
}
#infocontainer {
display: none; /* 默认隐藏 */
position: fixed; /* 固定定位 */
z-index: 520; /* 设置在顶层 */
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(60, 60, 60, .7);
}
#infobox {
border: #4B4B4A solid .9px;
border-radius: 8px;
width: 80%;
height: auto;
overflow: auto;
background-color: #eee;
padding: 20px;
margin: 10% auto;
}
.black {
color: var(--color-nav);
}