Skip to content

Commit

Permalink
enh: No margin on first content element
Browse files Browse the repository at this point in the history
  • Loading branch information
TEParsons committed Oct 13, 2024
1 parent 0d09132 commit cb2d42e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions mkdocs_landing/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ header#article-header,
#page {
position: relative;
}
#page *:nth-child(2) {
margin-top: 0;
}

content#content {
display: block;
Expand Down
2 changes: 1 addition & 1 deletion mkdocs_landing/partials/toc.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% if config.theme.toc_level > 0 %}
<nav class="vertical" id="toc">
{% if config.theme.toc_level > 0 %}
<ul>
{% for toc_item in page.toc %}
<li class="nav-item">
Expand Down

0 comments on commit cb2d42e

Please sign in to comment.