MediaWiki:Mobile.css: Difference between revisions

m
no edit summary
(Created page with "→‎------------------------------ Other ----------------------------: .mw-redirectedfrom { display: none; } #mp-article .mp-h2 span:before { background: url('/static/images/favorite.png') no-repeat center center; } #mp-help .mp-h2 span:before { background: url('/static/images/help.png') no-repeat center center; } #mp-new .mp-h2 span:before { background: url('/static/images/new.png') no-repeat center center; } #mp-top .mp-h2 span:before { backg...")
 
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 7: Line 88:
     background: url('/static/images/favorite.png') no-repeat center center;
     background: url('/static/images/favorite.png') no-repeat center center;
}
}
#mp-help .mp-h2 span:before {
    background: url('/static/images/help.png') no-repeat center center;
}
#mp-new .mp-h2 span:before {
#mp-new .mp-h2 span:before {
Line 16: Line 93:
}
}
#mp-top .mp-h2 span:before {
#mp-top .mp-h2 span:before, #mp-badge .mp-h2 span:before {
     background: url('/static/images/top.png') no-repeat center center;
     background: url('/static/images/top.png') no-repeat center center;
}
#mp-help .mp-h2 span:before {
    background: url('/static/images/help.png') no-repeat center center;
}
.vector-menu-portal .vector-menu-content li {
  line-height: 1.3;
  font-size: 0.85em;
}
}