MediaWiki:Common.css
Appearance
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)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
.infobox {
border: 1px solid #CCC;
background-color: #FFF;
padding: 0;
margin: 0 0 10px 10px;
width: calc(45% - 30px);
float: right;
position: relative;
}
.infobox:after {
clear: after;
}
.infobox img {
width: 100%;
max-width: 100%;
min-width: 100%;
height: auto;
}
.infobox .flag img {
width: auto;
max-width: 100%;
min-width: auto;
height: auto;
}
.infobox .title {
background-color: #CCC;
padding: 10px;
text-align: center;
color: #000;
font-weight: bold;
}
.infobox .element:first-child {
border-top: 1px solid #CCC;
}
.infobox .element {
border-bottom: 1px solid #CCC;
padding: 10px;
}
.infobox .element:last-child {
border-bottom: none;
}
.infobox .2col .wikitable {
padding: 1.25em 1.75em;
box-shadow: 0 1px 2px 1px rgba(0,0,0,0.02);
width: 100%;
border: 0;
}
a, a:link, a:hover {
color: blue;
}
a.new {
color: red;
}
a:visited {
color: blue;
}