MediaWiki:Common.css: Difference between revisions
From Ephimoria Wiki
No edit summary |
No edit summary Tag: Reverted |
||
Line 2: | Line 2: | ||
* {font-family: Georgia} | * {font-family: Georgia} | ||
/* Changes the default font used for MediaWiki headings to Noto Serif: */ | |||
#content h1, | |||
#content h2 { | |||
font-family: "Noto Serif", serif; | |||
} | |||
.portable-infobox .pi-data { | .portable-infobox .pi-data { |
Revision as of 21:31, 15 October 2023
/* CSS placed here will be applied to all skins */ * {font-family: Georgia} /* Changes the default font used for MediaWiki headings to Noto Serif: */ #content h1, #content h2 { font-family: "Noto Serif", serif; } .portable-infobox .pi-data { height: 3em; /* sets height */ display: flex; align-items: center; /* vertically align items or text */ justify-content: center; /* horizontally aligns items or text */ background-color: #0f1429; flex-basis: 120px; } .portable-infobox .pi-data-label { flex-basis: 120px; } .portable-infobox .pi-title { font-size: 20px !important; font-weight: bold !important; height: 2em; /* sets height */ display: flex; align-items: center; /* vertically align items or text */ justify-content: center ; /* horizontally aligns items or text */ flex-basis: 120px; } .spoilerblur { filter: blur(3px); /* fallback if for some reason browsers can't parse floating point */ filter: blur(3.5px); opacity: 0.40; transition: filter 1s linear, opacity 1s linear, text-shadow 1s linear; }