Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(add redirect changes to special pages) |
(edit infobox styles - attempt to fix infoboxes so appears more like old wiki looked (ie set to right, etc)) |
||
Line 29: | Line 29: | ||
width:auto | width:auto | ||
!important; | !important; | ||
} | |||
/* Infobox template style */ | |||
.infobox { | |||
border: 1px solid #aaaaaa; | |||
background-color: #f9f9f9; | |||
color: black; | |||
margin-bottom: 0.5em; | |||
margin-left: 1em; | |||
padding: 0.2em; | |||
float: right; | |||
clear: right; | |||
} | |||
.infobox td, | |||
.infobox th { | |||
vertical-align: top; | |||
} | |||
.infobox caption { | |||
font-size: larger; | |||
margin-left: inherit; | |||
} | |||
.infobox.bordered { | |||
border-collapse: collapse; | |||
} | |||
.infobox.bordered td, | |||
.infobox.bordered th { | |||
border: 1px solid #aaaaaa; | |||
} | |||
.infobox.bordered .borderless td, | |||
.infobox.bordered .borderless th { | |||
border: 0; | |||
} | } |
Revision as of 04:32, 10 April 2021
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Wendy+One&display=swap');
/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect:after {
color: #808080; content: " (redirect)"
}
.watchlistredir {
font-style: italic;
}
/* Changes the default font used for MediaWiki headings to Noto Serif: */
h1,
.mw-headline,
h2 {
font-family: "Wendy One", serif!important;
font-weight:normal!important;
}
html,body,span,div{
font-family:"lucida grande",tahoma,arial,sans-serif;
}
#mw-toc-heading
{
font-size:130%;
}
.ajax-poll {
width:auto
!important;
}
/* Infobox template style */
.infobox {
border: 1px solid #aaaaaa;
background-color: #f9f9f9;
color: black;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
float: right;
clear: right;
}
.infobox td,
.infobox th {
vertical-align: top;
}
.infobox caption {
font-size: larger;
margin-left: inherit;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}