Difference between revisions of "MediaWiki:Common.css"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
(so blockquotes stand out better)
(spoiler text)
Line 8: Line 8:
 
   counter-increment: listNum;
 
   counter-increment: listNum;
 
   content: counters(listNum, ".") ".";
 
   content: counters(listNum, ".") ".";
 +
}
 +
 +
.spoiler {
 +
  color: #888;
 +
  background: #888;
 +
}
 +
.spoiler:hover {
 +
  background: #111;
 
}
 
}
  

Revision as of 17:47, 20 March 2020

/* CSS placed here will be applied to all skins */
ol {
  counter-reset: listNum;
  list-style-type: none;
}

ol > li:before {
  counter-increment: listNum;
  content: counters(listNum, ".") ".";
}

.spoiler {
  color: #888;
  background: #888;
}
.spoiler:hover {
  background: #111;
}

  /* status styles */
.stat-ok {
  background-color: #44ff44;
}
.stat-busy {
  background-color: #ffff44;
}
blockquote {
    font-family: serif;
    border: 1px solid grey;
    padding: 1em;
}