MediaWiki:Common.css: Difference between revisions

From Lochac Marshal Rules Wiki
Jump to navigation Jump to search
No edit summary
(Replaced content with ".revision { background:#00ffff; } .comment { background:#00FF00; } →‎Giving table borders: table.withBorders { border-collapse: collapse; } .withBorders, .withBorders th, .withBorders td { border: 2px solid black; }")
Tag: Replaced
 
(112 intermediate revisions by 3 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
.revision {
  background:#00ffff;
}
.comment {
  background:#00FF00;
}


/* section-based ol numbering*/
/* Giving table borders */
/*
table.withBorders {
#mw-content-text ol {
   border-collapse: collapse;
   counter-reset: section;
  list-style-type: none;
}
}
#mw-content-text li:before {
.withBorders, .withBorders th, .withBorders td {
   list-style-type: none;
   border: 2px solid black;
  counter-increment: section;
  content: counters(section, ".") ". ";
}
}
*/

Latest revision as of 08:17, 15 July 2025

.revision {
  background:#00ffff;
}
.comment {
  background:#00FF00;
}

/* Giving table borders */
table.withBorders {
  border-collapse: collapse;
}
.withBorders, .withBorders th, .withBorders td {
  border: 2px solid black;
}