forked from dhairyagothi/100_days_100_web_project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnav.css
90 lines (80 loc) · 1.67 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
header {
position: absolute;
width: 100%;
}
nav {
width: 80%;
font-weight: 200;
flex-wrap: nowrap;
background: transparent;
display: flex;
align-items: center;
justify-content: space-between;
user-select: none;
padding: 1.7rem 0px;
margin: auto;
transition: opacity 0.25s linear 0s, visibility 0.25s linear 0s,
height 0.25s cubic-bezier(0.52, 0.16, 0.24, 1) 0s;
color: rgb(255, 255, 255);
}
nav .nav-item {
padding-bottom: 1rem;
border-radius: 0px;
box-sizing: border-box;
border-style: solid;
border-color: transparent;
border-width: 0px 0px 0.2rem;
display: flex;
align-items: center;
gap: 5px;
padding-bottom: 1rem;
}
nav .nav-item a {
font-size: 1.4rem;
text-decoration: none;
cursor: pointer;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: flex;
-webkit-box-align: center;
align-items: center;
font-weight: 400;
color: rgb(255, 255, 255);
}
.right {
display: flex;
}
.right .nav-item a {
margin-right: 2rem;
font-size: 1.8rem;
font-weight: 200;
padding: 0.8rem;
}
.user-icon {
border: 1px solid rgb(207, 207, 207);
height: 3.2rem;
width: 3.2rem;
justify-content: center;
align-items: center;
border-radius: 100%;
color: rgb(239, 79, 95);
display: none;
}
@media (max-width: 800px) {
nav {
justify-content: flex-end;
padding: 0 1rem;
width: 100%;
height: 5.6rem;
}
.user-icon {
display: flex;
}
.left {
display: none;
}
.right {
display: none;
}
}