Jump to content

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 38: Line 38:
.mw-logo-wordmark:hover {
.mw-logo-wordmark:hover {
color: #28b017;
color: #28b017;
}
/* Infobox Classes */
.game-infobox {
font-family: 'Rubik';
border-spacing: 0;
border-collapse: separate;
float: right;
margin: 0.5rem 5px 0.5rem 2rem;
max-width: 240px;
min-width: 200px;
}
.game-infobox-title {
background-color: #287308;
color: white;
padding: 0.5rem 2.5rem 0.5rem 2.5rem;
font-size: 16px;
}
.game-infobox-header {
width: 240px;
background-color: #287308;
color: white;
font-size: 14px;
padding: 0.5rem;
}
.game-infobox-attribute {
width: 70px;
font-size: 12px;
padding: 0.5rem;
}
.game-infobox-argument {
font-size: 12px;
padding: 0.5rem;
}
.game-infobox tr th, .game-infobox tr td {
  border-right: 1px solid rgba(40,115,8,0.5);
  border-bottom: 1px solid rgba(40,115,8,0.5);
}
.game-infobox tr th:first-child,
.game-infobox tr td:first-child {
  border-left: 1px solid rgba(40,115,8,0.5);
}
.game-infobox tr th {
  border-top: 1px solid rgba(40,115,8,0.5);
}
.game-infobox tr:first-child th:first-child {
  border-top-left-radius: 2px;
}
.game-infobox tr:first-child th:last-child {
  border-top-right-radius: 2px;
}
.game-infobox tr:last-child td:first-child {
  border-bottom-left-radius: 2px;
}
.game-infobox tr:last-child td:last-child {
  border-bottom-right-radius: 2px;
}
}
.message-box {
.message-box {
Line 119: Line 63:
border: 1px solid #ccc;
border: 1px solid #ccc;
grid-template-columns: repeat(auto-fill, 50px);
grid-template-columns: repeat(auto-fill, 50px);
}
.model-infobox {
  width: 240px;
  height: 150px;
}
}