padding options for .l-section-block

This commit is contained in:
Ray Elliott 2020-04-21 14:21:39 +00:00
parent dd60f943dd
commit 98ef83b4f5
2 changed files with 10 additions and 2 deletions

View File

@ -4,7 +4,7 @@
<h2 class="section-header">Contact Us</h2> <h2 class="section-header">Contact Us</h2>
<div class="l-section-block no-margin"> <div class="l-section-block no-margin no-pad-top">
<div class="l-wrapper contact-section"> <div class="l-wrapper contact-section">
<p class="h5">Complete this form and we will get back to you within one working day.</p> <p class="h5">Complete this form and we will get back to you within one working day.</p>
<form action="https://mailthis.to/remailthis" method="POST" encType="multipart/form-data"> <form action="https://mailthis.to/remailthis" method="POST" encType="multipart/form-data">
@ -30,7 +30,7 @@
</div> </div>
</div> </div>
<div class="l-section-block no-margin"> <div class="l-section-block no-margin no-pad-top">
<div class="l-wrapper contact-section"> <div class="l-wrapper contact-section">
<h3 class="h4">Remember to Generate Access Token for URL</h3> <h3 class="h4">Remember to Generate Access Token for URL</h3>
<div id="mapbox"></div> <div id="mapbox"></div>

View File

@ -115,6 +115,14 @@
max-width: initial; max-width: initial;
} }
&.no-pad-top {
padding-top: 0;
}
&.no-pad-bottom {
padding-bottom: 0;
}
&.no-margin, &.no-margin,
> p:last-child, > p:last-child,
> .l-wrapper > p:last-child { > .l-wrapper > p:last-child {