Jump to content

MediaWiki:Mobile.css: Difference between revisions

m
no edit summary
(Created page with "→‎------------------------------ Global ------------------------------: →‎Reset user agent styles. We don't reset small or blockquote here deliberately: cite, dfn { font-style: inherit; } q { quotes: '"' '"' "'" "'"; } →‎Hide the images: .geo-nondefault, .geo-multi-punct, /* Hide stuff meant for accounts with special permissions. Made visible again in MediaWiki:Group-sysop.css, MediaWiki:Group-patroller.css and [[MediaWiki:Group-autoconfirmed.c...")
 
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;
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 ----------------------------*/
.mw-redirectedfrom {
    display: none;
}
#mp-article .mp-h2 span:before {
    background: url('/w/resources/assets/favorite.png') no-repeat center center;
}
#mp-help .mp-h2 span:before {
    background: url('/w/resources/assets/help.png') no-repeat center center;
}
#mp-new .mp-h2 span:before {
    background: url('/w/resources/assets/new.png') no-repeat center center;
}
#mp-top .mp-h2 span:before {
    background: url('/w/resources/assets/top.png') no-repeat center center;
}
#siteSub {
  font-size: 12px;
}
/* ------------------------------ Global ------------------------------*/
/* ------------------------------ Global ------------------------------*/