From a9e576e51fee317e9060a14c200c48a0ea1f6682 Mon Sep 17 00:00:00 2001 From: Jake Herrmann Date: Fri, 23 Feb 2024 08:38:56 -0900 Subject: [PATCH 1/4] announcement style --- src/asf_theme/assets/stylesheets/asf.css | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/asf_theme/assets/stylesheets/asf.css b/src/asf_theme/assets/stylesheets/asf.css index f9b0ed8..59a3649 100644 --- a/src/asf_theme/assets/stylesheets/asf.css +++ b/src/asf_theme/assets/stylesheets/asf.css @@ -116,3 +116,22 @@ a { .expert-rec-search { margin-top: 10px; } + +#announcement-content { + font-weight: bold; + text-align: center; +} + +a.announcement-link { + color: #33adff; + text-decoration: underline; +} + +/* +Without this block, there is a non-clickable, apparently useless X icon displayed +on the right-hand side of the announcement bar, near the real X button. +This block hides that element. +*/ +i.fa.fa-times::before { + display: none; +} \ No newline at end of file From 59ff94350a48d4ce946e10eafdedbd314be8b42c Mon Sep 17 00:00:00 2001 From: Jake Herrmann Date: Fri, 23 Feb 2024 11:18:39 -0900 Subject: [PATCH 2/4] set tables to max width --- src/asf_theme/assets/stylesheets/asf.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/asf_theme/assets/stylesheets/asf.css b/src/asf_theme/assets/stylesheets/asf.css index 59a3649..73d6021 100644 --- a/src/asf_theme/assets/stylesheets/asf.css +++ b/src/asf_theme/assets/stylesheets/asf.css @@ -6,6 +6,17 @@ a { color: #236192; } +/* +Set tables to max width: +https://github.com/squidfunk/mkdocs-material/issues/175#issuecomment-616694465 +*/ +.md-typeset__table { + min-width: 100%; +} +.md-typeset table:not([class]) { + display: table; +} + .md-header a, .md-footer a { color: rgba(248, 248, 248, 100); } From 6dd8ee9bed888b8be201d2e692feb5ff75b8ba79 Mon Sep 17 00:00:00 2001 From: Jake Herrmann Date: Fri, 23 Feb 2024 11:23:40 -0900 Subject: [PATCH 3/4] newline --- src/asf_theme/assets/stylesheets/asf.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asf_theme/assets/stylesheets/asf.css b/src/asf_theme/assets/stylesheets/asf.css index 73d6021..a6da8d9 100644 --- a/src/asf_theme/assets/stylesheets/asf.css +++ b/src/asf_theme/assets/stylesheets/asf.css @@ -145,4 +145,4 @@ This block hides that element. */ i.fa.fa-times::before { display: none; -} \ No newline at end of file +} From b8af127c226b31350fc50d15391fa7d91cb57ab9 Mon Sep 17 00:00:00 2001 From: Jake Herrmann Date: Fri, 23 Feb 2024 11:25:15 -0900 Subject: [PATCH 4/4] changelog --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4737779..6f86447 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [PEP 440](https://www.python.org/dev/peps/pep-0440/) and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.3.2] + +### Changed +* Tables are now displayed at maximum width. +* Announcement banner style has been improved. + ## [0.3.1] ### Changed