-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
108 lines (95 loc) · 1.66 KB
/
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
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
body {
margin: 0;
padding: 0;
background: url('greenBlur.jpg') center center no-repeat;
background-size: cover;
height: 100vh;
}
.container {
padding: 40px;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.hamburger{
position: relative;
height: 40px;
width: 40px;
z-index: 1;
}
.logo {
position: relative;
}
.logo h1 {
color: #22cf5b;
font-family: 'Montserrat', sans-serif;
}
.line {
position: absolute;
width: 32px;
height: 4px;
margin: 7px;
background: rgb(40, 40, 40);
opacity: .9;
transition: all .4s ease;
}
.line:nth-child(2) {
top: 10.3px;
}
.line:nth-child(3) {
top: 20.6px;
}
.rotate {
transform: rotate(315deg);
}
.rotate:nth-child(2){
opacity: 0;
}
.rotate:nth-child(3){
top: 0px;
transform: rotate(225deg);
}
.hamburger:hover > .rotate:nth-child(1) {
transform: rotate(410deg);
}
.hamburger:hover > .rotate:nth-child(3) {
transform: rotate(310deg);
}
.nav {
transform: scale(0);
background-image: linear-gradient(120deg, #d4fc79 0%, #96e6a1 100%);
position: absolute;
min-width: 600px;
min-height: 600px;
top: -120px;
left: -230px;
display: flex;
justify-content: center;
align-items: center;
border-radius: 48%;
transition: all .4s ease-out;
}
.openNav {
transform: scale(1)!important;
}
ul {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
list-style-type: none;
font-family: 'Montserrat', sans-serif;
text-align: left;
font-weight: 400;
}
ul a {
font-size: 20px;
text-decoration: none;
margin: 4px;
color: #464646;
}
li {
text-decoration: none;
text-align: left;
}