Skip to content

Commit

Permalink
update css
Browse files Browse the repository at this point in the history
  • Loading branch information
vwolfley committed Apr 6, 2024
1 parent daa1606 commit 463644a
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 19 deletions.
2 changes: 1 addition & 1 deletion scoots/contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ <h2>We’d Love To Hear From You!</h2>
<div class="contact-info">
<div class="address-info">
<h3>Visit us at both locations</h3>
<div class="hours card">
<div class="hours card-hours">
<h5>HOURS OF OPERATION:</h5>
<p>MONDAY-SATURDAY 8AM-5PM</p>
<p>SUNDAY – BY APPOINTMENT</p>
Expand Down
42 changes: 24 additions & 18 deletions scoots/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -693,12 +693,18 @@ h5 {
border: 1px solid #ccc;
box-shadow: 2px 2px 6px 0px rgba(0, 0, 0, 0.3);
text-align: center;
width: 100%;
max-width: 375px;
}
/* .home-rides-info .card:nth-child(2),
.places-info .card:nth-child(2) {
width: 450px;
} */
.card-hours {
display: flex;
flex-direction: column;
padding: 10px;
border: 1px solid #ccc;
box-shadow: 2px 2px 6px 0px rgba(0, 0, 0, 0.3);
text-align: center;
max-width: 300px;
}

.card h3 {
font-size: 1.1em;
Expand Down Expand Up @@ -791,25 +797,32 @@ h5 {
.contact-area .contact-body {
display: flex;
flex-direction: column;
gap: 50px;
}

.reservations-area .reservations-body {
display: flex;
flex-direction: column;
justify-content: center;
padding: 0 75px;
gap: 50px;
}

.contact-info {
display: flex;
flex-direction: column;
margin: 0 auto;
gap: 20px;
order: 1;
width: 100%;
gap: 25px;
max-width: 600px;
}
.contact-info,
.reservations-info {
display: flex;
flex-direction: column;
margin: 0 auto;
padding: 20px;
gap: 20px;
order: 1;
width: 100%;
max-width: 600px;
max-width: 800px;
}
.agreement {
display: flex;
Expand All @@ -832,7 +845,6 @@ h5 {
flex-direction: column;
align-items: center;
margin: 0 auto;
padding: 20px;
order: 2;
width: 100%;
max-width: 600px;
Expand All @@ -841,9 +853,8 @@ h5 {
.contact-area .contact-body {
flex-direction: row;
}
.reservations-body {
.reservations-area .reservations-body {
flex-direction: row;
gap: 50px;
}
}
.reservations-area p {
Expand Down Expand Up @@ -1053,11 +1064,6 @@ fieldset label.top textarea:required:valid {

/* Pricing Table */
.pricing {
display: flex;
justify-content: center;
align-items: center;
margin: 0 auto;
padding: 20px 80px;
color: var(--text-color-header);
order: 2;
}
Expand Down

0 comments on commit 463644a

Please sign in to comment.