changed font, started service overhaul + standardized widths across
<main>s
This commit is contained in:
Binary file not shown.
+27
-20
@@ -24,11 +24,11 @@
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
gap: 2rem;
|
gap: 5rem;
|
||||||
|
|
||||||
max-width: 80%;
|
width: 90%;
|
||||||
|
|
||||||
margin-top: 2.5rem;
|
margin-top: 4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info-box {
|
.info-box {
|
||||||
@@ -37,11 +37,15 @@
|
|||||||
linear-gradient(to left, var(--gold), white, var(--gold)) border-box;
|
linear-gradient(to left, var(--gold), white, var(--gold)) border-box;
|
||||||
border: 5px solid transparent;
|
border: 5px solid transparent;
|
||||||
|
|
||||||
max-width: 80%;
|
display: flex;
|
||||||
width: 80%;
|
justify-content: center;
|
||||||
|
flex-grow: 1;
|
||||||
|
|
||||||
|
min-width: auto;
|
||||||
|
width: auto;
|
||||||
padding: 2rem 4rem;
|
padding: 2rem 4rem;
|
||||||
border-radius: 4rem;
|
border-radius: 4rem;
|
||||||
height: min-content;
|
min-height: 20rem;
|
||||||
|
|
||||||
/** border: 2px solid var(--gold); **/
|
/** border: 2px solid var(--gold); **/
|
||||||
transition: 1s ease;
|
transition: 1s ease;
|
||||||
@@ -57,10 +61,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#packages {
|
#packages {
|
||||||
max-width: 60%;
|
flex-shrink: 1;
|
||||||
}
|
}
|
||||||
#wheel-wash {
|
#wheel-wash {
|
||||||
max-width: 35%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -105,7 +108,7 @@
|
|||||||
.info-flex {
|
.info-flex {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 100%;
|
min-width: 90%;
|
||||||
}
|
}
|
||||||
.info-flex section {
|
.info-flex section {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -158,17 +161,21 @@
|
|||||||
<section id="packages" class="info-box">
|
<section id="packages" class="info-box">
|
||||||
<h1>Choose Your Coating <em>Package</em></h1>
|
<h1>Choose Your Coating <em>Package</em></h1>
|
||||||
<hr />
|
<hr />
|
||||||
<div>
|
<div style="width: 100%; display:flex; justify-content: space-around;">
|
||||||
<h2>Elite</h2>
|
<div>
|
||||||
<ul class="checkMarkList">
|
<h2>Elite</h2>
|
||||||
<li>elite detail one</li>
|
<ul>
|
||||||
<li>elite detail two</li>
|
<li>elite detail one</li>
|
||||||
</ul>
|
<li>elite detail two</li>
|
||||||
<h2>Complete</h2>
|
</ul>
|
||||||
<ul class="checkMarkList">
|
</div>
|
||||||
<li>complete detail one</li>
|
<div>
|
||||||
<li>complete detail two</li>
|
<h2>Complete</h2>
|
||||||
</ul>
|
<ul>
|
||||||
|
<li>complete detail one</li>
|
||||||
|
<li>complete detail two</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|||||||
+13
-10
@@ -3,12 +3,18 @@
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
|
background-color: var(--black);
|
||||||
|
|
||||||
letter-spacing: 0.01rem;
|
letter-spacing: 0.01rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.jx-handle, .jx-arrow {
|
||||||
|
background-color: rgba(0,0,0,0);
|
||||||
|
}
|
||||||
|
|
||||||
/** COLOR VARIABLES */
|
/** COLOR VARIABLES */
|
||||||
:root {
|
:root {
|
||||||
--black1: #111111;
|
--oldBlack: #111111;
|
||||||
--black: #191919;
|
--black: #191919;
|
||||||
--gold: rgb(223, 200, 65);
|
--gold: rgb(223, 200, 65);
|
||||||
--dark-gold: rgb(158, 141, 44);
|
--dark-gold: rgb(158, 141, 44);
|
||||||
@@ -17,7 +23,6 @@
|
|||||||
|
|
||||||
/** HEADER + NAV STYLING */
|
/** HEADER + NAV STYLING */
|
||||||
header {
|
header {
|
||||||
background-color: var(--black);
|
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
@@ -60,31 +65,31 @@ header {
|
|||||||
|
|
||||||
/** BODY TAGS */
|
/** BODY TAGS */
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: gontserrat;
|
font-family: inter;
|
||||||
src: url('../assets/fonts/gontserrat/Gontserrat-Bold.ttf');
|
src: url('../assets/fonts/Inter.ttf');
|
||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
font-family: gontserrat, sans-serif;
|
font-family: inter, sans-serif;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
color: #666;
|
color: #666;
|
||||||
background-color: var(--black);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
main {
|
main {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
gap: 5rem;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
width: 100%;
|
min-width: 100%;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
section {
|
section {
|
||||||
max-width: 75%;
|
min-width: 90%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -126,7 +131,6 @@ footer {
|
|||||||
|
|
||||||
max-width: 90%;
|
max-width: 90%;
|
||||||
|
|
||||||
background-color: var(--black);
|
|
||||||
color: var(--gold);
|
color: var(--gold);
|
||||||
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -199,7 +203,6 @@ footer {
|
|||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
background-color: var(--black);
|
|
||||||
transition: top 0.5s ease;
|
transition: top 0.5s ease;
|
||||||
box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
|
box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
|
|||||||
+5
-4
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
main {
|
main {
|
||||||
min-height: 530px; /** to make sure footer doesn't overlap hero */
|
min-height: 530px; /** to make sure footer doesn't overlap hero */
|
||||||
gap: 2rem;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#hero-image {
|
#hero-image {
|
||||||
@@ -59,11 +59,12 @@
|
|||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
transition: 0.5s ease;
|
transition: 0.3s ease;
|
||||||
}
|
}
|
||||||
#book-button:hover {
|
#book-button:hover {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
box-shadow: 0px 0px 30px var(--gold);
|
box-shadow: 0px 0px 10px var(--gold);
|
||||||
|
font-size: 2.25rem;
|
||||||
}
|
}
|
||||||
#book-button:active {
|
#book-button:active {
|
||||||
background-color: var(--gold);
|
background-color: var(--gold);
|
||||||
@@ -136,7 +137,7 @@
|
|||||||
<div id="hero-image"></div>
|
<div id="hero-image"></div>
|
||||||
|
|
||||||
<section id="intro">
|
<section id="intro">
|
||||||
<h1>Restore & Protect<br />Your Vehicle</h1>
|
<h1>Restore & Protect Your Vehicle</h1>
|
||||||
<p>with the best mobile car detailing service in the Portland area</p>
|
<p>with the best mobile car detailing service in the Portland area</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|||||||
+4
-2
@@ -14,6 +14,10 @@
|
|||||||
<link rel="stylesheet" href="https://cdn.knightlab.com/libs/juxtapose/latest/css/juxtapose.css">
|
<link rel="stylesheet" href="https://cdn.knightlab.com/libs/juxtapose/latest/css/juxtapose.css">
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
main {
|
||||||
|
margin-top: 5rem;
|
||||||
|
}
|
||||||
|
|
||||||
/** REVIEWS */
|
/** REVIEWS */
|
||||||
#reviewContainer {
|
#reviewContainer {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -201,8 +205,6 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
+200
@@ -0,0 +1,200 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<meta
|
||||||
|
name="description"
|
||||||
|
content="Luxury Detailing Maine provides mobile professional car cleaning services in the Portland Area"
|
||||||
|
/>
|
||||||
|
<title>Luxury Detailing Maine</title>
|
||||||
|
<link href="css/style.css" rel="stylesheet" />
|
||||||
|
<link href="css/dropdown.css" rel="stylesheet" />
|
||||||
|
<link href="css/hamburger.css" rel="stylesheet" />
|
||||||
|
|
||||||
|
<style>
|
||||||
|
|
||||||
|
main {
|
||||||
|
max-width: 90%;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#tableOfContents {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
gap: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#serviceListings {
|
||||||
|
align-self: flex-end;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.book-button {
|
||||||
|
background-color: var(--black);
|
||||||
|
color: var(--gold);
|
||||||
|
width: 50%;
|
||||||
|
height: 4rem;
|
||||||
|
|
||||||
|
border: 1px solid white;
|
||||||
|
border-radius: 5rem;
|
||||||
|
|
||||||
|
padding: .5rem 1rem;
|
||||||
|
|
||||||
|
font-size: 1rem;
|
||||||
|
font-weight: bold;
|
||||||
|
text-decoration: none;
|
||||||
|
transition: 0.5s ease;
|
||||||
|
}
|
||||||
|
.book-button:hover {
|
||||||
|
cursor: pointer;
|
||||||
|
box-shadow: 0px 0px 15px var(--gold);
|
||||||
|
}
|
||||||
|
.book-button:active {
|
||||||
|
background-color: var(--gold);
|
||||||
|
}
|
||||||
|
|
||||||
|
.book-link {
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** mobile rules */
|
||||||
|
/** MOBILE */
|
||||||
|
@media screen and (max-width: 850px) {
|
||||||
|
section {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 1.75rem;
|
||||||
|
}
|
||||||
|
h2 {
|
||||||
|
font-size: 1.5rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<a href="#main-content" class="skipLink">Skip to main content</a>
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<div class="banner" role="banner">
|
||||||
|
<a href="index.html" class="logo" aria-label="Company Logo">LUXURY DETAILING</a>
|
||||||
|
|
||||||
|
<button
|
||||||
|
id="hamburger"
|
||||||
|
aria-label="Toggle mobile navigation menu"
|
||||||
|
aria-expanded="false"
|
||||||
|
>
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<nav>
|
||||||
|
<a class="navLink" role="navigation" href="ceramic-coating.html">Ceramic Coating</a>
|
||||||
|
<a class="navLink" role="navigation" href="services.html">Services</a>
|
||||||
|
<a class="navLink" role="navigation" href="reviews.html">Reviews</a>
|
||||||
|
<a class="navLink" role="navigation" href="contact.html">About</a>
|
||||||
|
</nav>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main id="main-content">
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<h1>Service Categories</h1>
|
||||||
|
<div id="tableOfContents">
|
||||||
|
<a href="#packages">Service Packages</a>
|
||||||
|
<a href="#ceramic">Ceramic Coating</a>
|
||||||
|
<a href="#paint">Polish & Paint Correction</a>
|
||||||
|
<a href="#exterior">Exterior Detailing</a>
|
||||||
|
<a href="#interior">Interior Detailing</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="serviceListings">
|
||||||
|
<div class="card" >
|
||||||
|
<h2>hheadheadheadheadheadheadheadheadheadheadead</h2>
|
||||||
|
<p>bodyyy</p>
|
||||||
|
</div>
|
||||||
|
<div class="dropdown-body">
|
||||||
|
<span class="dropdown-body-half">
|
||||||
|
<h3>Interior</h3>
|
||||||
|
<ul>
|
||||||
|
<li>Vacuum & light carpet shampooing</li>
|
||||||
|
<li>Plastics, leather, and vinyls cleaning</li>
|
||||||
|
<li>Light seat shampooing</li>
|
||||||
|
<li>Interior & exterior window cleaning</li>
|
||||||
|
<li>Crack & crevice cleaning</li>
|
||||||
|
</ul>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<span class="dropdown-body-half">
|
||||||
|
<h3>Exterior</h3>
|
||||||
|
<ul>
|
||||||
|
<li>Hand wash & dry</li>
|
||||||
|
<li>Bug gut removal</li>
|
||||||
|
<li>Tire, wheel, and wheel well cleaning + tire shine</li>
|
||||||
|
<li>Window cleaning</li>
|
||||||
|
<li>Light door jam cleaning</li>
|
||||||
|
</ul>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div id="footer-left">
|
||||||
|
©Luxury Detailing Maine 2025<br />
|
||||||
|
All rights reserved<br />
|
||||||
|
Portland, ME
|
||||||
|
</div>
|
||||||
|
<div id="footer-right">
|
||||||
|
207-807-6770<br />
|
||||||
|
example@email.com<br />
|
||||||
|
<a
|
||||||
|
href="https://www.instagram.com/luxurydetailingmaine/"
|
||||||
|
target="_blank"
|
||||||
|
>@luxurydetailingmaine</a
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
<script src="js/hamburger.js"></script>
|
||||||
|
<script>
|
||||||
|
function toggleDropdown(headerClicked) {
|
||||||
|
let dropdown = headerClicked.parentElement;
|
||||||
|
let body = headerClicked.nextElementSibling;
|
||||||
|
let arrow = headerClicked.children[0];
|
||||||
|
|
||||||
|
if (dropdown.classList.contains("longest")) {
|
||||||
|
dropdown.classList.toggle("open-longest");
|
||||||
|
body.classList.toggle("open-longest");
|
||||||
|
arrow.classList.toggle("open");
|
||||||
|
}
|
||||||
|
else if (dropdown.classList.contains("long")) {
|
||||||
|
dropdown.classList.toggle("open-long");
|
||||||
|
body.classList.toggle("open-long");
|
||||||
|
arrow.classList.toggle("open");
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
dropdown.classList.toggle("open");
|
||||||
|
body.classList.toggle("open");
|
||||||
|
arrow.classList.toggle("open");
|
||||||
|
}
|
||||||
|
|
||||||
|
let isOpen = dropdown.className.includes("open");
|
||||||
|
dropdown.setAttribute('aria-expanded', isOpen);
|
||||||
|
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
Reference in New Issue
Block a user