-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnavbar.css
110 lines (94 loc) · 2.07 KB
/
navbar.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
#main {
/*background-image: linear-gradient(to bottom, #051937, #004d7a, #008793, #00bf72, #a8eb12);*/
/* background-image: linear-gradient(to right top, #d16ba5, #c777b9, #ba83ca, #aa8fd8, #9a9ae1, #8aa7ec, #79b3f4, #69bff8, #52cffe, #41dfff, #46eefa, #5ffbf1);
/* background-repeat: no-repeat; */
/*height: 100%;
background-size: cover;*/
}
.overlay {
height: 0%;
width: 100%;
position: fixed;
z-index: 1000;
top: 0;
left: 0;
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.9);
overflow-y: hidden;
transition: 0.5s;
}
.overlay-content {
position: relative;
top: 8%;
width: 100%;
text-align: center;
margin-top: 20px;
}
.overlay a {
padding: 3.5px;
text-decoration: none;
font-size: 45px;
color: #818181;
display: block;
transition: 0.3s;
font-family: 'Cute Font', cursive;
}
.overlay a:hover,
.overlay a:focus {
color: #fff;
}
@media screen and (max-height: 450px) {
.overlay {
overflow-y: auto;
}
.overlay a {
font-size: 20px
}
}
.hamburger {
display: inline-block;
cursor: pointer;
position: fixed;
right: 50px;
z-index: 1000 !important;
top: 35px;
}
.bar1,
.bar2,
.bar3 {
width: 35px;
height: 5px;
background-color: white;
margin: 6px 0;
transition: 0.4s;
}
/* Rotate first bar */
.change .bar1 {
-webkit-transform: rotate(-45deg) translate(-9px, 6px);
transform: rotate(-45deg) translate(-9px, 6px);
}
/* Fade out the second bar */
.change .bar2 {
opacity: 0;
}
/* Rotate last bar */
.change .bar3 {
-webkit-transform: rotate(45deg) translate(-8px, -8px);
transform: rotate(45deg) translate(-8px, -8px);
}
@media only screen and (max-width: 768px) {
/* For mobile phones: */
.hamburger {
right: 30px;
top: 18px;
}
}
div {
font-size: 100px;
color: orange;
margin: auto;
height: 100%;
text-align: center;
font-family: 'Cute Font', cursive;
text-shadow: 4px 4px 4px #010001;
}