-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
207 lines (199 loc) · 3.56 KB
/
styles.css
File metadata and controls
207 lines (199 loc) · 3.56 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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
/* Reset & base styles */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
background: linear-gradient(120deg, #f5f7fa 0%, #c3cfe2 100%);
color: #222;
line-height: 1.7;
min-height: 100vh;
padding-bottom: 40px;
}
/* Header */
header {
background: #232946;
color: #fff;
padding: 2rem 0 1rem 0;
box-shadow: 0 2px 8px rgba(35,41,70,0.08);
text-align: center;
}
header h1 {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 0.5rem;
letter-spacing: 1px;
}
nav {
margin-top: 1rem;
}
nav h2 {
font-size: 1.2rem;
font-weight: 500;
margin-bottom: 0.5rem;
}
nav ul {
display: flex;
justify-content: center;
gap: 2rem;
list-style: none;
}
nav a {
color: #eebbc3;
text-decoration: none;
font-weight: 500;
transition: color 0.2s;
}
nav a:hover {
color: #ffd6e0;
text-decoration: underline;
}
/* Main content */
main {
max-width: 900px;
margin: 2rem auto;
background: #fff;
border-radius: 18px;
box-shadow: 0 4px 24px rgba(35,41,70,0.08);
padding: 2rem 2.5rem;
}
section {
margin-bottom: 2.5rem;
}
section h2 {
color: #232946;
font-size: 1.7rem;
margin-bottom: 1rem;
border-bottom: 2px solid #eebbc3;
padding-bottom: 0.3rem;
}
article h3, h4 {
color: #232946;
margin-bottom: 0.5rem;
}
ul, ol {
margin-left: 1.5rem;
margin-bottom: 1rem;
}
li {
margin-bottom: 0.5rem;
}
/* Code & Pre */
code, pre {
font-family: 'Fira Mono', 'Consolas', monospace;
background: #f3f3f3;
color: #232946;
border-radius: 6px;
padding: 0.2em 0.4em;
font-size: 1em;
}
pre {
padding: 1em;
margin: 0.5em 0;
overflow-x: auto;
background: #f7f7fa;
border-left: 4px solid #eebbc3;
}
/* Table */
table {
width: 100%;
border-collapse: collapse;
margin: 1em 0;
background: #f7f7fa;
border-radius: 8px;
overflow: hidden;
}
th, td {
padding: 0.8em 1em;
text-align: left;
}
th {
background: #232946;
color: #fff;
font-weight: 600;
}
td {
border-bottom: 1px solid #eebbc3;
}
tr:last-child td {
border-bottom: none;
}
/* Aside (Pro Tips) */
aside {
background: linear-gradient(90deg, #eebbc3 0%, #ffd6e0 100%);
color: #232946;
border-radius: 12px;
padding: 1.2rem 1.5rem;
margin: 2rem 0;
box-shadow: 0 2px 8px rgba(232,187,195,0.12);
}
aside h3 {
margin-bottom: 0.7rem;
font-size: 1.2rem;
}
aside ul {
list-style: none;
margin-left: 0;
}
aside li {
margin-bottom: 0.5rem;
font-size: 1.05rem;
}
/* Details (FAQ) */
details {
margin-bottom: 1rem;
background: #f3f3f3;
border-radius: 8px;
padding: 0.8rem 1rem;
box-shadow: 0 1px 4px rgba(35,41,70,0.04);
}
summary {
font-weight: 600;
cursor: pointer;
color: #232946;
}
/* Footer */
footer {
background: #232946;
color: #fff;
text-align: center;
padding: 2rem 0 1rem 0;
margin-top: 3rem;
border-radius: 0 0 18px 18px;
}
footer h3 {
font-size: 1.2rem;
margin-bottom: 0.7rem;
}
footer ul {
list-style: none;
margin-left: 0;
margin-bottom: 1rem;
}
footer a {
color: #eebbc3;
text-decoration: none;
transition: color 0.2s;
}
footer a:hover {
color: #ffd6e0;
text-decoration: underline;
}
/* Responsive */
@media (max-width: 700px) {
main {
padding: 1rem;
}
nav ul {
flex-direction: column;
gap: 0.7rem;
}
section h2 {
font-size: 1.2rem;
}
header h1 {
font-size: 1.5rem;
}
}