-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.css
96 lines (81 loc) · 1.83 KB
/
main.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
/* Dark theme colors */
/* Primary theme colors */
body[data-theme='light_theme'] {
--white: #fff;
--bg-color: #F8F8F8;
--color: #333;
--secondary-color: #ff7f57;
--icon-bg-color: #333;
--icon-color: #333;
}
body {
background: var(--bg-color);
color: var(--color);
text-align: center;
}
body[data-theme='dark_theme'] {
--white: #fff;
--bg-color: #000;
--color: #fff;
--secondary-color: #ff7f57;
--icon-bg-color: #333;
--icon-color: #fff;
}
@keyframes fadeIn {
from {top: 20%; opacity: 0;}
to {top: 100; opacity: 1;}
}
@-webkit-keyframes fadeIn {
from {top: 20%; opacity: 0;}
to {top: 100; opacity: 1;}
}
.wrapper {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
animation: fadeIn 1000ms ease;
-webkit-animation: fadeIn 1000ms ease;
}
h1 {
font-size: 64px;
font-family: 'Poppins', sans-serif;
margin-bottom: 0;
line-height: 1;
font-weight: 700;
}
.dot {
color: var(--secondary-color);
}
p {
text-align: center;
margin: 18px;
font-family: 'Muli', sans-serif;
font-weight: normal;
}
.icons {
text-align: center;
}
.icons i {
color: var(--white);
background: var(--icon-bg-color);
height: 15px;
width: 15px;
padding: 13px;
margin: 0 10px;
border-radius: 50px;
border: 2px solid transparent;
transition: all 200ms ease;
text-decoration: none;
position: relative;
}
.icons i:hover, .icons i:active {
color: var(--icon-color);
background: none;
border-color: var(--icon-bg-color);
cursor: pointer !important;
transform: scale(1.2);
-webkit-transform: scale(1.2);
text-decoration: none;
}