diff options
| -rw-r--r-- | css/hamburger.css | 2 | ||||
| -rw-r--r-- | css/style.css | 14 | ||||
| -rw-r--r-- | index.html | 32 |
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%; @@ -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> |
