-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnavigation.css
124 lines (108 loc) · 2.09 KB
/
navigation.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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
/* In Welcome page navigation Design */
#navigation-part {
display: flex;
align-items: center;
width: 100%;
height: 50px;
background-color: rgb(95, 95, 95);
}
ul {
position: absolute;
width: 540px;
right: 40px;
}
.list {
position: relative;
text-decoration: none;
color: #fff;
letter-spacing: 2px;
font-size: 15px;
margin: 0 20px;
font-family: 'Fredoka One';
}
#navigation-part ul li {
list-style: none;
display: inline;
padding: 7px 4px 7px 4px;
border-radius: 3px;
transition: all .3s ease;
}
#navigation-part ul li:hover {
background-color: white;
}
#navigation-part ul li:hover a {
color: darkslategray;
}
#navigation-part img {
position: absolute;
left: 100px;
}
#navigation-part h3 {
color: #fff;
letter-spacing: 3px;
font-family: 'Changa One';
font-size: 24px;
position: absolute;
left: 170px;
}
#iconbar {
color: white;
position: absolute;
top: 5px;
right: 20px;
visibility: hidden;
opacity: 0;
}
/* End of navigation section design */
/* Media Query */
@media (max-width: 940px) {
#navigation-part img {
left: 8px;
}
#navigation-part h3 {
left: 65px;
}
}
@media (max-width: 870px) {
#navigation-part img {
height: 45px;
width: 45px;
left: 10PX;
}
#navigation-part h3 {
font-size: 17px;
left: 70px;
}
ul {
right: -90px;
}
.list {
font-size: 12px;
margin: 0 10px;
}
}
@media (max-width: 720px) {
#navigation-part h3 {
visibility: hidden;
opacity: 0;
}
}
@media (max-width: 600px) {
#navigation-part {
height: 110px;
}
#navigation-part img {
top: 10px;
left: 20px;
}
#navigation-part h3 {
visibility: visible;
opacity: 1;
left: 85px;
top: 20px;
}
#navigation-part ul {
top: 72px;
left: 15px;
}
}