MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* 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'); | @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, | body, | ||
#content, | #content, | ||
Line 22: | Line 25: | ||
} | } | ||
/* === | /* === HEADINGS USE IM FELL ENGLISH TOO === */ | ||
h1, h2, h3, h4, h5, h6 { | h1, h2, h3, h4, h5, h6 { | ||
font-family: "IM Fell English", serif !important; | font-family: "IM Fell English", serif !important; | ||
} | } | ||
/* === | /* === OPTIONAL CSS CLASSES FOR INLINE USE === */ | ||
.im-fell-english-regular { | .im-fell-english-regular { | ||
font-family: "IM Fell English", serif; | font-family: "IM Fell English", serif; | ||
Line 38: | Line 41: | ||
font-weight: 400; | font-weight: 400; | ||
font-style: italic; | 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; | |||
} | } |
Revision as of 12:20, 5 July 2025
/* 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; }