-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnav.css
124 lines (105 loc) · 1.69 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
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
/* *{
margin:none;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
} */
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@600&display=swap');
nav {
height: 100px;
position: relative;
width: 100%;
}
body {
padding: 0;
margin: 0;
font-family: 'Fira Sans', sans-serif;
}
body::-webkit-scrollbar {
display: none;
}
.header {
overflow: hidden;
background-color: #f1f1f1;
padding: 20px 10px;
font-family: 'Fira Sans', sans-serif;
}
.header a {
float: left;
color: black;
text-align: center;
padding: 8px;
font-family: 'Fira Sans', sans-serif;
text-decoration: none;
font-size: 12px;
line-height: 20px;
border-radius: 4px;
}
.header a:nth-child(2) {
display: none;
}
.header a:nth-child(3) {
display: none;
}
.header p {
position: absolute;
color: black;
text-align: left;
padding: 8px;
text-decoration: none;
font-size: 18px;
line-height: 40px;
border-radius: 4px;
margin-bottom: 10px;
}
.header a.logo {
font-size: 35px;
font-weight: bold;
}
.header a:hover {
background-color: #ddd;
color: black;
}
.header a.active {
background-color: dodgerblue;
color: white;
}
.header-right {
float: right;
font-family: 'Fira Sans', sans-serif;
}
.header-right a {
color: #ffffff;
text-decoration: none;
margin: 5px;
background-color: blue;
}
footer {
position: fixed;
width: 100%;
text-align: center;
bottom: 10px;
padding: 10px;
}
#mouse {
background-color: firebrick;
}
@media screen and (max-width: 500px) {
/* .header a {
float: none;
display: block;
text-align: left;
}
*/
.header-right {
float: right;
}
/*
footer {
position: relative;
text-align: center;
bottom: -10px;
padding: 10px;
}
*/
}