Skip to content

Commit

Permalink
[www] better submenu (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabi1cazenave authored Mar 19, 2024
1 parent 109e9c3 commit fef1211
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions www/assets/css/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ code { /* character, digrams, trigrams */

/* tab-like navigation bar */
header + nav ul {
justify-content: flex-end;
justify-content: flex-start;
background-color: var(--bg-banner);
}
header + nav li {
Expand All @@ -344,8 +344,11 @@ code { /* character, digrams, trigrams */
header + nav li:has(.active) ul {
display: flex;
position: absolute;
left: 0;
width: 100%;
padding: 0 var(--main-padding);
box-sizing: border-box;
background-color: var(--bg-main);
padding: 0;
}
header + nav li:has(.active) li {
border: none;
Expand Down

0 comments on commit fef1211

Please sign in to comment.