MediaWiki:Common.css
Замечание: Возможно, после публикации вам придётся очистить кэш своего браузера, чтобы увидеть изменения.
- Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl+F5 или Ctrl+R (⌘+R на Mac)
- Google Chrome: Нажмите Ctrl+Shift+R (⌘+Shift+R на Mac)
- Edge: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl+F5
- Opera: Нажмите Ctrl+F5.
/* @import url("https://fonts.googleapis.com/css?family=Roboto|Noto+Sans") /* :400,700,400italic,700italic */
body, .mw-body h1, .mw-body-content h2, .mw-body-content h3 { font-family: "Noto Sans", sans-serif;
}
.mw-body h1 { /* h1.firstHeading без указания класса padding перекроется через .mw-body h1 */
background-color: #6030ff;
color: #fff;
margin : 0 3px 10px 3px;
padding: 4px 14px;
border-radius: 4px 25px 25px 25px;
}
div.mw-parser-output > h2 { /* :not(toctitle h2) */
background-color: #8050ff; /* #f5faff; */
color: #fff;
padding: 5px;
border-radius: 4px 20px 20px 20px;
}
div.mw-parser-output > h3 {
background-color: #a070ff;
color: #fff;
padding: 3px;
border-radius: 4px 20px 20px 20px;
}
div.mw-parser-output > h4 {
background-color: #d088ff;
color: #fff;
padding: 1px;
border-radius: 4px 14px 14px 14px;
}
span.mw-headline { margin-left : 14px;
}
span.mw-editsection a { color: #fff; /* править */
}
.container {
display: -webkit-flex;
display : flex;
flex-direction: row;
align-items: stretch;
justify-content: space-around;
}
.catbody {
flex: 1;
background-color: #f5faff;
margin : 0 3px 10px 3px;
padding: 0;
border-radius: 4px 20px 4px 4px;
}
.cathead {
font-weight:600;
font-size:115%;
letter-spacing:1px;
color:#fff;
background-color: #6926ff;
text-align:center;
padding:4px;
border-radius: 4px 20px 20px 24px;
}
.headmain {
font-size:125%;
background-color: #b4f;
}
.bodymain {
background: none;
margin: 5px 2px;
}
@media (max-width: 550px){
div .thumbinner {
margin:0 auto;
}
div .tright {
display:block;
}
div.tright, div.floatright, table.floatright {
float:none;
}
}
@media (max-width: 800px){
.container{ flex-direction: column;
}
}
#radiostr {
display: block;
overflow: auto;
}
#radiostr td {
padding:40px;
}
#radiostr img {
max-width: 200px;
height:auto;
}
/* cyrillic-ext */
@font-face {
font-family: 'Noto Sans';
font-style: normal;
font-weight: 400;
src: local('Noto Sans'), local('NotoSans'), url(https://fonts.gstatic.com/s/notosans/v8/o-0IIpQlx3QUlC5A4PNr6DRAW_0.woff2) format('woff2');
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
font-family: 'Noto Sans';
font-style: normal;
font-weight: 400;
src: local('Noto Sans'), local('NotoSans'), url(https://fonts.gstatic.com/s/notosans/v8/o-0IIpQlx3QUlC5A4PNr4TRAW_0.woff2) format('woff2');
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* devanagari */
@font-face {
font-family: 'Noto Sans';
font-style: normal;
font-weight: 400;
src: local('Noto Sans'), local('NotoSans'), url(https://fonts.gstatic.com/s/notosans/v8/o-0IIpQlx3QUlC5A4PNr5DRAW_0.woff2) format('woff2');
unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* greek-ext */
@font-face {
font-family: 'Noto Sans';
font-style: normal;
font-weight: 400;
src: local('Noto Sans'), local('NotoSans'), url(https://fonts.gstatic.com/s/notosans/v8/o-0IIpQlx3QUlC5A4PNr6TRAW_0.woff2) format('woff2');
unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
font-family: 'Noto Sans';
font-style: normal;
font-weight: 400;
src: local('Noto Sans'), local('NotoSans'), url(https://fonts.gstatic.com/s/notosans/v8/o-0IIpQlx3QUlC5A4PNr5jRAW_0.woff2) format('woff2');
unicode-range: U+0370-03FF;
}
/* vietnamese */
@font-face {
font-family: 'Noto Sans';
font-style: normal;
font-weight: 400;
src: local('Noto Sans'), local('NotoSans'), url(https://fonts.gstatic.com/s/notosans/v8/o-0IIpQlx3QUlC5A4PNr6jRAW_0.woff2) format('woff2');
unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
font-family: 'Noto Sans';
font-style: normal;
font-weight: 400;
src: local('Noto Sans'), local('NotoSans'), url(https://fonts.gstatic.com/s/notosans/v8/o-0IIpQlx3QUlC5A4PNr6zRAW_0.woff2) format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Noto Sans';
font-style: normal;
font-weight: 400;
src: local('Noto Sans'), local('NotoSans'), url(https://fonts.gstatic.com/s/notosans/v8/o-0IIpQlx3QUlC5A4PNr5TRA.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
.toc {
background-color: #eee0ff;
padding: 14px 24px;
border-color: #ccc;
border-radius: 4px 45px 45px 45px;
}
.gold {
background-color:gold;
border:solid 1px orange;
}
.plaha {
clear: both;
width: 75%;
align: center; /* в простой плашке без вложенных div текст по центру */
text-align: center;
margin: 20px auto;
padding:10px;
border-left-width: 20px;
}
.plaha div {
display: inline-block;
text-align: left; /* в сложной плашке текст основного div влево */
}
.icon {
height:80px;
width: 80px;
left:0;
margin:0;
float:left;
background-color: #ccc;
background-image: url(//wiki.yaboard.com/resources/assets/wikist.png);
}