Bootstrap Utility Example
p-4 m-auto position-relative overflow-hidden w-76
Css
Custom CSS Example
custom-image
Css
.custom-image {
}
Custom Callout Example
callout
Css
.callout {
width: 100%;
max-width: 850px;
}
.callout > * {
max-width: 65ch;
z-index:1;
}
.callout::after {
content: "";
background: url(data:image/svg+xml;base64,PCEtLT94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/LS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9InJnYmEoODUsIDAsIDI1NSwgMSkiIGNsYXNzPSJiaSBiaS1hc3RlcmlzayIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8cGF0aCBkPSJNOCAwYTEgMSAwIDAgMSAxIDF2NS4yNjhsNC41NjItMi42MzRhMSAxIDAgMSAxIDEgMS43MzJMMTAgOGw0LjU2MiAyLjYzNGExIDEgMCAxIDEtMSAxLjczMkw5IDkuNzMyVjE1YTEgMSAwIDEgMS0yIDBWOS43MzJsLTQuNTYyIDIuNjM0YTEgMSAwIDEgMS0xLTEuNzMyTDYgOCAxLjQzOCA1LjM2NmExIDEgMCAwIDEgMS0xLjczMkw3IDYuMjY4VjFhMSAxIDAgMCAxIDEtMXoiLz4KPC9zdmc+);
position: absolute;
height: 200px;
background-position: center;
right: 0;
top: 0;
background-size: 100%;
z-index: 0;
transform: translate(20%, -20%) rotate(45deg);
background-repeat: no-repeat;
aspect-ratio: 1/1;
opacity: 0.6;
}
Subheader border
orange_border
Css
.orange_border{
border-bottom-style: solid;
border-color: orange;
border-width: thick;
border-height: 5px;
}
Header borders
blue_border
Css
.blue_border{
border-bottom-style: solid;
border-color: #0073bd ;
border-width: thick;
border-height: 5px;
}
Header Gradient
headerSection
Css
.headerSection{
background: radial-gradient(circle at top left,#0073bd,#003976 80%);
background-width: 100%;
}
Thumbnails
img-thumbnail
Css
Footer sitemap
sitemap
Css
.sitemap column {
box-sizing: border-box;
display: table-cell;
padding: 0 1.85%;
height: 100%;
outline: none;
vertical-align: top;
}
.sitemap ul {
columns: 2;
-webkit-columns: 2;
-moz-columns: 2;
margin: 0;
padding: 0;
list-style: none;
}
.sitemap ul li a{
text-decoration: none;
}
.sitemap ul li a:hover {
text-decoration: underline;
}
Footer newsletter form
newsletterForm
Css
.newsletterForm .newsletterHeader {
margin-bottom: 0 !Important;
}
.newsletterForm .newsletterSubtitle, .newsletterForm .newsletterInput{
margin-bottom: 0 !Important;
}
.newsletterForm .newsletterSubtitle .form-text {
margin-top: 0;
}
.newsletterForm #Emailaddress {
background: #f2f2f2;
border-color: #0094da;
color: black;
margin-right: 5px;
display: block;
box-sizing: border-box;
width: 100%;
outline: none;
height: 34px;
}
.newsletterForm #Emailaddress + .form-label {
color: black;
padding: 0.3rem 0.75rem;;
}
Footer Mobile
footerMobile
Css
@media (max-width: 480px) {
.footerMobile div.d-flex {
flex-direction: column !Important;
}
}
@media (max-width: 880px) {
.footerMobile .sitemap-nav {
columns: 1;
-webkit-columns: 1;
}
}
Slider Mobile
sliderMobile
Css
@media (max-width: 768px) {
.sliderMobile .slider-container li {
padding-bottom: 52.0833%;
}
}
@media (max-width: 480px) {
.sliderMobile .slider-container li {
padding-bottom: 102.564%;
}
.home-slide-title {
font-size: 2.5em !important;;
}
.home-slide-subtitle {
font-size: 2em !important;
}
}
Full width
w-100
Css
No margin bottom
noMarginBottom
Css
@media (min-width: 992px) {
.noMarginBottom .mb-lg-4 {
margin-bottom: unset !important;
}
}
75 width
w-75
Css
headings
headings
Css
.headings .med-underline {
font-size: 1.75rem;
font-weight: 700;
}
.headings .med-underline:after{
content: "";
position: absolute;
left: 0;
top: 2em;
margin: auto;
width: 6rem;
height: 2px;
background-color: #0094da;
}
.headings .subheading {
color: #0065b3;
line-height: 1em;
font-size: 1.75em;
font-weight: 400;
}