936
pakeitimai
SNėra keitimo santraukos |
SNėra keitimo santraukos |
||
| 1 781 eilutė: | 1 781 eilutė: | ||
.fairycode b ~ b:before { | .fairycode b ~ b:before { | ||
content: "•"; | content: "•"; | ||
} | |||
/*NEW LOOK TEST*/ | |||
/* ==== Modern UI baseline (safe, global) ==== */ | |||
:root { | |||
--ui-radius: 10px; | |||
--ui-radius-sm: 7px; | |||
--ui-border: #d6d9df; | |||
--ui-surface: #ffffff; | |||
--ui-surface-2: #f7f8fa; | |||
--ui-shadow: 0 8px 24px -18px rgba(0, 0, 0, 0.35); | |||
--ui-focus: #3b82f6; | |||
} | |||
/* Cleaner links */ | |||
a { | |||
text-decoration-thickness: 1.5px; | |||
text-underline-offset: 2px; | |||
} | |||
/* Better keyboard accessibility */ | |||
:focus-visible { | |||
outline: 2px solid var(--ui-focus); | |||
outline-offset: 2px; | |||
} | |||
/* Modern cards/surfaces */ | |||
.mw-body, | |||
.mw-parser-output .wikitable, | |||
.thumbinner, | |||
#toc, .toc, | |||
.mw-message-box, | |||
.archive-box, | |||
.documentation { | |||
border-radius: var(--ui-radius); | |||
box-shadow: var(--ui-shadow); | |||
} | |||
/* Inputs/buttons consistency */ | |||
.mw-ui-button, | |||
.cdx-button, | |||
.oo-ui-buttonElement-button, | |||
.mw-ui-input, | |||
.cdx-text-input__input, | |||
.oo-ui-inputWidget-input, | |||
textarea, | |||
select { | |||
border-radius: var(--ui-radius-sm); | |||
} | |||
/* Slightly smoother interactions (respects reduced-motion) */ | |||
@media (prefers-reduced-motion: no-preference) { | |||
a, .mw-ui-button, .cdx-button, .oo-ui-buttonElement-button { | |||
transition: color .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease; | |||
} | |||
} | } | ||