MediaWiki:Common.css: различия между версиями
Pok (обсуждение | вклад) мНет описания правки |
Pok (обсуждение | вклад) мНет описания правки |
||
| Строка 66: | Строка 66: | ||
--font-size-xxs: 80%; | --font-size-xxs: 80%; | ||
--font-size-xs: 90%; | |||
--font-size-s: 95%; | |||
--font-size-m: 100%; | |||
--font-size-ml: 105%; | |||
--font-size-l: 115%; | |||
--font-size-xl: 120%; | |||
--font-size-xxl: 130%; | |||
--font-size-huge: 150%; | |||
--font-size-giant: 200%; | |||
/*== Значение прозрачности ==*/ | /*== Значение прозрачности ==*/ | ||
| Строка 86: | Строка 86: | ||
/*== Цвет текста ==*/ | /*== Цвет текста ==*/ | ||
--text-color-link: #77c1d9; | --text-color-link: #77c1d9; | ||
--text-color-link--visited: #6aa9cf; | |||
--text-color-link-new: #d73333; | |||
--text-color-link-new--visited: #b32424; | |||
--text-color-link-external: #3377aa; | --text-color-link-external: #3377aa; | ||
--text-color-link-external--visited: #275c83; | |||
/*== Контрастный цвет (синий) ==*/ | /*== Контрастный цвет (синий) ==*/ | ||
| Строка 217: | Строка 221: | ||
/* Turquoise */ | /* Turquoise */ | ||
--bg-color-turquoise--hsl: 187.05deg 83.96%; | --bg-color-turquoise--hsl: 187.05deg 83.96%; | ||
--bg-color-turquoise--hsl-alpha: 20.5%; | |||
--bg-color-turquoise-50: hsl(var(--bg-color-turquoise--hsl) calc(var(--brightness-hsl) + var(--bg-color-turquoise--hsl-alpha) + var(--color-shift-percent-50))); | --bg-color-turquoise-50: hsl(var(--bg-color-turquoise--hsl) calc(var(--brightness-hsl) + var(--bg-color-turquoise--hsl-alpha) + var(--color-shift-percent-50))); | ||
--bg-color-turquoise-100: hsl(var(--bg-color-turquoise--hsl) calc(var(--brightness-hsl) + var(--bg-color-turquoise--hsl-alpha) + var(--color-shift-percent-100))); | --bg-color-turquoise-100: hsl(var(--bg-color-turquoise--hsl) calc(var(--brightness-hsl) + var(--bg-color-turquoise--hsl-alpha) + var(--color-shift-percent-100))); | ||
| Строка 226: | Строка 230: | ||
/* Grey */ | /* Grey */ | ||
--bg-color-grey--hsl: 200deg 10%; | --bg-color-grey--hsl: 200deg 10%; | ||
--bg-color-grey--hsl-alpha: 29%; | |||
--bg-color-grey-50: hsl(var(--bg-color-grey--hsl) calc(var(--brightness-hsl) + var(--bg-color-grey--hsl-alpha) + var(--color-shift-percent-50))); | --bg-color-grey-50: hsl(var(--bg-color-grey--hsl) calc(var(--brightness-hsl) + var(--bg-color-grey--hsl-alpha) + var(--color-shift-percent-50))); | ||
--bg-color-grey-100: hsl(var(--bg-color-grey--hsl) calc(var(--brightness-hsl) + var(--bg-color-grey--hsl-alpha) + var(--color-shift-percent-100))); | --bg-color-grey-100: hsl(var(--bg-color-grey--hsl) calc(var(--brightness-hsl) + var(--bg-color-grey--hsl-alpha) + var(--color-shift-percent-100))); | ||
| Строка 817: | Строка 821: | ||
} | } | ||
a | a { | ||
color: var(--text-color-link); | color: var(--text-color-link); | ||
} | |||
a:hover { | |||
color: var(--theme-text-color-light); | |||
} | |||
a:visited, a:visited:hover { | |||
color: var(--text-color-link--visited); | |||
} | |||
a.new, .new a { | |||
color: var(--text-color-link-new--visited); | |||
} | |||
a.new:hover, .new a:hover { | |||
color: var(--text-color-link-new--visited); | |||
} | |||
a.new:visited, .new a:visited { | |||
color: var(--text-color-link-new--visited); | |||
} | |||
a.external, a.extiw { | |||
color: var(--text-color-link-external--visited) | |||
} | |||
a.external:visited, a.extiw:visited { | |||
color: var(--text-color-link-external); | |||
} | } | ||
| Строка 827: | Строка 859: | ||
a.label { | a.label { | ||
color: var(--theme-text-color); | color: var(--theme-text-color); | ||
} | } | ||
| Строка 1133: | Строка 1161: | ||
/*=== GrowthExperiments ===*/ | /*=== GrowthExperiments ===*/ | ||
.growthexperiments-mentor-dashboard-group-main { | .growthexperiments-mentor-dashboard-group-main { | ||
--width: clamp(300px, 50vw, 480px); | |||
width: var(--width); | |||
flex: 1 0 var(--width); | |||
} | } | ||
.ext-growthExperiments-MenteeOverview__actions { | .ext-growthExperiments-MenteeOverview__actions { | ||
flex-wrap: wrap; | |||
} | } | ||
| Строка 1147: | Строка 1175: | ||
.growthexperiments-homepage-module-suggested-edits .suggested-edits-module-wrapper .suggested-edits-card-wrapper .suggested-edits-task-card-wrapper .se-card-content .se-card-image { | .growthexperiments-homepage-module-suggested-edits .suggested-edits-module-wrapper .suggested-edits-card-wrapper .suggested-edits-task-card-wrapper .se-card-content .se-card-image { | ||
box-shadow: inset 0 0 1px 1px var(--bg-color-focus); | |||
} | } | ||
| Строка 1355: | Строка 1383: | ||
/*=== Остальное ===*/ | /*=== Остальное ===*/ | ||
.mw-json th, .mw-json td { | .mw-json th, .mw-json td { | ||
border: 1px solid black; | border: 1px solid black; | ||
| Строка 1428: | Строка 1446: | ||
.wikiEditor-ui-toolbar .group .tool-select .options { | .wikiEditor-ui-toolbar .group .tool-select .options { | ||
border: none; | border: none; | ||
} | } | ||
| Строка 1541: | Строка 1555: | ||
@media all and (max-width: 640px) { | @media all and (max-width: 640px) { | ||
.mw-body-content table { | .mw-body-content table { | ||
display: table; | |||
} | |||
} | } | ||
*/ | */ | ||
| Строка 1885: | Строка 1899: | ||
a:has(.StupidButton) { | a:has(.StupidButton) { | ||
position: absolute; | position: absolute; | ||
top: 0; | |||
bottom: 0; | |||
left: 0; | |||
right: 0; | |||
z-index: var(--index-overlay); | |||
} | } | ||
| Строка 3203: | Строка 3217: | ||
.druid-container ul { | .druid-container ul { | ||
list-style: none; | list-style: none; | ||
padding: 0; | |||
margin: 0; | margin: 0; | ||
margin-left: 10px; | margin-left: 10px; | ||
| Строка 3532: | Строка 3546: | ||
/* invert(1) */ | /* invert(1) */ | ||
.mw-editsection, | .mw-editsection, | ||
.mw-editsection a, | .mw-editsection a, | ||
.dropdown-toggle::after, | .dropdown-toggle::after, | ||
.cdx-button .cdx-button__icon, .cdx-button .cdx-icon, | .cdx-button .cdx-button__icon, .cdx-button .cdx-icon, | ||
.wikiEditor-ui-toolbar .tabs span.tab a::before, | |||
.wikiEditor-ui-toolbar .group .tool-select .label::after, | |||
.mw-content-ltr figure[typeof~='mw:File/Thumb'] > .mw-file-description::after, .mw-content-ltr figure[typeof~='mw:File/Thumb'] > .mw-file-magnify::after { | .mw-content-ltr figure[typeof~='mw:File/Thumb'] > .mw-file-description::after, .mw-content-ltr figure[typeof~='mw:File/Thumb'] > .mw-file-magnify::after { | ||
filter: var(--invert-100); | filter: var(--invert-100); | ||
| Строка 3557: | Строка 3569: | ||
/* invert(0) */ | /* invert(0) */ | ||
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox'] + span, | .oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox'] + span, | ||
.mw-ge-help-panel-button.oo-ui-buttonElement.oo-ui-iconElement.oo-ui-indicatorElement a.oo-ui-buttonElement-button .oo-ui-indicator-up { | .mw-ge-help-panel-button.oo-ui-buttonElement.oo-ui-iconElement.oo-ui-indicatorElement a.oo-ui-buttonElement-button .oo-ui-indicator-up { | ||
| Строка 3868: | Строка 3879: | ||
.mw-notification.mw-notification-type-warn { | .mw-notification.mw-notification-type-warn { | ||
background-color: var(--bg-color-warning-subtle); | |||
} | } | ||
| Строка 3925: | Строка 3936: | ||
.mw-revslider-container, | .mw-revslider-container, | ||
.mw-revslider-slider-wrapper, | .mw-revslider-slider-wrapper, | ||
#mw-searchoptions .divider, | #mw-searchoptions .divider, | ||
.ace_searchbtn:last-child, | .ace_searchbtn:last-child, | ||
| Строка 4093: | Строка 4103: | ||
.mw-notification.mw-notification-type-warn { | .mw-notification.mw-notification-type-warn { | ||
border-color: var(--bg-color-warning); | |||
} | } | ||
| Строка 4450: | Строка 4460: | ||
.wikiEditor-ui-toolbar .tabs span.tab a, | .wikiEditor-ui-toolbar .tabs span.tab a, | ||
.mw-special-Contribute .mw-contribute-card-action, | .mw-special-Contribute .mw-contribute-card-action, | ||
ul.fileupload-results li.ful-success a | ul.fileupload-results li.ful-success a { | ||
color: var(--text-color-link); | color: var(--text-color-link); | ||
} | } | ||
| Строка 4481: | Строка 4489: | ||
/* Остальное */ | /* Остальное */ | ||
.mw-ge-help-panel-processdialog .suggested-edits-panel-quick-start-tips-content .growthexperiments-quickstart-tips-tip mark { | .mw-ge-help-panel-processdialog .suggested-edits-panel-quick-start-tips-content .growthexperiments-quickstart-tips-tip mark { | ||
mix-blend-mode: unset; | |||
} | } | ||