MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
Line 9: | Line 9: | ||
float: right; | float: right; | ||
margin: 0.5rem 10px 0.5rem 2rem; | margin: 0.5rem 10px 0.5rem 2rem; | ||
min-width: | min-width: 240px; | ||
} | } | ||
.game-infobox-title { | .game-infobox-title { | ||
Line 18: | Line 18: | ||
} | } | ||
.game-infobox-header { | .game-infobox-header { | ||
width: | width: 240px; | ||
background-color: #287308; | background-color: #287308; | ||
color: white; | color: white; |
Revision as of 18:03, 29 July 2025
/* Custom Fonts */
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
/* Infobox Classes */
.game-infobox {
font-family: Rubik;
border-spacing: 0;
border-collapse: separate;
float: right;
margin: 0.5rem 10px 0.5rem 2rem;
min-width: 240px;
}
.game-infobox-title {
background-color: #287308;
color: white;
padding: 0.75rem 3rem 0.75rem 3rem;
font-size: 1.1rem;
}
.game-infobox-header {
width: 240px;
background-color: #287308;
color: white;
padding: 0.5rem;
font-size: 1rem;
}
.game-infobox-attribute {
width: 50px;
font-size: 0.8rem;
padding: 0.5rem;
}
.game-infobox-argument {
font-size: 0.8rem;
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;
}
/* Viewport Containers */
@media(max-height: 993px) {
.game-infobox {
float: none;
}
}