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 */
/* Remove underline from links */
a {
text-decoration: none;
}
/* Show underline only when hovering */
a:hover {
text-decoration: underline;
}
.search-shortdesc {
font-size: 12px;
color: #54595d;
margin-top: 2px;
}
.infobox {
float: right;
width: 270px;
border: 1px solid #a2a9b1;
background: #f8f9fa;
color: #202122;
font-size: 90%;
margin: 0 0 1em 1em;
}
.infobox th {
background: #eaecf0;
color: #202122;
text-align: left;
padding: 4px;
}
.infobox td {
color: #202122;
padding: 4px;
}
.infobox a {
color: #0645ad;
}
/* Wikipedia-style Infobox for DGR Wiki */
.infobox {
width: 300px;
float: right;
margin: 0 0 20px 20px;
border: 1px solid #a2a9b1;
background: #f8f9fa;
color: #202122;
font-size: 90%;
line-height: 1.4;
border-collapse: collapse;
}
.infobox th,
.infobox td {
padding: 6px 8px;
border-top: 1px solid #a2a9b1;
vertical-align: top;
}
.infobox th {
text-align: left;
background: #eaecf0;
font-weight: bold;
}
.infobox caption {
font-weight: bold;
text-align: center;
padding: 8px;
font-size: 120%;
}
.infobox img {
max-width: 100%;
height: auto;
display: block;
margin: auto;
}
.infobox .infobox-header {
background: #eaecf0;
text-align: center;
font-weight: bold;
font-size: 110%;
}
.infobox .infobox-subheader {
background: #f1f3f5;
font-weight: bold;
text-align: center;
}
.infobox ul {
margin: 0;
padding-left: 18px;
}
.infobox a {
color: #0645ad;
text-decoration: none;
}
.infobox a:hover {
text-decoration: underline;
}