From e6642932611de307f5386928be0a1dd7e94cd134 Mon Sep 17 00:00:00 2001 From: Sarthak singh Date: Sun, 8 Oct 2023 21:34:47 +0530 Subject: [PATCH 1/8] removing padding-right from discord button in nav --- pydis_site/static/css/base/base.css | 1 - 1 file changed, 1 deletion(-) diff --git a/pydis_site/static/css/base/base.css b/pydis_site/static/css/base/base.css index 3de40d5ca..16f300be9 100644 --- a/pydis_site/static/css/base/base.css +++ b/pydis_site/static/css/base/base.css @@ -52,7 +52,6 @@ main.site-content { background-position: 100% 50%; background-repeat: no-repeat; padding-left: 2.5rem; - padding-right: 2.5rem; background-color: #697ec4ff; transition: all 0.2s cubic-bezier(.25,.8,.25,1); overflow: hidden; From 070d74eab259bbc038f76e28f2a56a1f29679c75 Mon Sep 17 00:00:00 2001 From: Sarthak singh Date: Sat, 4 Nov 2023 21:47:56 +0530 Subject: [PATCH 2/8] fixing dropdown menu on contributing page for sub-articles --- pydis_site/static/css/content/page.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pydis_site/static/css/content/page.css b/pydis_site/static/css/content/page.css index 239f28091..cbe843cf5 100644 --- a/pydis_site/static/css/content/page.css +++ b/pydis_site/static/css/content/page.css @@ -96,3 +96,12 @@ ul.menu-list.toc { li img { margin-top: 0.5em; } + +.dropdown-menu{ + min-width: 15rem; +} + +a.dropdown-item { + white-space: normal; + padding-right: 0; +} \ No newline at end of file From 4c24754133da68e24b8826523f635a9cf344a196 Mon Sep 17 00:00:00 2001 From: Sarthak singh Date: Sat, 4 Nov 2023 21:53:14 +0530 Subject: [PATCH 3/8] Revert "fixing dropdown menu on contributing page for sub-articles" This reverts commit 2d158ddbb8f1d27dd7d8b0b9282554365cf042e3. --- pydis_site/static/css/content/page.css | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pydis_site/static/css/content/page.css b/pydis_site/static/css/content/page.css index cbe843cf5..239f28091 100644 --- a/pydis_site/static/css/content/page.css +++ b/pydis_site/static/css/content/page.css @@ -96,12 +96,3 @@ ul.menu-list.toc { li img { margin-top: 0.5em; } - -.dropdown-menu{ - min-width: 15rem; -} - -a.dropdown-item { - white-space: normal; - padding-right: 0; -} \ No newline at end of file From 69fa3907853a1b1c185fffec3ae2efce626dc16f Mon Sep 17 00:00:00 2001 From: Sarthak singh Date: Sat, 4 Nov 2023 22:13:16 +0530 Subject: [PATCH 4/8] fixing dropdown menu on contributing page for sub-articles --- pydis_site/static/css/content/page.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pydis_site/static/css/content/page.css b/pydis_site/static/css/content/page.css index 239f28091..cbe843cf5 100644 --- a/pydis_site/static/css/content/page.css +++ b/pydis_site/static/css/content/page.css @@ -96,3 +96,12 @@ ul.menu-list.toc { li img { margin-top: 0.5em; } + +.dropdown-menu{ + min-width: 15rem; +} + +a.dropdown-item { + white-space: normal; + padding-right: 0; +} \ No newline at end of file From 113048fe7441e14c4a6308ac13c4b6789f69fcd6 Mon Sep 17 00:00:00 2001 From: Sarthak singh Date: Sat, 4 Nov 2023 22:13:54 +0530 Subject: [PATCH 5/8] Revert "removing padding-right from discord button in nav" This reverts commit e6642932611de307f5386928be0a1dd7e94cd134. --- pydis_site/static/css/base/base.css | 1 + 1 file changed, 1 insertion(+) diff --git a/pydis_site/static/css/base/base.css b/pydis_site/static/css/base/base.css index 16f300be9..3de40d5ca 100644 --- a/pydis_site/static/css/base/base.css +++ b/pydis_site/static/css/base/base.css @@ -52,6 +52,7 @@ main.site-content { background-position: 100% 50%; background-repeat: no-repeat; padding-left: 2.5rem; + padding-right: 2.5rem; background-color: #697ec4ff; transition: all 0.2s cubic-bezier(.25,.8,.25,1); overflow: hidden; From 31d7f70a360a6bb7920f9f2b9c6fc6e62abfd49a Mon Sep 17 00:00:00 2001 From: Sarthak singh Date: Sat, 4 Nov 2023 22:24:07 +0530 Subject: [PATCH 6/8] lint fix --- pydis_site/static/css/content/page.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pydis_site/static/css/content/page.css b/pydis_site/static/css/content/page.css index cbe843cf5..39106ca86 100644 --- a/pydis_site/static/css/content/page.css +++ b/pydis_site/static/css/content/page.css @@ -104,4 +104,4 @@ li img { a.dropdown-item { white-space: normal; padding-right: 0; -} \ No newline at end of file +} From cf3abcfc5849c61af915ade4623179db160d209c Mon Sep 17 00:00:00 2001 From: Sarthak singh Date: Sat, 23 Dec 2023 11:21:49 +0530 Subject: [PATCH 7/8] fixing dropdown menu for mobile screen --- pydis_site/static/css/content/page.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pydis_site/static/css/content/page.css b/pydis_site/static/css/content/page.css index 39106ca86..26794354a 100644 --- a/pydis_site/static/css/content/page.css +++ b/pydis_site/static/css/content/page.css @@ -10,6 +10,11 @@ #edit-on-github { display: none; } + + .dropdown-menu { + left: unset; + right: 0; + } } i.has-icon-padding { From 68635eb3077522f15101dff76d75c882161b3496 Mon Sep 17 00:00:00 2001 From: sarzz <45039724+sarzz2@users.noreply.github.com> Date: Sat, 6 Jan 2024 20:10:26 +0530 Subject: [PATCH 8/8] Update pydis_site/static/css/content/page.css Co-authored-by: wookie184 --- pydis_site/static/css/content/page.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pydis_site/static/css/content/page.css b/pydis_site/static/css/content/page.css index 26794354a..58fad0f8b 100644 --- a/pydis_site/static/css/content/page.css +++ b/pydis_site/static/css/content/page.css @@ -102,7 +102,7 @@ li img { margin-top: 0.5em; } -.dropdown-menu{ +.dropdown-menu { min-width: 15rem; }