Jump to content

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 34: Line 34:
padding: 0.5rem;
padding: 0.5rem;
}
}
.game-infobox tr th, .game-infobox tr td {
.game-infobox tr th, .game-infobox tr td {
  border-right: 1px solid rgba(40,115,8,0.5);
  border-right: 1px solid rgba(40,115,8,0.5);
Line 62: Line 58:
   border-bottom-right-radius: 2px;
   border-bottom-right-radius: 2px;
}
}


/* Viewport Containers */
/* Viewport Containers */
Line 72: Line 64:
float: none;
float: none;
}
}
}
.table-1 {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 350px;
}
.table-1 tr th,
.table-1 tr td {
  border-right: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
  padding: 5px;
}
.table-1 tr th:first-child,
.table-1 tr td:first-child {
  border-left: 1px solid #bbb;
}
.table-1 tr th {
  border-top: 1px solid #bbb;
  text-align: left;
}
/* top-left border-radius */
.table-1 tr:first-child th:first-child {
  border-top-left-radius: 6px;
}
/* top-right border-radius */
.table-1 tr:first-child th:last-child {
  border-top-right-radius: 6px;
}
/* bottom-left border-radius */
.table-1 tr:last-child td:first-child {
  border-bottom-left-radius: 6px;
}
/* bottom-right border-radius */
.table-1 tr:last-child td:last-child {
  border-bottom-right-radius: 6px;
}
}