styles.css
-
- Last edited 3 years ago by MLR
-
-
- No status information
< Template:Bannerbox
Revision as of 17:00, 8 April 2021 by Mlink-rodrigue (talk | contribs) (Created page with "→styles for banner template: .bannerbox {display:flex; background:#efefef; } .bannerbox .floatleft {margin:0;} .banner-image { flex-grow:0; flex-basis:auto;} .banner-co...")
/* styles for banner template */
.bannerbox {display:flex; background:#efefef; }
.bannerbox .floatleft {margin:0;}
.banner-image { flex-grow:0; flex-basis:auto;}
.banner-content {flex-grow:1; flex-shrink:1; flex-basis:60%}
.bannerbox h1 {font-size:1.6em; margin:0 0 0.5em 0;}
.bannerbox .banner-text {font-size:1.3em;}
.banner-content {padding:10px;}
@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%}
}