MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
imported>Logoarto
No edit summary
imported>Logoarto
No edit summary
Line 4: Line 4:
/* Define typefaces.*/
/* Define typefaces.*/
@font-face {
@font-face {
     font-family: 'Montserrat Regular';
     font-family: 'Montserrat';
     src: url('https://static.wikiforge.net/avidwiki/3/3c/Montserrat.ttf');
     src: url('https://static.wikiforge.net/avidwiki/3/3c/Montserrat.ttf');
}     
}     
.classname {
    font-family: 'Montserrat';
}
@font-face {
@font-face {
     font-family: 'Montserrat Bold';
     font-family: 'Montserrat';
    font-weight: bold;
     src: url('https://static.wikiforge.net/avidwiki/2/25/Montserrat-Bold.ttf');
     src: url('https://static.wikiforge.net/avidwiki/2/25/Montserrat-Bold.ttf');
}   
}   
classname {
    font-family: 'Montserrat';
    font-weight: bold;
}
@font-face {
@font-face {
     font-family: 'Gotham Book';
     font-family: 'Gotham Book';
Line 393: Line 401:
/* Interface Style (code by Hb1290) */
/* Interface Style (code by Hb1290) */
div#mw-panel div.portal h3{
div#mw-panel div.portal h3{
   font-family:Montserrat Regular; font-weight:450; font-size: 14px;
   font-family:Montserrat; font-weight:450; font-size: 14px;
}
}
div#mw-navigation  div#mw-head div#p-user-tools{
div#mw-navigation  div#mw-head div#p-user-tools{
   font-family:Montserrat Regular;
   font-family:Montserrat;
}
}
div#mw-navigation  div#mw-head div#p-search{
div#mw-navigation  div#mw-head div#p-search{
   font-family:Montserrat Regular;
   font-family:Montserrat;
}
}
div#mw-navigation div#mw-head div#right-navigation{
div#mw-navigation div#mw-head div#right-navigation{
font-family:Montserrat Regular;
font-family:Montserrat;
}
}
div#mw-navigation div#mw-head div#left-navigation{
div#mw-navigation div#mw-head div#left-navigation{
font-family:Montserrat Regular;
font-family:Montserrat;
}
}
#mw-navbar {
#mw-navbar {
Line 1,038: Line 1,046:
/* Fonts for Search and User Menu */
/* Fonts for Search and User Menu */
#p-user-tools{
#p-user-tools{
   font-family: Montserrat Regular;
   font-family: Montserrat;
}
}
.form-inline .form-control {
.form-inline .form-control {
Line 1,044: Line 1,052:
     width: auto;
     width: auto;
     vertical-align: middle;
     vertical-align: middle;
     font-family: Montserrat Regular;
     font-family: Montserrat;
}
}
#p-TOOLBOXEND
#p-TOOLBOXEND
Line 1,076: Line 1,084:
/*heading fonts*/
/*heading fonts*/
h1, h2, h3, h4 {
h1, h2, h3, h4 {
     font-family:Montserrat Regular
     font-family:Montserrat
}
}
/*nav fonts*/
/*nav fonts*/
#mw-navigation a {
#mw-navigation a {
     font-family: Montserrat Regular
     font-family: Montserrat
}
}
#p-namespaces {
#p-namespaces {
   font-family:Montserrat Regular
   font-family:Montserrat  
}
}
.dropdown-toggle {
.dropdown-toggle {
     font-family:Montserrat Regular
     font-family:Montserrat
}
}
.dropdown-menu .dropdown-menu-right show {
.dropdown-menu .dropdown-menu-right show {
     font-family:Montserrat Regular
     font-family:Montserrat
}
}
/*Body fonts (shouldn't override Montserrat Regular in headings)*/
/*Body fonts (shouldn't override Montserrat in headings)*/
.mw-body-content {
.mw-body-content {
     font-family: 'Montserrat Regular' !important;
     font-family: 'Montserrat' !important;
}
}


#mw-wrapper, #searchInput, .dropdown-item, .wikipediauserbox {
#mw-wrapper, #searchInput, .dropdown-item, .wikipediauserbox {
font-family: 'Montserrat Regular' !important
font-family: 'Montserrat' !important
}
}
.mbox-text {
.mbox-text {
     font-family:'Montserrat Regular' !important
     font-family:'Montserrat' !important
}
}
h1, #firstHeading, .firstHeading, h2, h3, h4, h5, h6 {
h1, #firstHeading, .firstHeading, h2, h3, h4, h5, h6 {
font-family: 'Montserrat Regular';
font-family: 'Montserrat';
font-weight: 500;
font-weight: 500;
}
}
/*Footer fonts*/
/*Footer fonts*/
.mw-footer {
.mw-footer {
font-family:Montserrat Regular;
font-family:Montserrat;
}
}
/*Exempt banner from dark mode*/
/*Exempt banner from dark mode*/
Anonymous user

Navigation menu