forked from bitcoinknots/knots-www
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinput.css
77 lines (65 loc) · 1.32 KB
/
input.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
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-smooth: never;
}
@font-face {
font-family: "MartelSansBold";
src: url("./fonts/MartelSans-Bold.ttf") format("truetype");
font-weight: 700;
font-style: bold;
}
@font-face {
font-family: "ManjariRegular";
src: url("./fonts/Manjari-Regular.ttf") format("truetype");
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: "ManjariBold";
src: url("./fonts/Manjari-Bold.ttf") format("truetype");
font-weight: 700;
font-style: normal;
}
/* Hamburger Menu */
.hamburger {
cursor: pointer;
width: 30px;
height: 30px;
transition: all 0.25s;
position: relative;
}
.hamburger-top,
.hamburger-middle,
.hamburger-bottom {
position: absolute;
top: 0;
left: 0;
width: 30px;
height: 3.5px;
background: #000;
transform: rotate(0);
transition: all 0.5s;
}
.hamburger-middle {
transform: translateY(12px);
}
.hamburger-bottom {
transform: translateY(24px);
}
.open {
transform: rotate(90deg);
transform: translateY(0px);
}
.open .hamburger-top {
transform: rotate(45deg) translateY(6px) translate(6px);
}
.open .hamburger-middle {
display: none;
}
.open .hamburger-bottom {
transform: rotate(-45deg) translateY(6px) translate(-6px);
}