From 003902b43f9323c9a37f1867af0dc013f5b6e60d Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Tue, 2 Jan 2024 11:00:56 +0100 Subject: [PATCH] Minor style updates --- nummi/main/static/main/css/main.css | 4 +++- nummi/main/static/main/css/table.css | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/nummi/main/static/main/css/main.css b/nummi/main/static/main/css/main.css index 4ec7b8e..62a7a6b 100644 --- a/nummi/main/static/main/css/main.css +++ b/nummi/main/static/main/css/main.css @@ -39,7 +39,8 @@ --border: 0.5em; --radius: 0.25em; - --num: "tnum", "ss01", "ss02", "case"; + --default-ffs: "dlig", "ss01", "ss04"; + --num: var(--default-ffs), "tnum", "case"; } body { @@ -51,6 +52,7 @@ body { display: grid; grid-template-columns: max-content 1fr; + font-feature-settings: var(--default-ffs); } p { diff --git a/nummi/main/static/main/css/table.css b/nummi/main/static/main/css/table.css index 5116345..0092937 100644 --- a/nummi/main/static/main/css/table.css +++ b/nummi/main/static/main/css/table.css @@ -26,7 +26,7 @@ table { height: 2rem; line-height: 2rem; - tbody &:nth-of-type(even) { + tbody &:where(:nth-of-type(even)) { background: #eeeeff; } }