-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
116 lines (102 loc) · 2.01 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
@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@700&display=swap");
body {
margin: 0;
justify-content: center;
display: flex;
background: #222831;
}
h5 {
font-size: 2rem;
margin: 0;
margin-top: 30px;
margin-bottom: 0;
font-weight: 600;
color: #1e293b;
text-align: center;
text-transform: uppercase;
background: linear-gradient(90deg, #0078ff, #00bfa5);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
letter-spacing: 2px;
}
a {
display: inline-block;
font-size: 1rem;
margin-top: 0.5rem;
color: #d3d3d3;
text-decoration: none;
transition: color 0.3s ease;
text-align: center!important;
align-items: center!important;
border-radius: none;
border: none;
}
a:hover {
color: #f05454;
}
.powered span {
color: #00adb5;
font-weight: 600;
}
hr {
margin-top: 1rem;
height: 3px;
border: none;
background: linear-gradient(90deg, #f05454,#ffa36c, #fcf876, #c0e218,#64958f, #bc6ff1);
opacity: 0.8;
border-radius: 2px;
width: 50%;
}
#container {
width: 95vw;
height: 60vw;
background: #262c35;
margin-top: 5vw;
position: relative;
border-radius: 5px;
margin-bottom: 5vw;
text-align: center;
}
.element-name {
position: absolute;
left: 50%;
top: 40%;
transform: translate(-50%, -50%);
font-size: 1.5vw;
font-family: "Merriweather", serif;
font-weight: 700;
}
.element-number {
position: absolute;
left: 50%;
top: 15%;
transform: translate(-50%, -50%);
font-size: 0.6vw;
}
.legend {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
font-size: 0.8vw;
font-family: "Merriweather", serif;
font-weight: 700;
}
.svg {
width: 100%;
height: 100%;
}
@media screen and (max-width: 768px) {
h5 {
font-size: 1.5rem;
}
.element-name {
font-size: 2.5vw;
}
.element-number {
font-size: 1.2vw;
}
.legend {
font-size: 1.5vw;
}
}