-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
165 lines (165 loc) · 2.44 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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
* {
scroll-behavior: smooth;
padding: 0;
margin: 0;
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
box-sizing: border-box;
}
html {
-webkit-text-size-adjust: 100%;
color: #111;
background: #f5f5f5;
overflow-x: hidden;
text-align: center;
}
body {
margin: 0;
padding: 0;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: space-between;
}
header,
footer {
background: #222;
padding: 5px;
margin: 0;
color: #fff;
text-align: left;
text-align: center;
}
header h1 {
font-size: 43px;
margin: 5px;
padding: 5px;
border-block: 1px solid #fff;
}
main {
flex-grow: 1;
padding: 40px 20px;
max-width: 900px;
margin: auto;
padding: 30px 16%;
color: #225;
animation: fade 1s;
}
h2 {
font-size: 30px;
margin: 20px 0;
}
p {
font-size: 18px;
line-height: 1.6;
margin-bottom: 20px;
}
a {
color: #522;
font-size: 18px;
}
a:hover {
color: #08f;
}
ul {
margin-left: 0;
padding-left: 0;
list-style: none;
}
li {
font-size: 18px;
margin: 10px 0;
position: relative;
padding-left: 20px;
}
li::before {
content: "::";
color: #07e;
font-size: 24px;
position: absolute;
left: 0;
top: 0;
line-height: 18px;
}
#logo {
width: 150px;
height: 150px;
border: 4.3px solid #225;
border-radius: 50%;
margin: 20px auto;
padding: 3px;
display: block;
box-shadow: 0 0 10px #669;
}
.content {
background: #fff;
border-radius: 10px;
padding: 10px;
margin: 20px auto;
box-shadow: 2px 3px 5px #1118;
max-width: 400px;
text-align: left;
}
button,
a {
transition: 0.3s;
}
button {
background: #0000;
border: 1px solid #111;
padding: 10px 20px;
color: #111;
font-size: 18px;
border-radius: 5px;
cursor: pointer;
margin-top: 20px;
}
button:hover {
background: #111;
color: #fff;
scale: 1.1;
}
hr {
border: 1px solid #ccb;
margin: 40px 0;
}
@keyframes fade {
0% {
opacity: 0;
translate: 0 30px;
}
100% {
opacity: 1;
translate: 0;
}
}
#bar {
color: #111;
text-align: left;
margin-block: 20px;
}
#bar p {
line-height: 1.3;
margin: 5px 0;
}
#bar div {
margin: 3px 0;
width: 50%;
height: 20px;
background: #aaa;
border-radius: 10px;
position: relative;
overflow: hidden;
}
#bar div::after {
content: "";
position: absolute;
top: 0;
left: 0;
background: #111;
width: 0;
height: 100%;
border-radius: 10px;
}
#bar div[data-lv]::after {
width: calc(var(--lv, 0) * 20%);
}