Skip to content

Commit d034af4

Browse files
committed
introduced padding to mobile navigation
1 parent f5c5a2f commit d034af4

File tree

1 file changed

+31
-8
lines changed

1 file changed

+31
-8
lines changed

src/css/sections-header.css

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ html.is-clipped--navbar {
22
overflow-y: hidden;
33
}
44

5-
/* body {
6-
padding-top: var(--navbar-height);
7-
} */
8-
95
.sections-header {
106
border-bottom: 0.1rem solid var(--nav-border-color);
117
padding-bottom: 0.75rem !important;
@@ -193,7 +189,7 @@ html.is-clipped--navbar {
193189
margin-right: 1rem;
194190
font-size: 1.2rem;
195191
font-weight: 400;
196-
margin-top: 0.1rem;
192+
margin-bottom: 0.5rem;
197193
color: var(--esmf-tertiary);
198194
}
199195

@@ -221,6 +217,7 @@ html.is-clipped--navbar {
221217
.sections-dropdown-mobile {
222218
overflow: hidden;
223219
margin-left: -0.3rem;
220+
margin-bottom: 0.5rem;
224221
}
225222

226223
.sections-dropdown-mobile .sections-dropdown-button,
@@ -254,8 +251,9 @@ html.is-clipped--navbar {
254251
overflow: visible;
255252
}
256253

257-
.sections-dropdown-mobile > .sections-dropdown-content {
254+
.sections-dropdown-mobile > .sections-dropdown-content > li {
258255
position: relative;
256+
padding-bottom: 0.5rem;
259257
}
260258

261259
.sections-dropdown-content a {
@@ -291,7 +289,7 @@ html.is-clipped--navbar {
291289
}
292290

293291
.sections-navbar-brand {
294-
height: inherit;
292+
flex: auto;
295293
}
296294

297295
.sections-navbar-brand .navbar-item {
@@ -313,7 +311,7 @@ html.is-clipped--navbar {
313311
position: fixed;
314312
top: 8rem;
315313
max-height: var(--body-min-height);
316-
overflow-y: auto;
314+
/* overflow-y: auto; */
317315
padding: 0.5rem 0;
318316
}
319317

@@ -325,6 +323,31 @@ html.is-clipped--navbar {
325323
.sections-navbar-menu .navbar-link:hover {
326324
background: var(--navbar-menu_hover-background);
327325
}
326+
327+
.sections-header {
328+
display: none;
329+
}
330+
331+
.doc > h1 {
332+
display: none;
333+
}
334+
335+
.toolbar {
336+
top: unset !important;
337+
}
338+
339+
body:has(.sections-body) {
340+
padding-top: 0;
341+
}
342+
343+
.sections-body .sections-docu-title {
344+
display: block;
345+
margin-left: 35px;
346+
white-space: nowrap;
347+
color: #8da5bf;
348+
margin-top: -2rem;
349+
z-index: 900;
350+
}
328351
}
329352

330353
@media screen and (min-width: 1024px) {

0 commit comments

Comments
 (0)