-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobal.css
100 lines (87 loc) · 1.75 KB
/
global.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
body,
html {
background: #0f0f0f;
margin: 0;
padding: 0;
font-family: 'Open Sans', sans-serif;
}
header {
margin-top: 3em;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
}
header > img {
border-radius: 100%;
width: 7em;
height: 7em;
border: 2px solid white;
box-shadow: black 0px 2px 8px 0px;
}
header > h1 {
display: inline-block;
font-size: 0.8em;
font-weight: bold;
border-radius: 1em;
background-color: #000a;
color: #fff;
padding: 0.3em 0.6em;
border: 1px solid #fffa;
backdrop-filter: blur(9px) contrast(180%);
-webkit-backdrop-filter: blur(9px) contrast(180%);
}
main {
position: relative;
bottom: -100em;
transition: bottom 1s ease-in-out;
}
ul {
box-sizing: border-box;
list-style: none;
margin: 0 auto;
padding: 2em;
max-width: 480px;
}
ul > li {
background-color: #fffa;
backdrop-filter: blur(10px) contrast(180%);
-webkit-backdrop-filter: blur(10px) contrast(180%);
border-radius: 10em;
padding: 1em;
margin: 1.4em;
box-shadow: #999a 8px 8px 0px 0px;
-webkit-box-shadow: #999a 8px 8px 0px 0px;
transition: 0.07s;
}
ul > li:hover {
background-color: #fffc;
}
ul > li:active {
box-shadow: #999a 5px 5px 0px 0px;
-webkit-box-shadow: #999a 5px 5px 0px 0px;
transform: translate(0.3em, 0.3em);
-webkit-transform: translate(0.3em, 0.3em);
}
ul > ul > li {
margin: 0;
}
ul > li > a {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
gap: 0.5em;
}
ul > li > a > img {
width: 25px;
}
canvas {
position: fixed;
height: 100%;
width: 100%;
}
a {
text-decoration: none;
color: black;
}