MediaWiki:Common.css: Difference between revisions

From Infinite Nomic Wiki
m 4 revisions imported: Import Miraheze archive 2022-10-29
Add css for sized external image
 
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


/* Desktop styfles for this. The mobile style is hard-coded on the element */
/* Desktop styles for this. The mobile style is hard-coded on the element */
.cycle-12-transcript {
.cycle-12-transcript {
  font-size:1.5rem !important;
  font-size:1.5rem !important;
Line 8: Line 8:
.cycle-12-transcript ul li {
.cycle-12-transcript ul li {
   list-style: none;
   list-style: none;
}
/* For sizing externally linked images  */
/* https://stackoverflow.com/a/19458634 */
.externalimage-holder {
    position: relative;
}
.externalimage-holder img {
    width: 100%;
    height: auto;
}
}

Latest revision as of 16:47, 12 January 2024

/* CSS placed here will be applied to all skins */

/* Desktop styles for this. The mobile style is hard-coded on the element */
.cycle-12-transcript {
 font-size:1.5rem !important;
}

.cycle-12-transcript ul li {
   list-style: none;
}

/* For sizing externally linked images  */
/* https://stackoverflow.com/a/19458634 */
.externalimage-holder {
    position: relative;
}
.externalimage-holder img {
    width: 100%;
    height: auto;
}