From 7d0c4bc78d9f017a739b0c7eb2f4e563118353e6 Mon Sep 17 00:00:00 2001 From: technofab Date: Thu, 18 Sep 2025 16:05:13 +0200 Subject: [PATCH] docs: add custom css and site_url for sitemap --- docs/style.css | 14 ++++++++++++++ nix/repo/docs.nix | 2 ++ 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..c7249d6 --- /dev/null +++ b/docs/style.css @@ -0,0 +1,14 @@ +.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 9af135b..cb53abe 100644 --- a/nix/repo/docs.nix +++ b/nix/repo/docs.nix @@ -38,8 +38,10 @@ in }; config = { site_name = "Devshell"; + site_url = "https://devshell.rensa.projects.tf"; repo_name = "rensa-nix/devshell"; repo_url = "https://gitlab.com/rensa-nix/devshell"; + extra_css = ["style.css"]; theme = { logo = "images/logo.svg"; icon.repo = "simple/gitlab";