aboutsummaryrefslogtreecommitdiff
path: root/assets/css
diff options
context:
space:
mode:
authorDylan Bolger <dylan.bolger00@gmail.com>2026-08-21 15:04:11 -0500
committerDylan Bolger <dylan.bolger00@gmail.com>2026-08-21 15:04:11 -0500
commitaa5fa87174447aa11e92dc62c7340b8dd03f2a5d (patch)
treee6710b589ac2b4f9dffdd2c7fd8e2c309d2157c8 /assets/css
parent8db9689c30409ee265ca246cf0af0eeefa6c8962 (diff)
downloadpersonal-website-aa5fa87174447aa11e92dc62c7340b8dd03f2a5d.tar.xz
personal-website-aa5fa87174447aa11e92dc62c7340b8dd03f2a5d.zip
rid of my title from the nabar when it fills up the bar on mobile
Diffstat (limited to 'assets/css')
-rw-r--r--assets/css/main.css14
1 files changed, 9 insertions, 5 deletions
diff --git a/assets/css/main.css b/assets/css/main.css
index 7ec2657..d3d6d18 100644
--- a/assets/css/main.css
+++ b/assets/css/main.css
@@ -62,7 +62,6 @@ section#intro {
font-family: 'Source Code Pro';
}
-/* Style the links inside the navigation bar */
.topnav a,
.topnav p {
float: left;
@@ -74,14 +73,10 @@ section#intro {
margin: 0;
}
-/* Change the color of links on hover */
.topnav a:hover {
- background-color: #ddd;
- color: black;
text-decoration: none;
}
-
ul.experience {
padding-left: 0;
}
@@ -192,6 +187,15 @@ details {
text-decoration: none;
}
+@media (prefers-color-scheme: light) {
+ .topnav a, .topnav p {
+ color: black !important;
+ }
+ .topnav {
+ background-color: var(--background)
+ }
+}
+
@media screen and (max-width: 886px) {
body {