Skip to content

Commit

Permalink
Set custom CSS in scss file
Browse files Browse the repository at this point in the history
  • Loading branch information
jornane committed Jan 8, 2025
1 parent cecee2f commit ac6377c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 24 deletions.
22 changes: 22 additions & 0 deletions assets/_custom.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
nav.topMenu {
margin-top: -1em;
margin-bottom: 1em;
border-bottom: 1px solid rgba(128,128,128,.1);
}
nav.topMenu ul {
padding: 0;
display: flex;
gap: 2.4em;
}
nav.topMenu li {
display:inline;
font-size: 1rem;
}

.book-menu a {
border-left: 2px solid rgba(0,0,0,0);
padding-left: 4px;
}
.book-menu a.active {
border-color: var(--color-link);
}
24 changes: 0 additions & 24 deletions layouts/partials/docs/inject/content-before.html
Original file line number Diff line number Diff line change
@@ -1,27 +1,3 @@
<style>
nav.topMenu {
margin-top: -1em;
margin-bottom: 1em;
border-bottom: 1px solid rgba(128,128,128,.1);
}
nav.topMenu ul {
padding: 0;
display: flex;
gap: 2.4em;
}
nav.topMenu li {
display:inline;
font-size: 1rem;
}

.book-menu a {
border-left: 2px solid rgba(0,0,0,0);
padding-left: 4px;
}
.book-menu a.active {
border-color: var(--color-link);
}
</style>
<nav class="topMenu">
<ul>
<li><a href="/download/">Apps</a></li>
Expand Down

0 comments on commit ac6377c

Please sign in to comment.