-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
105 lines (93 loc) · 1.87 KB
/
index.css
File metadata and controls
105 lines (93 loc) · 1.87 KB
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
body{
background-color: #f1f1f1;
margin: 0%;
top:0;
}
.nav-main{
width: 100%;
height: 60px;
background-color: #fff;
display: flex;
flex-wrap: wrap;
z-index: 1000;
position: fixed;
top: 0;
margin: 0;
}
.nav-main ul{
display: flex;
flex-wrap: wrap;
padding-left: 15px;
}
.nav-main ul li{
list-style: none;
}
.nav-main ul a{
display: block;
height: 100%;
padding: 0 10px;
text-transform: uppercase;
text-decoration: none;
color: navy;
font-family: sans-serif;
font-size: 20px;
transition: all 0.4s ease-in-out;
}
.nav-main ul a:hover{
font-size: 23px;
}
.btn-toggle-nav{
width: 60px;
height: 100%;
background-color: aqua;
background-image: url(thumb-1920-949023.jpg);
background-repeat: no-repeat;
background-size: 125%;
background-position: center;
cursor: pointer;
transition: all 0.3s;
}
.btn-toggle-nav:hover{
opacity: 0.7;
}
.nav-sidebar{
position: fixed;
left:0;
bottom: 0;
margin-top: 60px;
width: 50px;
padding: 0 5px;
height: 91.525vh;
background-color: #1b1b1b;
z-index: 1000;
transition: all 0.4s ease-in-out;
}
.nav-sidebar ul{
display: flex;
flex-wrap: wrap;
flex-direction: column;
padding-top: 15px;
overflow: hidden;
visibility: hidden;
}
.nav-sidebar ul li{
line-height: 60px;
list-style: none;
}
.nav-sidebar ul li span{
display: block;
height: 60px;
padding: 0 10px;
text-decoration: none;
text-transform: uppercase;
color: #fff;
font-family: sans-serif;
font-size: 20px;
white-space: nowrap;
opacity: 0;
transition: all 0.4s ease-in-out;
}
.nav-sidebar ul li span:hover{
color: #222;
background-color: #fff;
}