Skip to content

Commit

Permalink
fix: default layout CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudLigny committed Jul 4, 2023
1 parent f91c28d commit a5a2156
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion resources/layouts/_default/page.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@
<style>{% apply minify_css %}
{%- include 'partials/new.css.twig' ~%}
/* new.css enhancements */
:root body > header {
--nc-lk-1: #006be9;
}
@media (prefers-color-scheme: dark) {
:root body > header {
--nc-lk-1: var(--nc-d-lk-1);
}
}
body {
overflow-y: scroll;
}
Expand All @@ -36,7 +44,7 @@
}
nav li:not(main) {
display: inline-block;
margin: 0 .5rem 0 0;
margin: 0 .5rem .5rem 0;
}
nav a:not(main) {
text-decoration: none;
Expand Down

0 comments on commit a5a2156

Please sign in to comment.