From a62ec04114571e9670b03c0162668fcc45e5da01 Mon Sep 17 00:00:00 2001 From: Sanchit Chauhan <150342364+sanchitc05@users.noreply.github.com> Date: Thu, 24 Oct 2024 06:24:52 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=90=9E[Bug]:=20=20Correcting=20the=20?= =?UTF-8?q?two=20divs=20on=20the=20home=20page=20of=20Machine=20Learning?= =?UTF-8?q?=20Repos=20Fixes=20#1524?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Website/css/styles.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Website/css/styles.css b/Website/css/styles.css index 2215eb105..e8aecf1be 100644 --- a/Website/css/styles.css +++ b/Website/css/styles.css @@ -384,6 +384,17 @@ button#toggle-stats:hover { color: rgb(255, 213, 98); } +div { + box-sizing: border-box; + overflow: hidden; +} + +.languages, .milestones { + padding: 10px; + margin: 10px; + word-wrap: break-word; + white-space: normal; +} .language-and-milestone { display: flex; From 4d24d85350abd066d5b2ed6e07693e798193b378 Mon Sep 17 00:00:00 2001 From: Sanchit Chauhan <150342364+sanchitc05@users.noreply.github.com> Date: Thu, 24 Oct 2024 06:27:56 +0000 Subject: [PATCH 2/2] Commit changes --- Website/css/styles.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Website/css/styles.css b/Website/css/styles.css index e8aecf1be..c72749652 100644 --- a/Website/css/styles.css +++ b/Website/css/styles.css @@ -1740,6 +1740,7 @@ body.blue-mode { } /* Links Styles */ + .light-mode a { /* color: #007bff; Blue link color */ } @@ -1747,6 +1748,13 @@ body.blue-mode { .dark-mode a { color: #1e90ff; /* Lighter blue link color */ } +/* Dark mode */ +@media (prefers-color-scheme: dark) { + .twitter-logo { + filter: invert(1); /* Inverts the colors, making a dark logo appear light */ + } +} + .blue-mode a { color: #f1f1f1; /* Light text color for links */