MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary Tag: Manual revert |
No edit summary |
||
Line 8: | Line 8: | ||
border-spacing: 0; | border-spacing: 0; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
float: right; | float: right; | ||
margin-left: 2rem; | margin-left: 2rem; | ||
Line 39: | Line 37: | ||
border: solid rgba(40,115,8,0.5); | border: solid rgba(40,115,8,0.5); | ||
border-width: 1px 0px 1px 0px; | border-width: 1px 0px 1px 0px; | ||
} | |||
th:first-of-type { | |||
border-top-left-radius: 10px; | |||
} | |||
th:last-of-type { | |||
border-top-right-radius: 10px; | |||
} | |||
tr:last-of-type td:first-of-type { | |||
border-bottom-left-radius: 10px; | |||
} | |||
tr:last-of-type td:last-of-type { | |||
border-bottom-right-radius: 10px; | |||
} | } | ||
Revision as of 02:23, 28 July 2025
/* CSS placed here will be applied to all skins */
@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: 1px solid rgba(40,115,8,0.5);
border-spacing: 0;
border-collapse: collapse;
float: right;
margin-left: 2rem;
margin-right: 10px
}
.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;
border: solid rgba(40,115,8,0.5);
border-width: 1px 0px 1px 0px;
}
.game-infobox-argument {
font-size: 0.8rem;
padding: 0.5rem;
border: solid rgba(40,115,8,0.5);
border-width: 1px 0px 1px 0px;
}
th:first-of-type {
border-top-left-radius: 10px;
}
th:last-of-type {
border-top-right-radius: 10px;
}
tr:last-of-type td:first-of-type {
border-bottom-left-radius: 10px;
}
tr:last-of-type td:last-of-type {
border-bottom-right-radius: 10px;
}
/* Viewport Containers */
@media(max-height: 993px) {
.game-infobox {
float: none;
}
}