hw>Mlink-rodrigue No edit summary |
Demo writer (talk | contribs) m (1 revision imported) |
(No difference)
|
Revision as of 16:29, 31 January 2023
/* styles for banner template */
.bannerbox {display:flex; background:#f1f3f9;}
.bannerbox .floatleft {margin:0;}
.banner-image { flex-grow:0; flex-basis:auto;}
.banner-content {flex-grow:1; flex-shrink:1; flex-basis:60%}
.bannerbox .banner-title .bannerhd {font-size:1.6em; font-weight:bold}
.bannerbox .banner-text {font-size:1.3em;}
.banner-content {padding:10px;}
.bannerbox.bgicon1, .bannerbox.bgicon2, .bannerbox.bgicon3, bannerbox.swoosh {position:relative;overflow:hidden}
.bannerbox.bgicon1::before {color:white; opacity: 0.5; font-size:15em;font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f0ac";
position: absolute; top: -95px;right: 10px;}
.bannerbox.bgicon2::before {color:white; opacity: 0.5; font-size:9.5em; font-family: "bootstrap-icons"; font-weight: 400; content: "\f1dd"; position: absolute; top: -40px; right: 10px;}
.bannerbox.bgicon3::before {color:black; opacity: 0.5; font-size:9.5em; font-family: "Font Awesome 5 Free"; font-weight: 400; content: "\f05a"; position: absolute; top: -40px; right: 10px;}
.bannerbox.swoosh {border-bottom: 1px solid #a6a6a7;border-radius: 0 0 80% 0%; overflow: hidden;position:relative;}
@media only screen
and (max-width: 600px) {
.bannerbox {flex-wrap:wrap;}
.banner-image {flex-basis:100%;}
.banner-image img{ width: 100%;}
.banner-content {flex-basis:100%}
}