Jump to content

MediaWiki:Common.css: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 1: Line 1:
/* ------------------------------ Font ------------------------------ */
@font-face {
    font-family: 'Noto Sans';
font-style: normal;
font-weight: 300;
font-display: swap;
src: url('/static/fonts/NotoSans-Light.woff2') format('woff2'),
url('/static/fonts/NotoSans-Light.woff') format('woff');
}
@font-face {
    font-family: 'Noto Sans';
font-style: normal;
font-weight: 400;
src: url('/static/fonts/NotoSans-Regular.woff2') format('woff2'),
url('/static/fonts/NotoSans-Regular.woff') format('woff');
}
@font-face {
    font-family: 'Noto Sans';
font-style: normal;
font-weight: 500;
font-display: swap;
src: url('/static/fonts/NotoSans-Medium.woff2') format('woff2'),
url('/static/fonts/NotoSans-Medium.woff') format('woff');
}
@font-face {
    font-family: 'Noto Sans';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('/static/fonts/NotoSans-SemiBold.woff2') format('woff2'),
url('/static/fonts/NotoSans-SemiBold.woff') format('woff');
}
@font-face {
    font-family: 'Noto Sans';
font-style: normal;
font-weight: 900;
font-display: swap;
src: url('/static/fonts/NotoSans-Bold.woff2') format('woff2'),
url('/static/fonts/NotoSans-Bold.woff') format('woff');
}
body {
/* generally a sans-serif font should be here */
font-family: 'Noto Sans', sans-serif,Tahoma,'Noto Serif','Droid Arabic Naskh','DejaVu Sans',serif !important;
}
#content.mw-body  h1, #content.mw-body  h2, #content.mw-body  #firstHeading,
#content.mw-body  .mw-editsection, .mw-body .mw-editsection-like,
#content.mw-body  #toc h2, #content.mw-body  .toc h2, .vector-sticky-header-context-bar-primary,
#template-documentation, #documentation-meta-data {
/* generally a serif font should be here but Arial is not acceptable for Persian */
font-family: "Noto Sans", sans-serif,Tahoma,'Noto Serif','Droid Arabic Naskh','DejaVu Sans',serif !important;
line-height: 1.6;
}
.mw-body-content {
font-kerning: auto;
font-size: 15px;
line-height: 2;
}
#mw-panel {
font-size: 17px;
}
/* Ace editor now supports RTL editing but a monospace font with Arabic should be set for correct functionality */
.ace_editor { font-family: 'Courier New', monospace!important; }
/* force these to use inherited font configuration */
.ui-widget, .ui-widget *, button, input, select, optgroup {
font-family: inherit;
}
/* end */
dfn {
font-style: inherit;  /* Reset default styling for <dfn> */
}
sup, sub {
line-height: 1em;    /* Reduce line-height for <sup> and <sub> */
}
/* ------------------------------ Other ----------------------------*/
/* ------------------------------ Other ----------------------------*/
.mw-redirectedfrom {
.mw-redirectedfrom {
Line 5: Line 85:


#mp-article .mp-h2 span:before {
#mp-article .mp-h2 span:before {
     background: url('/static/images/favorite.png') no-repeat center center;
     background: url('/w/resources/assets/favorite.png') no-repeat center center;
}
}


#mp-help .mp-h2 span:before {
#mp-help .mp-h2 span:before {
     background: url('/static/images/help.png') no-repeat center center;
     background: url('/w/resources/assets/help.png') no-repeat center center;
}
}
#mp-new .mp-h2 span:before {
#mp-new .mp-h2 span:before {
     background: url('/static/images/new.png') no-repeat center center;
     background: url('/w/resources/assets/new.png') no-repeat center center;
}
}
#mp-top .mp-h2 span:before {
#mp-top .mp-h2 span:before {
     background: url('/static/images/top.png') no-repeat center center;
     background: url('/w/resources/assets/top.png') no-repeat center center;
}
 
#siteSub {
  font-size: 12px;
}
}