-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdashboard.css
161 lines (138 loc) · 3.37 KB
/
dashboard.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
.container {
position: relative;
padding: 50px;
width: 260px;
min-height: 30px;
display: flex;
justify-content: center;
align-items: center;
background: rgba(255, 255, 255, 0.2);
backdrop-filter: blur(5px);
border-radius: 10px;
box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
}
/* Add a black background color to the top navigation */
.topnav {
border-radius: 25px;
position: sticky;
background-color: lightgray;
overflow: hidden;
font-weight: 400;
display: flex;
align-items: center;
}
/* Style the links inside the navigation bar */
.topnav a {
float: left;
color: black;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
/* Change the color of links on hover */
.topnav a:hover {
border-radius: 25px;
background-color: rgba(255, 251, 251, 0.418);
display: flex;
align-items: center;
justify-content: center;
}
/* Add a color to the active/current link */
@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;600;700&display=swap");
:root {
--color-v: #7f71fe;
--color-m: #7e00ff;
--color-e: #ffbe3c;
}
.topnav a.active {
font-weight: 400;
background-color: #4285F4;
font-weight: 400;
display: flex;
align-items: center;
}
@keyframes AnimationName {
0% {
background-position: 0% 50%
}
50% {
background-position: 100% 50%
}
100% {
background-position: 0% 50%
}
}
.topnav a.active:hover {
border-radius: 0px;
font-weight: 400;
background: linear-gradient(270deg, #4285f4, #7542f4, #eb42f4);
background-size: 600% 600%;
-webkit-animation: AnimationName 3s ease infinite;
-moz-animation: AnimationName 3s ease infinite;
animation: AnimationName 3s ease infinite;
font-weight: 400;
display: flex;
align-items: center;
}
.gradient {
-webkit-text-stroke: 0.1pt white;
font-family: "Comfortaa", cursive;
background-image: -webkit-gradient(linear, left top, right top, from(var(--color-m)), color-stop(var(--color-e)), color-stop(var(--color-m)), to(var(--color-v)));
background-image: -webkit-linear-gradient(left, var(--color-m) 0%, var(--color-e) 50%, var(--color-m) 150%, var(--color-v) 200%);
background-image: linear-gradient(to right, var(--color-m) 0%, var(--color-e) 50%, var(--color-m) 150%, var(--color-v) 200%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.sidenav {
height: 100%;
width: 0;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background-color: rgb(210, 210, 210);
overflow-x: hidden;
transition: 0.5s;
padding-top: 60px;
}
.sidenav a {
padding: 8px 8px 8px 32px;
text-decoration: none;
font-size: 25px;
color: #000000;
display: block;
transition: 0.3s;
}
.sidenav a:hover {
color: #aefff4;
}
.sidenav .closebtn {
position: absolute;
top: 0;
right: 25px;
font-size: 36px;
margin-left: 50px;
}
@media screen and (max-height: 450px) {
.sidenav {
padding-top: 15px;
}
.sidenav a {
font-size: 18px;
}
}
@keyframes rotate {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(-360deg);
}
}
.rotation {
animation-name: rotate;
animation-duration: 1s;
animation-iteration-count: 1;
}