MediaWiki:Common.css: Difference between revisions

From Progresive Victory Wiki
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://scontent-hou1-1.cdninstagram.com/v/t51.29350-15/333943357_5193648887404746_7556623114517443399_n.jpg?_nc_cat=103&ccb=1-7&_nc_sid=8ae9d6&_nc_ohc=T9ckGt8RiGMAX-JN172&_nc_ht=scontent-hou1-1.cdninstagram.com&edm=ANo9K5cEAAAA&oh=00_AfC5G8_dheaf6ctkoNtO_ucFPuLFMr46aERSP7KhQcrZAw&oe=64B5F9EE');
     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 */ }