From e04b71c07413251dcb52036b4a51c6c7c0dca2ad Mon Sep 17 00:00:00 2001 From: technofab Date: Tue, 23 Sep 2025 10:22:58 +0200 Subject: [PATCH] docs: add style.css --- docs/style.css | 15 +++++++++++++++ nix/repo/docs.nix | 1 + 2 files changed, 16 insertions(+) create mode 100644 docs/style.css diff --git a/docs/style.css b/docs/style.css new file mode 100644 index 0000000..b2ae4ff --- /dev/null +++ b/docs/style.css @@ -0,0 +1,15 @@ +.md-header__button.md-logo { + margin: 0; + padding-top: .2rem; + padding-bottom: .2rem; +} + +[dir="ltr"] .md-header__title { + margin-left: 0; +} + +.md-header__button.md-logo img, +.md-header__button.md-logo svg { + height: 2rem; +} + diff --git a/nix/repo/docs.nix b/nix/repo/docs.nix index 53cdee9..effe6b8 100644 --- a/nix/repo/docs.nix +++ b/nix/repo/docs.nix @@ -37,6 +37,7 @@ in site_url = "https://soonix.projects.tf"; repo_name = "TECHNOFAB/soonix"; repo_url = "https://gitlab.com/TECHNOFAB/soonix"; + extra_css = ["style.css"]; theme = { logo = "images/logo.svg"; icon.repo = "simple/gitlab";