Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix navbar for mobile version #908

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,15 +137,17 @@
<body style="background-color: var(--secondary-color);">

<body>

<div id="pre-loader">
<div id="pre-loader">
<h1>TourGuide . . .</h1>
</div>

<div id="bg">
<canvas></canvas>
<canvas></canvas>
<canvas></canvas>
</div>

<div id="progressbar"></div>
<div id="scrollPath"></div>
<!-- <canvas id="canvas"></canvas> -->
Expand Down
9 changes: 9 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -1916,6 +1916,7 @@ body {
height: auto;
width: 100%;
padding: 1rem 2rem;

}

.navLinks {
Expand Down Expand Up @@ -2228,6 +2229,14 @@ body {
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5) , 0 0 25px black , 0 0 50px black , 0 0 200px black;
}

/* mobile nav */
@media (max-width: 360px) {
.newNav {
width: 95%;
height: 8%;
padding-left: 20%;
}
}

/* Testimonial Section */
@media (min-width: 320px) {
Expand Down
Loading