From 3e7648f84042c9bc7f58bc38d4f75b3c8b37d322 Mon Sep 17 00:00:00 2001 From: jcatmore <james.catmore@cern.ch> Date: Fri, 11 Apr 2025 14:22:52 +0200 Subject: [PATCH 1/2] Setting to 100% width This adds a new configuration to the `extra.css` such that the body of the page fills the full width of the web browser, rather than having a fixed width. The wide margins visible with larger screens disappear. This was discussed in issue #46 and in the software coordination meeting. --- docs/stylesheets/extra.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index 6cfd223..117521f 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -18,3 +18,8 @@ padding-top: .1rem; padding-bottom: .1rem; } + +/* Fill the width of the browser window, no margins */ +.md-grid { + max-width: 100%; +} -- GitLab From ef9f49636bd3efad06520473dd4324d38982407a Mon Sep 17 00:00:00 2001 From: jcatmore <james.catmore@cern.ch> Date: Mon, 14 Apr 2025 10:46:36 +0200 Subject: [PATCH 2/2] Removing `.md-content` overrides for the front page --- docs/index.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/index.md b/docs/index.md index 68f473d..9b0dde0 100644 --- a/docs/index.md +++ b/docs/index.md @@ -5,10 +5,6 @@ hide: --- <style> - .md-content { - max-width: 1000px; - margin: auto; - } .intro-box { padding: 15px; padding-top: 0; -- GitLab