new gradient border on ceramic coating

This commit is contained in:
2025-11-16 20:42:20 -05:00
parent 826326f4e2
commit 74e3f37a9c
2 changed files with 75 additions and 25 deletions
+67 -17
View File
@@ -18,24 +18,32 @@
margin: 1rem; margin: 1rem;
} }
.info-box { .info-box {
background:
linear-gradient(var(--black) 0 0) padding-box, /*black background*/
linear-gradient(to left, var(--gold), white, var(--gold)) border-box;
border: 5px solid transparent;
max-width: 80%; max-width: 80%;
width: 80%; width: 80%;
padding: 2rem 4rem;; padding: 2rem 4rem;;
border-radius: 4rem; border-radius: 4rem;
height: min-content; height: min-content;
border: 2px solid var(--gold); /** border: 2px solid var(--gold); **/
transition: border 1s ease; transition: 1s ease;
} }
.info-box:hover { .info-box:hover {
border: 2px solid white;
} }
.info-box h1, p { .info-box h1 {
color: var(--gold);
}
.info-box h2 {
color: white; color: white;
text-wrap: pretty;
} }
.info-flex { .info-flex {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
@@ -61,14 +69,25 @@
max-width: 100%; max-width: 100%;
} }
li { #allIncludeList li {
text-wrap: nowrap; text-wrap: nowrap;
list-style-position: inside; list-style-position: inside;
padding: 0rem; padding: 0rem;
margin: .5rem .5rem; margin: .5rem .5rem;
} }
li::marker {
#allIncludeList li::marker {
content: "✓ "; content: "✓ ";
}
ol li ul {
padding-left: 1rem;
}
li {
color: white;
text-align: left;
}
li::marker {
color: var(--gold); color: var(--gold);
} }
@@ -120,28 +139,42 @@
<hr /> <hr />
<p>some headline details can go in here, then:</p> <p>some headline details can go in here, then:</p>
<ul id="allIncludeList"> <ul id="allIncludeList">
<li>list example item 1</li> <li>3-5 years of protection</li>
<li>list example item 2</li> <li>Hand wash</li>
<li>list example item 3</li> <li>other detail</li>
<li>list example item 4</li> <li>other detail</li>
</ul> </ul>
</section> </section>
<div class="info-flex"> <div class="info-flex">
<section class="info-box"> <section class="info-box">
<h1>Choose your <em>Ceramic Coating</em> Package</h1> <h1>Choose your <em>Package</em></h1>
<hr /> <hr />
<div style="width: 75%;">
<ol>
<li>
<h2>Elite Ceramic Coating:</h2>
<ul> <ul>
<li>Elite Ceramic Coating</li> <li>elite detail one</li>
<li>Complete Ceramic Coating</li> <li>elite detail two</li>
</ul> </ul>
<p><i>dev note:</i>maybe left-align list above, change bullet style, then use existing bullets as first list, then make sub-bullets for the distinguishing characteristics of each package with checkmark bullet?</p> </li>
<li>
<h2>Complete Ceramic Coating:</h2>
<ul>
<li>complete detail one</li>
<li>complete detail two</li>
</ul>
</li>
</ol>
</div>
</section> </section>
<section class="info-box"> <section class="info-box">
<h1>Wheel Wash <em>Add-on</em></h1> <h1>Wheel Wash <em>Add-on</em></h1>
<hr /> <hr />
<ul id="allIncludeList"> <ul>
<li>wheel wash information 1</li> <li>wheel wash information 1</li>
<li>wheel wash information 2</li> <li>wheel wash information 2</li>
<li>wheel wash information 3</li> <li>wheel wash information 3</li>
@@ -149,6 +182,23 @@
</section> </section>
</div> </div>
</main> </main>
<footer>
<div id="footer-left">
&copy;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 src="js/hamburger.js"></script>
</body> </body>
</html> </html>
+3 -3
View File
@@ -67,7 +67,7 @@
} }
#galleryPhotos { #galleryPhotos {
display: flex; display: flex;
min-width: 100%; min-width: 75%;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
} }
@@ -90,10 +90,10 @@
} }
div.jx-arrow.jx-left { div.jx-arrow.jx-left {
border-color: transparent white transparent transparent; border-color: transparent var(--gold) transparent transparent;
} }
div.jx-arrow.jx-right { div.jx-arrow.jx-right {
border-color: transparent transparent transparent white; border-color: transparent transparent transparent var(--gold);
} }
/** BEFORE / AFTER IMAGES */ /** BEFORE / AFTER IMAGES */