-
Notifications
You must be signed in to change notification settings - Fork 3
/
nav.css
70 lines (58 loc) · 1.22 KB
/
nav.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
*{
margin: 0;
padding: 0;
}
body{
background-color: black;
}
/*......... For entire navbar......... */
#navbar{
display: flex;
/* flex-direction: row; */
align-items: center;
position: sticky;
top: 0px;
}
/*.......... For altering befor the navbar....... */
#navbar::before{
content: "";
background-color: rgb(219, 207, 207);
position: absolute;
top:0px;
left:0px;
height: 54px;
width: 100%;
z-index: -1;
opacity: 0.11;
}
/*.......... For image in navbar......... */
.image img{
width: 32px;
height: 31px;
border-radius: 40px;
margin: 9px;
}
/* ..........For contents in navbar......... */
.contents ul{
display: flex;
flex-direction: row;
}
/* ............For li in ul in navbar........... */
.contents ul li {
list-style: none;
text-decoration: none;
}
/*................ For href in li ............*/
.contents ul li a{
list-style: none;
text-decoration: none;
color: white;
margin: 35px;
}
/* for hovering */
.contents ul li :hover{
color: black;
background-color: rgb(223, 206, 206);
border-radius: 5px;
width: 20px;
}