update css to remove extraneous top padding

This commit is contained in:
Christian Mazakas
2025-01-21 10:51:31 -08:00
parent 450505aa45
commit 7096ecdf69
4 changed files with 4 additions and 9 deletions

View File

@@ -4,10 +4,6 @@
}
}
body {
padding-top: var(--navbar-height);
}
.navbar {
background: var(--navbar-background);
color: var(--navbar-font-color);

View File

@@ -6,7 +6,7 @@
.nav-container {
position: fixed;
top: var(--navbar-height);
top: 0;
left: 0;
width: 100%;
font-size: calc(17 / var(--rem-base) * 1rem);
@@ -37,7 +37,7 @@
.nav {
background: var(--nav-background);
position: relative;
top: var(--toolbar-height);
top: 0;
height: var(--nav-height);
}
@@ -49,7 +49,7 @@
@media screen and (min-width: 1024px) {
.nav {
top: var(--navbar-height);
top: 0;
box-shadow: none;
position: sticky;
height: var(--nav-height--desktop);

View File

@@ -8,7 +8,7 @@
height: var(--toolbar-height);
justify-content: flex-start;
position: sticky;
top: var(--navbar-height);
top: 0;
z-index: var(--z-index-toolbar);
}

View File

@@ -4,7 +4,6 @@
{{> head defaultPageTitle='Untitled'}}
</head>
<body class="article{{#with (or page.attributes.role page.role)}} {{{this}}}{{/with}}">
{{> header}}
{{> body}}
{{> footer}}
</body>