-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
69 lines (56 loc) · 1.06 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
@tailwind base;
@tailwind components;
@tailwind utilities;
#menu-toggler {
z-index: 999;
width: 50px;
height: 50px;
position: absolute;
top: 2rem;
right: 2rem;
opacity: 0;
}
#menu-bars {
position: absolute;
top: 2.1rem;
right: 2.1rem;
}
#menu-toggler:checked {
position: fixed;
}
#menu-toggler:checked ~ .menu {
display: flex;
justify-content: center;
padding: 2rem;
flex-direction: column;
width: 100vw;
height: 100vh;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
@apply bg-gradient-to-r from-blue-900 to-blue-500;
}
#menu-toggler:checked ~ #menu-bars > .close {
display: flex;
z-index: 100;
position: fixed;
top: 2.1rem;
right: 2.1rem;
}
#menu-toggler:checked ~ #menu-bars > .bars {
display: none;
}
.btn {
@apply uppercase font-bold px-10 py-4 rounded inline-flex;
}
.hero__img {
width: 30rem;
}
.bg-gradient-custom {
@apply bg-gradient-to-r from-blue-900 to-blue-500 text-white;
}
footer {
background-color: #061d36;
}