Skip to content

Commit 9f6807d

Browse files
committed
Reduce font-size and set height for navigation
1 parent 823c20c commit 9f6807d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

templates/style.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,8 @@ div.rustdoc {
5454
}
5555

5656
.sidebar {
57-
top: 34px;
57+
top: 32px;
5858
left: 0;
59-
z-index: -1;
6059
}
6160

6261
body {
@@ -106,18 +105,19 @@ div.container-rustdoc {
106105
}
107106

108107
div.nav-container {
108+
height: 32px;
109109
border-bottom: 1px solid $color-border;
110110

111111
li {
112112
border-left: 1px solid $color-border;
113113
}
114114

115115
.pure-menu-has-children>.pure-menu-link:after {
116-
font-size: 14px;
116+
font-size: 0.8em;
117117
}
118118

119119
a {
120-
font-size: 14px;
120+
font-size: 0.8em;
121121
font-weight: 400;
122122
}
123123

@@ -132,10 +132,10 @@ div.nav-container {
132132
max-width: 200px;
133133
border: none;
134134
margin: 0 1em 0 0;
135-
font-size: 14px;
135+
font-size: 0.8em;
136136
text-align: right;
137137
box-shadow: none;
138-
height: 33px;
138+
height: 32px;
139139
display: none;
140140
@media #{$media-sm} {
141141
display: block;

0 commit comments

Comments
 (0)