Skip to content

Commit 121d827

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

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

docs/style/default.css

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,23 @@ body {
3838
margin-right: 16px;
3939
}
4040

41+
#nav-bar {
42+
display: flex;
43+
list-style: none;
44+
padding: 0;
45+
margin: 0;
46+
}
47+
48+
#nav-bar li {
49+
flex: 1;
50+
text-align: center;
51+
border-bottom: 4px solid transparent;
52+
}
53+
54+
#nav-bar li.active {
55+
border-bottom-color: var(--spore-light-space);
56+
}
57+
4158
article {
4259
background: var(--spore-flat-bg);
4360
padding: 32px;
@@ -107,7 +124,7 @@ footer {
107124
}
108125

109126
.support-page #side-nav {
110-
max-width: 300px;
127+
min-width: 200px;
111128
}
112129

113130
h1, h2, h3, h4, h5, h6 {

0 commit comments

Comments
 (0)