Skip to content

Commit

Permalink
Voeg darkmode styles toe voor rules
Browse files Browse the repository at this point in the history
Hiermee zijn ze leesbaar in dark mode
  • Loading branch information
TimvdLippe authored Feb 19, 2025
1 parent e56c273 commit b8e6cb9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
</title>
<!-- Invullen: de naam van de lokale CSS file =============================================== -->
<link href="./media/style.css" rel="stylesheet" type="text/css"/>
<link href="./media/dark.css" rel="stylesheet" type="text/css"/ media="(prefers-color-scheme: dark)">
<script class="remove" src="https://logius-standaarden.github.io/publicatie/respec/organisation-config.js">
</script>
<script class="remove" src="js/config.js">
Expand Down
3 changes: 3 additions & 0 deletions media/dark.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
:root {
--logius-rule-background: var(--borderedblock-bg);
}
10 changes: 7 additions & 3 deletions media/style.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
/*-- Design rule block ------------------------------------------------------------*/
:root {
--logius-rule-background: rgb(241, 246, 253);
}

/*-- Design rule block ------------------------------------------------------------*/
.rule {
margin: 1em 0;
padding: 1em 2em;
border-left-width: 0.5em;
border-left-style: solid;
border-color: #8CCBF2;
background: rgb(241, 246, 253);
background: var(--logius-rule-background);
}

.rulelab {
color: #005A9C;
color: var(--a-normal-text);
}

.rulelab a {
Expand Down

0 comments on commit b8e6cb9

Please sign in to comment.