Difference between revisions of "MediaWiki:Common.css"
From Fish Wrangler
Jump to navigationJump to search
(18 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
@import url('https://fonts.googleapis.com/css2?family=Wendy+One&display=swap'); | @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; | 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; | |||
margin-right: 450px; | |||
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; | |||
} | } |
Latest revision as of 05:40, 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;
margin-right: 450px;
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;
}