MediaWiki:Mobile.css: Difference between revisions

Adding autorounded table with internal borders
(Reverting to previous name, but adding a new class definition to enforce that it applies to vertical as well. Also adding a vertical-fullwidth class.)
(Adding autorounded table with internal borders)
Line 84: Line 84:
.darkbg { background: rgb(94,80,76); color: white; }
.darkbg { background: rgb(94,80,76); color: white; }


/* Autorounded table with internal borders */
.bordertable {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
}
.bordertable tr th:not(:last-child),
.bordertable tr td:not(:last-child) {
  border-right: 1px solid #000;
}
.bordertable tr:not(:last-child) th,
.bordertable tr:not(:last-child) td {
  border-bottom: 1px solid #000;
}
.bordertable tr:first-child th:first-child {
  border-top-left-radius: 5px;
}
.bordertable tr:first-child th:last-child {
  border-top-right-radius: 5px;
}
.bordertable tr:last-child td:first-child {
  border-bottom-left-radius: 5px;
}
.bordertable tr:last-child td:last-child {
  border-bottom-right-radius: 5px;
}
/* Link color override */
.blacklinks a, .blacklinks a:link, .blacklinks a:visited, .blacklinks a:hover, .blacklinks a:active, .blacklinks a span {
.blacklinks a, .blacklinks a:link, .blacklinks a:visited, .blacklinks a:hover, .blacklinks a:active, .blacklinks a span {
   color: black !important;
   color: black !important;