-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
54 lines (48 loc) · 1010 Bytes
/
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
:root {
--color-primary: #302929;
--color-secondary: #22e39e;
}
@font-face {
font-family: "FilsonPro";
src: local("Filson Pro Bold"), local("Filson-Pro-Bold"),
url("fonts/FilsonPro-Bold.woff2") format("woff2"),
url("fonts/FilsonPro-Bold.woff") format("woff"),
url("fonts/FilsonPro-Bold.ttf") format("truetype");
font-weight: 800;
font-style: normal;
}
/* Reset */
body {
color: var(--color-primary);
}
/* Helpers */
.text-secondary {
color: var(--color-secondary);
}
/* Message */
.message {
font-family: FilsonPro, Verdana, Sans-Serif;
font-weight: 800;
}
.message_open #message-container {
opacity: 0;
transform: translateY(-10%);
}
/* Notification */
.notification {
position: relative;
background: rgba(255, 255, 255, 0.7);
animation: notif 8s cubic-bezier(0, 0, 0.2, 1);
}
/* Animation */
@keyframes notif {
0% {
transform: translateY(-50px) scale(0.8);
opacity: 0;
}
10%,
100% {
transform: translateY(0) scale(1);
opacity: 1;
}
}