MediaWiki:Common.css
From Hotline Wiki
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* Styling for client version tags */
.client-version-tag {
display: inline-block;
padding: 3px 8px;
margin: 2px;
border: 1px solid #ccc;
background-color: #f8f9fa;
border-radius: 4px;
font-size: 90%;
}
/* Styling for OS Support Template */
.os-support-item {
display: inline-block;
vertical-align: middle;
white-space: nowrap; /* Prevents the icon and text from splitting to a new line */
}
.os-support-item img {
vertical-align: middle; /* Aligns icon with text better */
margin-right: 4px;
}
.client-version-tag a {
text-decoration: none;
}
.client-version-tag:hover {
border-color: #3498db;
background-color: #eaf5fc;
}
/* Ensure icons are aligned with text */
.client-version-tag img {
vertical-align: middle;
}
/* --- Infobox Styling --- */
/* This is the main container for the infobox */
.infobox {
float: right;
margin-left: 1em;
margin-bottom: 0.5em;
width: 22em; /* Standard infobox width */
border: 1px solid #aaaaaa;
background-color: #f9f9f9;
color: black;
font-size: 90%;
padding: 0.4em;
clear: right;
}
/* Styles the main title header */
.infobox th {
text-align: center;
font-size: 125%;
font-weight: bold;
background-color: #e6e6e6; /* A light grey header */
padding: 0.25em 0.5em;
}
/* Styles the "label" cells */
.infobox ! {
font-weight: bold;
padding: 0.25em 0.5em;
vertical-align: top;
}
/* Styles the "data" cells */
.infobox td {
padding: 0.25em 0.5em;
vertical-align: top;
}