MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
background-size: cover; | background-size: cover; | ||
background-position: center; | background-position: center; | ||
background-image: url('https:// | background-image: url('https://example.com/new-image.jpg'); | ||
} | } | ||
Revision as of 21:39, 13 July 2023
/* CSS placed here will be applied to all skins */
* {
font-style: normal;
font-weight: 400 700 900;
font-display: optional;
font-family: 'Montserrat', sans-serif;
}
.ig-card {
height:500px;
padding-bottom: 56.25%;
width:100%;
background-size: cover;
background-position: center;
background-image: url('https://example.com/new-image.jpg');
}
.externalimage-holder {
position: relative;
}
.externalimage-holder img {
width: 100%;
height: auto;
}
img { max-width:100%; height: auto; width: auto\9; /* ie8 */ }