MediaWiki:Vector.css

From Resco's Wiki
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will affect users of the Vector skin */
#ca-talk { display:none!important; }

/* using hue-rotate() function to recolor icons */ 
.bluetored img {
  filter:hue-rotate(140deg);
}

.bluetogreen img {
  filter:hue-rotate(320deg);
}

/* trying to add a bit more space between TOC and page */
#toc {
    margin-top: 1.5em; 
}

/* Used for Template:Tile2 */
/* originally based on https://stackoverflow.com/questions/23513965/table-cell-link-in-mediawiki-markup */

.clickablecell a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: #F7F7F7;
    padding:0 5px 0 0;
}

.clickablecell a img {
	padding:1em;
}

.clickablecell a.external.text{
	background-image:none;
	padding:0 5px 0 0;
}