MediaWiki:Common.css: Difference between revisions

From Infinite Nomic Wiki
miraheze>Nyhilo
Add styles for invisible-text image transcripts relevant to wiki/Cycle_12/Ruleset
 
Add css for sized external image
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* 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 {
.cycle-12-transcript {
position: absolute;
font-size:1.5rem !important;
padding: 1rem;
}
font-size: 1.5rem;
 
color: transparent;
.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;
}
}

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;
}