Skip to content

Commit f5bd4a1

Browse files
committed
top nav bar
1 parent 121d827 commit f5bd4a1

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

docs/style/default.css

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,35 @@ body {
4242
display: flex;
4343
list-style: none;
4444
padding: 0;
45-
margin: 0;
45+
margin: 16px 64px;
46+
font-family: var(--spore-font);
4647
}
4748

4849
#nav-bar li {
4950
flex: 1;
5051
text-align: center;
5152
border-bottom: 4px solid transparent;
53+
display: flex;
54+
}
55+
56+
#nav-bar li a {
57+
flex: 1;
58+
display: flex;
59+
align-items: center;
60+
justify-content: center;
61+
text-decoration: none;
62+
padding: 16px 0;
63+
width: 100%;
64+
height: 100%;
5265
}
5366

5467
#nav-bar li.active {
55-
border-bottom-color: var(--spore-light-space);
68+
border-bottom-color: var(--lk-launcher);
69+
}
70+
71+
#nav-bar li:hover {
72+
border-bottom-color: rgba(79, 177, 211, 0.6);
73+
transition: 0.2s;
5674
}
5775

5876
article {

0 commit comments

Comments
 (0)