Difference between revisions of "MediaWiki:Common.css"

From musings of k8
Jump to navigation Jump to search
Line 6: Line 6:
  
 
thead {
 
thead {
 +
  background: rgba(0, 0, 0, 0, 0.2);
 
   text-align: left;
 
   text-align: left;
 
}
 
}
tr:nth-child(even) { background: #EEEEEE; }
+
tr:nth-child(even) { background: rgba(0, 0, 0, 0.1); }
 
/* tr:nth-child(odd) { background: #FFFFFF; } */
 
/* tr:nth-child(odd) { background: #FFFFFF; } */
  

Revision as of 15:53, 28 November 2020

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

code {
  border: 0px;
}

thead {
  background: rgba(0, 0, 0, 0, 0.2);
  text-align: left;
}
tr:nth-child(even) { background: rgba(0, 0, 0, 0.1); }
/* tr:nth-child(odd) { background: #FFFFFF; } */

/* https://stackoverflow.com/questions/19450262/mediawiki-set-external-image-width-by-value */
.externalimage-holder {
    position: relative;
}
.externalimage-holder img {
    width: 100%;
    height: auto;
}

/* Float TOC to the right. */
#toc { float: right };