summaryrefslogtreecommitdiff
path: root/src/css
diff options
context:
space:
mode:
authorlava18792025-12-27 06:46:28 +0000
committerGitHub2025-12-27 06:46:28 +0000
commit6be7484ebfefcad98c029ce04d0fece92f2af420 (patch)
tree0cbfb7c7c0c82c983fcc8591f2843db2b3286a24 /src/css
parentde91d189033ffb723282a9edc2aa9afef89537fa (diff)
downloadmassgrave.dev-6be7484ebfefcad98c029ce04d0fece92f2af420.zip
fix: navbar icons on mobile (#67)
Diffstat (limited to 'src/css')
-rw-r--r--src/css/custom.css34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/css/custom.css b/src/css/custom.css
index 758c8aa..7e9c0e1 100644
--- a/src/css/custom.css
+++ b/src/css/custom.css
@@ -107,6 +107,40 @@
margin: 1px 0 0 -7px;
}
+@media (max-width: 996px) {
+ .navbar__items--right > div[class*="toggle"],
+ .navbar__items--right > div[class*="colorMode"] {
+ display: flex !important;
+ }
+
+ .navbar__items--right > div[class*="toggle"] button,
+ .navbar__items--right > div[class*="colorMode"] button {
+ display: flex !important;
+ }
+
+ .navbar-sidebar div[class*="toggle"],
+ .navbar-sidebar div[class*="colorMode"] {
+ display: none !important;
+ }
+
+ .navbar-sidebar button[title*="Switch between"],
+ .navbar-sidebar button[aria-label*="Switch between"] {
+ display: none !important;
+ }
+
+ .navbar__item.discord-button,
+ .navbar__item.github-button {
+ display: flex !important;
+ padding: 5px;
+ align-items: center;
+ justify-content: center;
+ }
+
+ .navbar__item.github-button::before {
+ margin: 0 !important;
+ }
+}
+
table {
font-family: var(--ifm-font-family-monospace);
font-size: var(--ifm-code-font-size);