995
pakeitimai
Nėra keitimo santraukos |
SNėra keitimo santraukos |
||
| (nerodomos 35 tarpinės versijos, sukurtos to paties naudotojo) | |||
| 9 eilutė: | 9 eilutė: | ||
*/ | */ | ||
/ | @import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;600&display=swap'); | ||
@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible&display=swap'); | |||
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3&display=swap'); | |||
/* Main body text */ | |||
body { | |||
font-family: 'Source Sans 3', 'Atkinson Hyperlegible', Arial, sans-serif !important; | |||
line-height: 1.6; | |||
font-size: 16px; | |||
} | |||
/* Headings */ | |||
h1, h2, h3, h4, h5, h6 { | |||
font-family: 'Source Sans 3', 'Atkinson Hyperlegible', Arial, sans-serif !important; | |||
padding-bottom: 8px !important; | |||
font-weight: 600; | |||
} | |||
/* Code blocks */ | |||
code, pre { | |||
font-family: 'JetBrains Mono', monospace !important; | |||
} | |||
.mw-editsection { | |||
float: right; | |||
margin-left: 8px; | |||
} | |||
.mw-editsection-bracket { | |||
display: none; | |||
} | } | ||
.mw-editsection a { | |||
display: inline-flex; | |||
align-items: center; | |||
justify-content: center; | |||
width: 18px; | |||
height: 18px; | |||
margin-left: 6px; | |||
opacity: 0.7; | |||
transition: opacity 0.2s ease; | |||
text-decoration: none; | |||
overflow: hidden; | |||
white-space: nowrap; | |||
text-indent: -9999px; | |||
} | |||
.mw-editsection a:hover { | |||
opacity: 1; | |||
} | |||
/* Base icon */ | |||
.mw-editsection a::before { | |||
content: ""; | |||
display: block; | |||
width: 14px; | |||
height: 14px; | |||
background-size: contain; | |||
background-repeat: no-repeat; | |||
/* IMPORTANT for dark themes */ | |||
filter: invert(1); | |||
} | |||
/* Base */ | |||
.mw-editsection a::before { | |||
content: ""; | |||
display: block; | |||
width: 14px; | |||
height: 14px; | |||
background-size: contain; | |||
background-repeat: no-repeat; | |||
filter: invert(1); | |||
} | |||
/* Visual (first link) */ | |||
.mw-editsection a:first-of-type::before { | |||
background-image: url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/icons/pencil.svg"); | |||
} | |||
/* Source (second link) */ | |||
.mw-editsection a:last-of-type::before { | |||
background-image: url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/icons/code-slash.svg"); | |||
} | } | ||
| 1 010 eilutė: | 1 083 eilutė: | ||
padding: 1.5em 2em 1em; | padding: 1.5em 2em 1em; | ||
max-width: 40em; | max-width: 40em; | ||
} | |||
body.wgl-theme-dark .tile { | |||
background-color: #484b54; | |||
} | } | ||
| 1 056 eilutė: | 1 133 eilutė: | ||
.byline a { | .byline a { | ||
color: var(--byline-color); | color: var(--byline-color); | ||
} | |||
body.wgl-theme-dark .byline { | |||
color: white !important; | |||
} | } | ||
| 1 433 eilutė: | 1 514 eilutė: | ||
} | } | ||
body.wgl-theme-dark .update { | |||
background: #343434 !important; | |||
} | |||
:root { | :root { | ||
| 1 473 eilutė: | 1 557 eilutė: | ||
.messagebox { | .messagebox { | ||
width: 65%; | |||
margin: 0.5em auto; | |||
border-left: 10px solid; | |||
border-color: #232222; | |||
background-color: #343434; | |||
box-sizing: border-box; | |||
color: white !important; | |||
} | |||
.messagebox-image { | |||
padding: 10px; | |||
} | |||
body.wgl-theme-dark .messagebox { | |||
color: black; | |||
} | } | ||
| 1 572 eilutė: | 1 665 eilutė: | ||
.messagebox.stub { | .messagebox.stub { | ||
width: | width: 50%; | ||
} | } | ||
| 1 578 eilutė: | 1 671 eilutė: | ||
padding: 0 10px; | padding: 0 10px; | ||
width: auto; | width: auto; | ||
} | |||
:root { | |||
--documentation-background: #f9fafa; | |||
--documentation-link-color: #e4eaee; | |||
--documentation-headers-color: #fff; | |||
--documentation-header-background: #949eaa; | |||
--documentation-subheader-background: #808c9a; | |||
--documentation-border: #e4eaee; | |||
} | |||
.documentation { | |||
background: var(--documentation-background); | |||
box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1); | |||
margin: 1em 0; | |||
} | |||
body.wgl-theme-dark .documentation { | |||
background: #3b3b3b; | |||
} | |||
.documentation pre, | |||
.documentation code { | |||
background-color: var(--documentation-background); | |||
border-color: var(--documentation-border); | |||
} | |||
.documentation h2, | |||
.documentation hr { | |||
border-color: var(--documentation-border); | |||
} | |||
.documentation-header { | |||
color: var(--documentation-headers-color); | |||
background: var(--documentation-header-background); | |||
font-weight: bold; | |||
padding: 1em 1.5em; | |||
} | |||
.documentation-title { | |||
font-size: 1.25em; | |||
} | |||
.documentation-subheader { | |||
color: var(--documentation-headers-color); | |||
background: var(--documentation-subheader-background); | |||
padding: 0.5em 1.5em; | |||
} | |||
.documentation-subheader a, | |||
.documentation-subheader a:visited, | |||
.documentation-subheader a:active { | |||
color: var(--documentation-link-color); | |||
} | |||
.documentation-documentation, | |||
.documentation-links { | |||
font-size: 0.85em; | |||
} | |||
.documentation-content { | |||
padding: 1em 1.5em; | |||
} | |||
.mw-templatedata-doc-params dl:not(:empty) { | |||
column-count: 3; | |||
border-top: 1px solid var(--body-border); | |||
margin-bottom: 0.5em; | |||
} | |||
.mw-templatedata-doc-params dt::after { | |||
content: ":"; | |||
} | |||
.mw-templatedata-doc-params dd, | |||
.mw-templatedata-doc-params dt { | |||
margin: 0.1em 2em; | |||
min-width: auto; | |||
} | |||
.mw-templatedata-doc-muted { | |||
color: var(--subtle-color); | |||
font-style: italic; | |||
} | |||
.fairycode { | |||
font-family: 'PT Serif', 'Palatino', 'Georgia', serif; | |||
font-size: 120%; | |||
font-weight: bold; | |||
text-transform: lowercase; | |||
letter-spacing: 1px; | |||
} | |||
.fairycode b ~ b:before { | |||
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; | |||
} | |||
} | |||
@media screen and (min-width: 982px) { | |||
.mw-body, | |||
#mw-head-base, | |||
#left-navigation, | |||
#mw-data-after-content, | |||
.mw-footer { | |||
margin-left: 13em !important; | |||
} | |||
.vector-legacy-sidebar { | |||
width: 12.5em !important; | |||
} | |||
} | } | ||