MediaWiki:Common.css: различия между версиями
Pok (обсуждение | вклад) мНет описания правки |
Pok (обсуждение | вклад) мНет описания правки |
||
| Строка 666: | Строка 666: | ||
border: 1px solid var(--ooui--border-color); | border: 1px solid var(--ooui--border-color); | ||
} | } | ||
.mw-body dt { | |||
font-weight: bold; | |||
font-family: sans-serif; | |||
margin-top: 0.8em; | |||
margin-bottom: 0.4em; | |||
border-left: 2px solid var(--theme-border-color-100); | |||
padding-left: 5px; | |||
} | } | ||
#scroll-top:hover { | .mw-body h1 { | ||
opacity: 0.8; | font-family: 'oswald'; | ||
} | font-size: 2em; | ||
} | |||
@media screen and (max-width: 850px) { | |||
#scroll-top { | .mw-body h2 { | ||
transform: translate(-50%, -50%); | font-size: 1.5em; | ||
left: 50%; | border-bottom: none; | ||
right: 50%; | font-family: 'Linux Libertine', 'Georgia', 'Times', serif; | ||
bottom: 15px; | margin-bottom: 0.4em; | ||
opacity: 0.3; | margin-top: 1em; | ||
} | line-height: 1.375; | ||
} | border-bottom: 2px solid var(--color-contrast); | ||
} | |||
/* Необходим для использования fonts.google.com/icons */ | |||
.material-symbols-outlined { | .mw-body h3 { | ||
font-family: 'Material Symbols Outlined'; | font-size: 1.17em; | ||
font-weight: normal; | font-weight: bold; | ||
font-style: normal; | font-family: sans-serif; | ||
font-size: 24px; | margin-top: 0.5em; | ||
line-height: 1; | margin-bottom: 0.3em; | ||
letter-spacing: normal; | padding-bottom: 0; | ||
text-transform: none; | line-height: 1.6; | ||
display: inline-block; | padding-top: 0.3em; | ||
white-space: nowrap; | |||
word-wrap: normal; | } | ||
direction: ltr; | |||
-webkit-font-feature-settings: 'liga'; | .mw-body h4, | ||
-webkit-font-smoothing: antialiased | .mw-body h5 { | ||
} | font-size: 1em; | ||
font-weight: bold; | |||
.tools-inline li:hover { | font-family: sans-serif; | ||
border-bottom-width: 2px; | margin-top: 0.5em; | ||
margin-bottom: 0.3em; | |||
} | |||
/* #endregion */ | |||
/* ============ */ | |||
/* #region Классы */ | |||
/* ============ */ | |||
/* Кнопка вверх [[Файл:AnomalyElectricityPulse.png]] */ | |||
#scroll-top { | |||
display: none; | |||
background: url(https://station14.ru/images/0/00/AnomalyElectricityPulse.png) 0% 0%/57px 57px no-repeat; | |||
opacity: 0.5; | |||
width: 57px; | |||
height: 57px; | |||
cursor: pointer; | |||
position: fixed; | |||
right: calc(0.95em + 6px); | |||
bottom: 30px; | |||
z-index: 10000; | |||
image-rendering: pixelated; | |||
} | |||
#scroll-top:hover { | |||
opacity: 0.8; | |||
} | |||
@media screen and (max-width: 850px) { | |||
#scroll-top { | |||
transform: translate(-50%, -50%); | |||
left: 50%; | |||
right: 50%; | |||
bottom: 15px; | |||
opacity: 0.3; | |||
} | |||
} | |||
/* Необходим для использования fonts.google.com/icons */ | |||
.material-symbols-outlined { | |||
font-family: 'Material Symbols Outlined'; | |||
font-weight: normal; | |||
font-style: normal; | |||
font-size: 24px; | |||
line-height: 1; | |||
letter-spacing: normal; | |||
text-transform: none; | |||
display: inline-block; | |||
white-space: nowrap; | |||
word-wrap: normal; | |||
direction: ltr; | |||
-webkit-font-feature-settings: 'liga'; | |||
-webkit-font-smoothing: antialiased | |||
} | |||
.tools-inline li:hover { | |||
border-bottom-width: 2px; | |||
} | } | ||
| Строка 1495: | Строка 1540: | ||
color: var(--text-color-link); | color: var(--text-color-link); | ||
} | } | ||
/*=== Картинки с обёрткой ===*/ | |||
/*=== Gallery ===*/ | |||
/* #endregion */ | /* #endregion */ | ||
| Строка 2001: | Строка 2051: | ||
color: var(--ooui--text-color); | color: var(--ooui--text-color); | ||
outline: none; | outline: none; | ||
} | |||
#mw-subcategories, #mw-pages, #mw-category-media, #filehistory, #wikiPreview, #wikiDiff { | |||
clear: both; | |||
} | |||
.mw-tag-markers { | |||
font-style: italic; | |||
font-size: 90% | |||
} | } | ||
/* #endregion */ | /* #endregion */ | ||
| Строка 2027: | Строка 2086: | ||
.thumbinner { | .thumbinner { | ||
min-width: 100px; | min-width: 100px; | ||
background: | background: var(--ooui--bg-color-light); | ||
border: solid var(--ooui--border-color) | border-color: solid var(--ooui--border-color) | ||
} | } | ||
.thumbinner .thumbimage,.thumbborder { | .thumbinner .thumbimage,.thumbborder { | ||
border: solid 1px var(--ooui--border-color) | border: solid 1px var(--ooui--border-color) | ||
} | } | ||
| Строка 2112: | Строка 2142: | ||
bottom: 0; | bottom: 0; | ||
left: 0 | left: 0 | ||
} | } | ||
| Строка 3579: | Строка 3595: | ||
position: relative; | position: relative; | ||
margin: 0px 25% | margin: 0px 25% | ||
} | } | ||
| Строка 3591: | Строка 3603: | ||
word-wrap: break-word; | word-wrap: break-word; | ||
text-align: center | text-align: center | ||
} | } | ||
| Строка 3646: | Строка 3645: | ||
#footer { | #footer { | ||
padding-right: 1em | padding-right: 1em | ||
} | } | ||
| Строка 3719: | Строка 3673: | ||
background: #000000; | background: #000000; | ||
opacity: var(--alpha-s); | opacity: var(--alpha-s); | ||
} | } | ||