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
(hierarchical numbering -- test, then convert ul -> ol)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
ul {
+
ol {
 
   counter-reset: listNum;
 
   counter-reset: listNum;
 
   list-style-type: none;
 
   list-style-type: none;
 
}
 
}
  
ul > li:before {
+
ol > li:before {
 
   counter-increment: listNum;
 
   counter-increment: listNum;
 
   content: counters(listNum, ".") ".";
 
   content: counters(listNum, ".") ".";
 +
}
 +
 +
.spoiler {
 +
  color: #888;
 +
  background: #888;
 +
}
 +
.spoiler:hover {
 +
  color: black;
 +
  background: #eee;
 +
}
 +
 +
  /* status styles */
 +
.stat-ok {
 +
  background-color: #44ff44;
 +
}
 +
.stat-busy {
 +
  background-color: #ffff44;
 +
}
 +
blockquote {
 +
    font-family: serif;
 +
    border: 1px solid grey;
 +
    padding: 1em;
 
}
 
}

Revision as of 17:49, 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 {
  color: black;
  background: #eee;
}

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