summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsimon <vesspa0330@gmail.com>2026-10-15 20:58:18 -0500
committersimon <vesspa0330@gmail.com>2026-10-15 20:58:18 -0500
commitc046bec7bb7963442e1248a9cfcd678c6d439590 (patch)
tree7b96d4b4c1223ba90285c5cd4def49371c40d1dc
parent837625c923c3aff185949c8f71002831bfef415d (diff)
navbar tuneup after adding underline effect
-rw-r--r--css/hamburger.css2
-rw-r--r--css/style.css14
-rw-r--r--index.html32
3 files changed, 28 insertions, 20 deletions
diff --git a/css/hamburger.css b/css/hamburger.css
index 4a4d4c9..4f8e5fb 100644
--- a/css/hamburger.css
+++ b/css/hamburger.css
@@ -10,7 +10,7 @@
#hamburger span {
width: 25px;
height: 3px;
- background-color: var(--white);
+ background-color: var(--gold);
margin: 3px 0;
transition: 0.3s;
position: relative;
diff --git a/css/style.css b/css/style.css
index 1722498..b71338c 100644
--- a/css/style.css
+++ b/css/style.css
@@ -35,13 +35,13 @@ header {
.banner {
display: flex;
justify-content: space-between;
- width: 90%;
+ width: 100%;
align-items: center;
height: 4.5rem;
margin: 0 auto;
- padding: 1rem 0;
+ padding: 1rem 2rem;
background-color: inherit;
}
@@ -68,11 +68,12 @@ nav {
}
.navLink {
+ width: max-content;
position: relative;
color: var(--white);
background-color: inherit;
text-transform: uppercase;
- letter-spacing: 2px;
+ letter-spacing: 1px;
text-decoration: none;
font-weight: bold;
@@ -87,7 +88,7 @@ nav {
content: "";
position: absolute;
left: 0;
- bottom: -0.45rem;
+ bottom: -0.25rem;
width: 100%;
height: 1px;
background: var(--gold);
@@ -238,7 +239,7 @@ footer {
flex-direction: row;
gap: 2rem;
- font-size: .7rem;
+ font-size: .8rem;
list-style: none;
}
@@ -270,13 +271,14 @@ footer {
/* background-color: red; */
display: flex;
flex-direction: column;
+ align-items: center;
position: fixed;
gap: 2rem;
padding: 4.8rem 0 4rem 0;
transition: top 0.5s ease;
- top: -23rem;
+ top: -16.5rem;
left: 0;
width: 100%;
diff --git a/index.html b/index.html
index c52088e..9e204dc 100644
--- a/index.html
+++ b/index.html
@@ -44,9 +44,6 @@
padding-bottom: 2rem;
}
- .jumpLink h2 { transition: ease 0.2s; }
- .jumpLink h2:hover { color: var(--gold); }
-
h2 {
color: white;
}
@@ -94,14 +91,21 @@
}
#categoryLinks {
- display: flex;
-
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ justify-content: space-evenly;
+ align-items: center;
+ gap: 2rem;
}
#categoryLinks a {
-
+ text-decoration: none;
+ border-radius: 1rem;
border: 1px solid var(--gold);
-
+ transition: ease 0.2s;
}
+ #categoryLinks a:hover { color: var(--gold); }
+
+
/** BOOK NOW big button */
#book-button {
@@ -153,9 +157,11 @@
}
#intro {
- width: 100%;
- padding-bottom: 1.5rem;
}
+
+ #categoryLinks {
+ grid-template-columns: 1fr;
+ }
#book-button {
font-size: 1.75rem;
@@ -210,10 +216,10 @@
Your Vehicle
</h1>
<div id="categoryLinks">
- <a href="./ceramic-coating.html" class="jumpLink"><h2>Ceramic Coating</h2></a>
- <a href="./services.html?jumpTarget=paint" class="jumpLink"><h2>Polish & Paint Correction</h2></a>
- <a href="./services.html?jumpTarget=exterior" class="jumpLink"><h2>Exterior Detailing</h2></a>
- <a href="./services.html?jumpTarget=interior" class="jumpLink"><h2>Interior Detailing</h2></a>
+ <a href="./ceramic-coating.html"><h2>Ceramic Coating</h2></a>
+ <a href="./services.html?jumpTarget=paint"><h2>Exterior Correction</h2></a>
+ <a href="./services.html?jumpTarget=exterior"><h2>Exterior Detailing</h2></a>
+ <a href="./services.html?jumpTarget=interior"><h2>Interior Detailing</h2></a>
</div>
</div>