forked from Linux-User-Group/hacktoberfest2021-HTML
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
48 lines (41 loc) · 700 Bytes
/
Copy pathstyle.css
File metadata and controls
48 lines (41 loc) · 700 Bytes
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
body {
margin: 0;
padding: 0;
}
header {
display: inline;
}
nav {
display: flex;
/* properti pendukung */
flex-direction: column;
max-width: 100%;
margin: 0 auto;
text-align: right;
background-color: #e49144;
padding: 5px;
top: 0;
position: sticky;
z-index: 99999;
}
nav li {
display: inline;
list-style-type: none;
margin-right: 30px;
}
nav a {
font-size: 18px;
font-weight: 400;
text-decoration: none;
color: white;
}
nav a:hover {
font-weight: bold;
}
.active{
background-color: white;
color: #e49144;
border-radius: 5px;
padding: 10px;
font-weight: bold;
}