Difference between revisions of "MediaWiki:Common.css"

From WarRocketWiki
Jump to navigation Jump to search
(Created page with "→‎CSS placed here will be applied to all skins: body { counter-reset: raw; } .episode::before { counter-increment: raw; content: counter(section) " - "; }")
 
 
(5 intermediate revisions by the same user not shown)
Line 5: Line 5:
.episode::before {
.episode::before {
   counter-increment: raw;  
   counter-increment: raw;  
   content: counter(section) " - ";  
   content: counter(raw) " - ";
}
.the-list li:nth-child(25n) {
  border-bottom: 1px dashed #aaa;
  padding-bottom: 5px;
  margin-bottom: 5px;
}
.the-list li:nth-child(50n) {
  border-bottom: 1px dotted #999;
  padding-bottom: 5px;
  margin-bottom: 5px;
}
.the-list li:nth-child(100n) {
  border-bottom: 1px solid #888;
  padding-bottom: 5px;
  margin-bottom: 5px;
}
}

Latest revision as of 09:30, 8 November 2024

/* CSS placed here will be applied to all skins */
body {
  counter-reset: raw; 
}
.episode::before {
  counter-increment: raw; 
  content: counter(raw) " - "; 
}
.the-list li:nth-child(25n) {
  border-bottom: 1px dashed #aaa;
  padding-bottom: 5px;
  margin-bottom: 5px;
}
.the-list li:nth-child(50n) {
  border-bottom: 1px dotted #999;
  padding-bottom: 5px;
  margin-bottom: 5px;
}
.the-list li:nth-child(100n) {
  border-bottom: 1px solid #888;
  padding-bottom: 5px;
  margin-bottom: 5px;
}