-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
150 lines (145 loc) · 2.46 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
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
html {
height: 100%;
}
body {
height: 100%;
margin: 0;
outline: 0;
}
@font-face{
font-family: "Source Han Sans OLD";
src: url("./fonts/SiYuanHeiTiJiuZiXing-Regular-2.ttf");
}
@font-face{
font-family: "LXGW WenKai";
src: url("./fonts/LXGWWenKai-Regular.ttf");
}
.default-theme {
--color-background: #23a0ff;
--color-primary: #1a8ae0;
}
.affection-theme {
--color-background: #ff2391;
--color-primary: #e0197d;
}
.default-theme #like-affection {
display: none;
}
.affection-theme #like-default {
display: none;
}
.root {
display: flex;
height: 100%;
}
.cover {
width: calc(100% - 450px);
background-color: var(--color-background);
transition: all ease-in-out 0.2s;
position: relative;
overflow: hidden;
}
.cover > .banner {
position: absolute;
width: 100%;
height: 100%;
background-color: var(--color-primary);
transition: all ease-in-out 0.2s;
}
.title {
position: absolute;
top: 65%;
left: 100px;
}
.title h1 {
color: #fff;
font-size: 3.5rem;
font-family: "Source Han Sans OLD", sans-serif;
margin: 0;
line-height: 1.3em;
}
.title h2 {
color: #fff;
font-size: 1.5rem;
font-family: "Source Han Sans OLD", sans-serif;
margin: 0;
line-height: 1.3em;
}
.title h2:before {
content: "> ";
font-size: 1.5rem;
font-family: "Source Han Sans OLD", sans-serif;
}
.content {
font-family: "LXGW WenKai", sans-serif;
font-size: 1.75rem;
color: #333;
box-shadow: -1px -1px 1px rgba(0, 0, 0, 0.1);
z-index: 2;
}
.content ul {
margin-left: 20px;
margin-top: 30%;
}
.content ul li {
list-style: none;
line-height: 2em;
}
.content a {
text-decoration: none;
color: var(--color-primary);
}
.icp {
position: fixed;
bottom: 1em;
left: calc(100% - 450px);
width: 450px;
display: flex;
justify-content: center;
z-index: 3;
}
.icp a {
color: #000;
text-decoration: none;
font-family: "LXGW WenKai", sans-serif;
font-size: 1.2rem;
}
@media screen and (max-width: 950px) {
.root {
flex-direction: column;
}
.cover {
width: 100%;
height: calc(100% - 284px);
}
.title {
top: 50%;
left: 0;
width: 100%;
transform: translateY(-50%);
text-align: center;
}
.title h1 {
font-size: 3rem;
}
.title h2 {
font-size: 1.25rem;
}
.content {
font-size: 1.75rem;
}
.content ul {
margin-top: 2rem;
margin-left: 0;
padding-left: 2rem;
}
.icp {
width: 100%;
height: 2em;
top: 0.5em;
left: 0em;
}
.icp a {
color: #fff;
}
}