MediaWiki:Mobile.css: Difference between revisions

m
no edit summary
(Adding autorounded table with internal borders)
mNo edit summary
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 */
/* Autorounded table */
.bordertable {
.bordertable {
  border-collapse: separate;
  border-spacing: 0;
   border-radius: 10px;
   border-radius: 10px;
  padding-bottom: 4px;
}
}


.bordertable tr th:not(:last-child),
.bordertable td {
.bordertable tr td:not(:last-child) {
   background-color: white;
  border-right: 1px solid #000;
}
 
.bordertable tr:not(:last-child) th,
.bordertable tr:not(:last-child) td {
   border-bottom: 1px solid #000;
}
}


Line 107: Line 100:
.bordertable tr:first-child th:last-child {
.bordertable tr:first-child th:last-child {
   border-top-right-radius: 5px;
   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;
}
}