From 3cdc4e6f80e4723d240bc36b27794f9e1089426b Mon Sep 17 00:00:00 2001 From: Sameer Rahmani Date: Sat, 27 May 2023 19:55:24 +0100 Subject: [PATCH] docs: Fix the edit link of the articles --- docs/pages/stylesheets/extra.css | 8 +++++++- mkdocs.yml | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/pages/stylesheets/extra.css b/docs/pages/stylesheets/extra.css index 2affd52..01f0d61 100644 --- a/docs/pages/stylesheets/extra.css +++ b/docs/pages/stylesheets/extra.css @@ -1,9 +1,15 @@ -#what-i-cannot-create-i-do-not-understand { +[data-md-color-scheme=slate] #what-i-cannot-create-i-do-not-understand { color: white; font-weight: 700; margin-bottom: -20px; } +[data-md-color-scheme=default] #what-i-cannot-create-i-do-not-understand { + color: #2f2f2f; + font-weight: 700; + margin-bottom: -20px; +} + .md-typeset .md-annotation__index > ::before { content: attr(data-md-annotation-id); } diff --git a/mkdocs.yml b/mkdocs.yml index b522913..e2d9041 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -4,7 +4,7 @@ site_author: lxsameer repo_url: https://devheroes.codes/serene/serene repo_name: Serene copyright: Copyright © 2019 - 2023 Sameer Rahmani -edit_uri: edit/master/docs/ +edit_uri: _edit/master/docs/pages/ docs_dir: ./docs/pages site_dir: ./build/docs