Skip to content

Commit

Permalink
cleaned up styling on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
Lmears committed Nov 8, 2023
1 parent ee89d60 commit d172417
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
9 changes: 7 additions & 2 deletions assets/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ h1 {
}

nav {
padding-bottom: 3rem !important;
padding-bottom: 1.5rem !important;
}

.home-logo {
Expand Down Expand Up @@ -136,11 +136,16 @@ h1 {
/* flex-wrap: wrap; */
}

h1,

nav ul li a {
font-size: smaller;
}

#content h1.text-5xl {
font-size: 1.875rem;
transform: translateY(1rem);
}

nav ul li {
padding: 0.125rem 0rem !important;
}
Expand Down
14 changes: 0 additions & 14 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,38 +20,24 @@

#hamburger-menu {
display: block;
/* Show hamburger menu */
}

/* Ensure all links except the first are hidden */
nav ul li:not(:first-child) {
display: none;
/* Hide all links except the first one (home) */
}

/* Additional styles for when the menu is active */
nav.nav-active ul li:not(:first-child) {
display: block;
/* Show links */
}

nav ul {
display: flex;
flex-direction: column !important;
justify-content: space-around;
align-items: center;
}

nav {
padding-bottom: 3rem !important;
}

.home-logo {
/* width: 80px !important; */
min-width: 80px !important;
}

/* Other adjustments for mobile view */
}
</style>
</head>
Expand Down

0 comments on commit d172417

Please sign in to comment.