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)
 
 
(12 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;
 +
}
 +
/* make links stand out more */
 +
a {
 +
border-bottom: dashed 1px grey;
 +
text-shadow: -2px 2px 2px #CCC;
 
}
 
}

Latest revision as of 15:10, 16 November 2022

/* 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;
}
/* make links stand out more */
a {
	border-bottom: dashed 1px grey;
	text-shadow: -2px 2px 2px #CCC;
}