diff options
| -rw-r--r-- | www/html/style.css | 5 | ||||
| -rw-r--r-- | www/termine.nix | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/www/html/style.css b/www/html/style.css index ae35f45..8f3f338 100644 --- a/www/html/style.css +++ b/www/html/style.css @@ -130,6 +130,11 @@ div.welcome h1 { .news { color: white; } +.highlight-box { + margin: 1rem 0; + padding: 1rem; + border: 1pt solid var(--highlight) +} section { background-color: var(--background-secondary); max-width: 50rem; diff --git a/www/termine.nix b/www/termine.nix index 4b9b8af..e631afc 100644 --- a/www/termine.nix +++ b/www/termine.nix @@ -60,7 +60,7 @@ "" } - ${lib.optionalString (!isNull self.aside) ''<aside>${self.aside}</aside>''} + ${lib.optionalString (!isNull self.aside) ''<aside class="highlight-box">${self.aside}</aside>''} ${ with lib; |
