diff options
Diffstat (limited to 'index.html')
| -rw-r--r-- | index.html | 70 |
1 files changed, 35 insertions, 35 deletions
@@ -57,6 +57,7 @@ width: 90%; flex-direction: column; align-items: center; + margin-top: 2rem; } #imageContainer { flex-direction: row; @@ -96,55 +97,54 @@ justify-content: space-evenly; align-items: center; gap: 2rem; + margin-top: 2rem; } #categoryLinks a { + padding: 2rem; text-decoration: none; + text-transform: uppercase; + font-weight: bold; + color: var(--gold); + font-size: 3rem; border-radius: 1rem; border: 1px solid var(--gold); transition: ease 0.2s; } - #categoryLinks a:hover { color: var(--gold); } + #categoryLinks a:hover { + transform: scale(1.01); + color: var(--white); + border-color: var(--white); + } /** BOOK NOW big button */ #book-button { - height: 7rem; - min-width: 100%; - - display: flex; - align-items: center; - justify-content: center; + position: sticky; - background-color: var(--black); - color: var(--gold); + background-color: var(--gold); + color: var(--black); border: 1px solid var(--dark-gold); border-radius: 5rem; - padding: 2rem 1rem; + padding: 2rem 3rem; margin: 0; font-size: 2rem; font-weight: bold; text-decoration: none; transition: 0.3s ease; + z-index: 99; } #book-button:hover { cursor: pointer; box-shadow: 0px 0px 10px var(--gold); - font-size: 2.25rem; } #book-button:active { background-color: var(--gold); } - #book-link { - display: block; - width: 50%; - text-decoration: none; - } - /** MOBILE */ @media screen and (max-width: 850px) { #hero-image { @@ -154,6 +154,7 @@ } main { + gap: 0; } #intro { @@ -165,9 +166,8 @@ #book-button { font-size: 1.75rem; - width: 85%; - } - #book-link { + top: 15%; + left: 35vw; } #imageContainer { @@ -181,6 +181,7 @@ <body> <a href="#main-content" class="skipLink">Skip to main content</a> + <header> <div class="banner" role="banner"> <a href="#" class="navLogo" aria-label="Company Logo"> @@ -205,26 +206,32 @@ </nav> </div> </header> - <main id="main-content"> <div id="hero-image"></div> - <div id="intro"> + <a href="https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5" + target="_blank" + id="book-button" + > + BOOK NOW + </a> + + <section id="intro"> <h1> <span class="emphasis">Restore</span> & <span class="emphasis">Protect</span><br /> Your Vehicle </h1> <div id="categoryLinks"> - <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> + <a href="./ceramic-coating.html">Ceramic Coating</a> + <a href="./services.html?jumpTarget=paint">Exterior Correction</a> + <a href="./services.html?jumpTarget=exterior">Exterior Detailing</a> + <a href="./services.html?jumpTarget=interior">Interior Detailing</a> </div> - </div> + </section> <section id="gallery"> - <h1 style="margin-bottom: 2rem">Before & After Gallery</h1> + <h1><span class="emphasis">Before</span> & <span class="emphasis">After</span></h1> <div id="imageContainer"> <div class="juxtapose"> @@ -253,13 +260,6 @@ </div> </section> - <a - href="https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5" - target="_blank" - id="book-link" - > - <button id="book-button">BOOK NOW</button> - </a> </main> <footer> |
