MediaWiki:Common.css
Jump to navigation
Jump to search
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)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* === BACKGROUND COLOUR OF CONTENT TITLE AND PAGES === */
#content {
background-color: #F1E9D2;
}
/* === IMPORT IM FELL ENGLISH FROM GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=IM+Fell+English:ital@0;1&display=swap');
/* === MAKE IT THE DEFAULT FONT FOR ALL PAGE CONTENT === */
body,
#content,
#mw-content-text,
#mw-content-text p,
#mw-content-text li,
#mw-content-text td,
#mw-content-text th,
#mw-content-text a,
#mw-panel,
.vector-menu,
#p-personal,
#footer {
font-family: "IM Fell English", serif !important;
}
/* === HEADINGS USE IM FELL ENGLISH TOO === */
h1, h2, h3, h4, h5, h6 {
font-family: "IM Fell English", serif !important;
}
/* === OPTIONAL CSS CLASSES FOR INLINE USE === */
.im-fell-english-regular {
font-family: "IM Fell English", serif;
font-weight: 400;
font-style: normal;
}
.im-fell-english-regular-italic {
font-family: "IM Fell English", serif;
font-weight: 400;
font-style: italic;
}
/* === MATCH ACTION/NAMESPACE TABS TO CONTENT BACKGROUND === */
#p-views li,
#p-namespaces li,
.vector-menu-tabs li {
background-color: #F1E9D2 !important;
border: none !important;
}
#p-views li.selected,
#p-namespaces li.selected,
.vector-menu-tabs li.selected {
background-color: #F1E9D2 !important;
border: none !important;
}
#p-views li a,
#p-namespaces li a,
.vector-menu-tabs li a {
border: none !important;
}
/* === TOP PAGE ACTION TABS: READ, EDIT SOURCE, VIEW HISTORY === */
#ca-view,
#ca-edit,
#ca-history,
#ca-watch,
#ca-unwatch,
#ca-talk,
#ca-addsection,
#ca-more {
background-color: #F1E9D2 !important;
border: none !important;
}
#ca-view a,
#ca-edit a,
#ca-history a,
#ca-watch a,
#ca-unwatch a,
#ca-talk a,
#ca-addsection a,
#ca-more a {
background-color: #F1E9D2 !important;
border: none !important;
}