-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnav.css
67 lines (57 loc) · 933 Bytes
/
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
nav {
width: 100%;
height: 60px;
position: fixed;
top: 0;
display: flex;
justify-content: center;
align-items: center;
background-color: #F7F7F7;
border-bottom: #9A9A9A solid 0.2px;
z-index: 2;
transition: ease-in-out 0.3s;
}
nav.clear-up {
top: -61px;
transition: ease-in-out 0.3s;
}
nav h1 {
font-size: 1.1em;
font-weight: 600;
}
nav a {
position: absolute;
background-color: transparent;
border: none;
color: #007AFF;
text-decoration: none;
top: 0.8em;
font-size: 1.05em;
display: flex;
align-items: center;
}
nav a:hover {
cursor: pointer;
}
.left-button {
left: 1.2em;
}
.right-button {
right: 1.2em;
}
.left-button img, .right-button img {
height: 1.9em;
}
.left-button img {
margin-left: -0.7em;
margin-right: -0.2em;
}
.right-button img {
margin-right: -0.7em;
margin-left: -0.2em;
}
nav p {
display: block;
height: 1.9em;
line-height: 2.05em;
}