forked from jaywcjlove/handbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
100 lines (87 loc) · 1.63 KB
/
style.css
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
[data-color-mode*='dark'], [data-color-mode*='dark'] body {
color-scheme: dark;
--color-header-bg: #3a3a3a8f;
--color-header-border: #323232;
--color-hover: #ffffff30;
}
[data-color-mode*='light'], [data-color-mode*='light'] body {
color-scheme: light;
--color-header-bg: #ffffff52;
--color-header-border: #d3d3d3;
--color-hover: #f2f2f2;
}
@media screen and (max-width: 1140px) {
.header .inner {
justify-content: center !important;
}
}
body {
margin: 0;
}
dark-mode {
top: 5px !important;
font-size: 14px;
}
markdown-style {
margin-top: 78px !important;
}
github-corners {
width: 32px !important;
height: 32px;
right: 0;
}
.header {
position: fixed;
width: 100%;
background: #fff;
backdrop-filter: saturate(180%) blur(0.4rem);
background-color: var(--color-header-bg);
border-bottom: 1px solid var(--color-header-border);
z-index: 99;
top: 0;
}
.header .inner {
max-width: 960px;
margin: 0 auto;
display: flex;
justify-content: space-between;
padding: 5px 0;
}
.header .logo {
margin-right: 10px;
}
.header .title {
display: flex;
align-items: center;
font-size: 16px;
font-weight: bold;
}
.header .logo img {
height: 26px;
display: block;
}
.footer {
max-width: 960px;
margin: 0 auto;
text-align: center;
padding: 0 0 110px 0;
border-top: 1px solid var(--color-header-border);
padding-top: 18px;
}
.footer a {
font-size: 14px;
text-decoration: initial;
color: #3f51b5;
}
.footer a:hover {
color:#009688;
text-decoration: underline;
}
.footer a + a {
margin-left: 10px;
}
.footer .copyright {
color: #596068;
font-size: 14px;
padding-top: 5px;
}