891
pakeitimas
Nėra keitimo santraukos |
SNėra keitimo santraukos |
||
| (nerodomos 5 tarpinės versijos, sukurtos to paties naudotojo) | |||
| 18 eilutė: | 18 eilutė: | ||
} | } | ||
@font-face { | |||
font-family: 'IBM Plex Sans'; | |||
font-weight: normal; | |||
font-style: normal; | |||
font-display: swap; | |||
src: url('filepath:///resources/assets/IBMPlexSans-Regular.woff2') format('woff2'); | |||
} | |||
@font-face { | |||
font-family: 'IBM Plex Sans'; | |||
font-weight: normal; | |||
font-style: italic; | |||
font-display: swap; | |||
src: url('filepath:///resources/assets/IBMPlexSans-Italic.woff2') format('woff2'); | |||
} | |||
@font-face { | |||
font-family: 'IBM Plex Sans'; | |||
font-weight: bold; | |||
font-style: normal; | |||
font-display: swap; | |||
src: url('filepath:///resources/assets/IBMPlexSans-Bold.woff2') format('woff2'); | |||
} | |||
@font-face { | |||
font-family: 'IBM Plex Sans'; | |||
font-weight: bold; | |||
font-style: italic; | |||
font-display: swap; | |||
src: url('filepath:///resources/assets/IBMPlexSans-BoldItalic.woff2') format('woff2'); | |||
} | |||
@font-face { | |||
font-family: 'PT Serif'; | |||
font-weight: normal; | |||
font-style: normal; | |||
font-display: swap; | |||
src: url('filepath:///resources/assets/PT-Serif_Regular.woff2') format('woff2'); | |||
} | } | ||
@font-face { | |||
font-family: 'PT Serif'; | |||
font-weight: normal; | |||
font-style: italic; | |||
font-display: swap; | |||
src: url('filepath:///resources/assets/PT-Serif_Italic.woff2') format('woff2'); | |||
} | |||
@font-face { | |||
font-family: 'PT Serif'; | |||
font-weight: bold; | |||
font-style: normal; | |||
- | font-display: swap; | ||
- | src: url('filepath:///resources/assets/PT-Serif_Bold.woff2') format('woff2'); | ||
- | } | ||
- | |||
@font-face { | |||
font-family: 'PT Serif'; | |||
font-weight: bold; | |||
font-style: italic; | |||
- | font-display: swap; | ||
- | src: url('filepath:///resources/assets/PT-Serif_Bold-Italic.woff2') format('woff2'); | ||
- | } | ||
- | |||
@font-face { | |||
font-family: 'RuneScape'; | |||
font-style: normal; | |||
font-weight: normal; | |||
src: local("RuneScape Plain 12"), | |||
url('filepath:///resources/assets/RuneScape.woff2') format('woff2'); | |||
- | } | ||
- | |||
- | @font-face { | ||
font-family: 'RuneScape'; | |||
font-style: normal; | |||
font-weight: bold; | |||
src: local("RuneScape Bold"), | |||
local("RuneScape Bold 12"), | |||
- | local("RuneScape Chat 2"), | ||
- | local("RuneScape Chat"), | ||
- | url('filepath:///resources/assets/RuneScape_Bold.woff2') format('woff2'); | ||
} | |||
@font-face { | |||
font-family: 'RuneScape Small'; | |||
font-style: normal; | |||
- | font-weight: normal; | ||
- | src: local("RuneScape Plain 12"), | ||
- | url('filepath:///resources/assets/RuneScape_Small.woff2') format('woff2'); | ||
} | } | ||
body | body { | ||
- | font-family: "Liberation Sans", Arial, Helvetica, FreeSans, sans-serif; | ||
} | } | ||
/* | /** Color variables for tweaking by different themes **/ | ||
:root { | |||
--navbox-background-color: #FFF; | |||
--navbox-border-color: #CCC; | |||
--navbox-header-color: #CCC; | |||
--navbox-secondary-header-color: #DDD; | |||
--navbox-tertiary-header-color: #EEE; | |||
--navbox-section-color: #EEE; | |||
--byline-arrow-filter: invert(29%) sepia(0%) saturate(376%) hue-rotate(172deg) brightness(87%) contrast(80%); | |||
--tile-border-color: #cabe9b; | |||
--tile-background-color: #f9f3eb; | |||
--tile-link-button-color: #f5e9db; | |||
--tile-link-button-highlight-color: #dfccb0; | |||
--tile-dark-color: #fff; | |||
--tile-dark-bg: #5d6773; | |||
--tile-dark-link-color: #ccc; | |||
--tile-dark-byline-color: rgba(255, 255, 255, 0.7); | |||
--tile-dark-header-color: #fff; | |||
--body-main: #e2dbc8; | |||
--body-light: #d8ccb4; | |||
--body-mid: #eafff0; | |||
--body-dark: #b8a282; | |||
--body-border: #94866d; | |||
--body-background-color: #c0a886; | |||
--button-background: #605443; | |||
--button-color: #fff; | |||
--button-border: #3c352a; | |||
--button-dark: #18140c; | |||
--button-light: #3a301d; | |||
--sidebar: #cfc08d; | |||
--background-text-color: #444; | |||
--background-link-color: #52351e; | |||
--search-box: #efeee6; | |||
--link-color: #936039; | |||
--redlink-color: #ba0000; | |||
--text-color: #000; | |||
--byline-color: #4c4c4c; | |||
--subtle-color: #777; | |||
--admin-blue: #332e75; | |||
--bearcat-green: #13592e; | |||
--awb-purple: #933b96; | |||
--rsw-blue: #438ab6; | |||
--osrsw-brown: #605443; | |||
--thumb-bg: var(--body-light); | |||
--thumb-caption-bg: var(--body-mid); | |||
--sourceeditor-input-background: #fff; | |||
--sourceeditor-background: var(--body-light); | |||
--sourceeditor-background-secondary: var(--body-light); | |||
--sourceeditor-border: var(--body-mid); | |||
--codemirror-gutter-background: var(--body-mid); | |||
} | } | ||
# | body.wgl-theme-dark { | ||
--navbox-background-color: #333; | |||
--navbox-border-color: #444; | |||
--navbox-header-color: #111; | |||
--navbox-secondary-header-color: #181818; | |||
--navbox-tertiary-header-color: #222; | |||
--navbox-section-color: #222; | |||
} | } | ||
/* Page display title */ | |||
.mw-page-title-separator { | |||
margin-right: 0.25em; | |||
} | } | ||
.ns-10000 .mw-page-title-namespace, | |||
margin: | .ns-10002 .mw-page-title-namespace, | ||
.ns-10004 .mw-page-title-namespace, | |||
.ns-10006 .mw-page-title-namespace, | |||
.ns-10012 .mw-page-title-namespace { | |||
font-style: italic; | |||
margin-right: 1px; | |||
} | } | ||
/** Main page stylings **/ | |||
- | /** Only used for styling of elements, main page layout is defined at [[Minecraft_Wiki/styles.css]] **/ | ||
.fp-section { | |||
- | background-color: #FCFCFC; | ||
border: 1px solid #ccc; | |||
vertical-align: top; | |||
margin: 1px; | |||
margin | |||
} | } | ||
.fp-banner-image { | |||
margin: 0 auto; | |||
} | |||
.fp-banner-content { | |||
. | |||
display: flex; | display: flex; | ||
gap: 10px; | |||
margin: 10px 0; | |||
flex-wrap: wrap; | flex-wrap: wrap; | ||
align-items: center; | |||
} | } | ||
@media screen and (min-width: | @media screen and (min-width: 480px) { | ||
.fp-banner-content { | |||
flex-wrap: nowrap; | |||
margin: | } | ||
.fp-banner-image { | |||
margin: 0; | |||
} | } | ||
} | } | ||
#fp-header-file { | |||
margin: auto; | |||
} | |||
@media screen and (min-width:990px) { | |||
#fp-header-file { | |||
margin: auto 0; | |||
} | |||
} | } | ||
#fp-header-links { | |||
margin: auto 0; | |||
} | |||
#fp-header-links ul { | |||
-ms-columns: 160px; | |||
-moz-columns: 160px; | |||
-webkit-columns: 160px; | |||
columns: 160px; | |||
-ms-column-count: 3; | |||
-moz-column-count: 3; | |||
-webkit-column-count: 3; | |||
column-count: 3; | |||
margin-top: 0; | |||
} | } | ||
.mcw-mainpage- | /** Main page stylings **/ | ||
.mcw-mainpage-icons { | |||
padding: 10px; | |||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
row-gap: 20px; | |||
justify-content: center; | justify-content: center; | ||
} | } | ||
.mcw-mainpage- | @media screen and (min-width:1400px) and (max-width:2400px) { | ||
#fp-2 .mcw-mainpage-icons { | |||
max-width: 750px; | |||
margin: auto; | |||
} | |||
} | } | ||
.mcw-mainpage-icon { | |||
flex: 0 0 auto; | |||
width: 90px; | |||
display: flex; | |||
flex-direction: column; | |||
align-items: center; | |||
text-align: center; | |||
} | } | ||
.mcw-mainpage-icon-img { | |||
/* | height: 60px; | ||
width: 60px; | |||
/* Make sure icon is correctly centered */ | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
} | } | ||
. | .mcw-mainpage-icon a { | ||
word-wrap: normal; | |||
} | } | ||
. | .mcw-mainpage-platforms { | ||
margin-top: | display: flex; | ||
gap: 10px; | |||
flex-wrap: wrap; | |||
justify-content: center; | |||
margin-top: 5px; | |||
} | } | ||
. | .mcw-mainpage-platform { | ||
display: flex; | |||
gap: 5px; | |||
flex-direction: column; | |||
padding: 5px; | |||
} | } | ||
@media screen and (max-width:989px) { | |||
.mcw-mainpage-platform { | |||
flex: 1 1 200px; | |||
} | |||
} | |||
. | .mcw-mainpage-platform { | ||
flex-direction: row; | |||
flex-wrap: wrap; | |||
} | |||
} | } | ||
.navbox | /** Template stylings **/ | ||
/* [[Template:Navbox]] */ | |||
.navbox { | |||
background: var(--navbox-background-color); | |||
border: 1px solid var(--navbox-border-color); | |||
margin: 1em auto 0; | |||
width: 100%; | |||
} | } | ||
.navbox- | .navbox table { | ||
background: var(--navbox-background-color); | |||
margin-left: -4px; | |||
margin-right: -2px; | |||
} | } | ||
.navbox- | .navbox table:first-child { | ||
margin-top: -2px; | |||
} | } | ||
.navbox | .navbox table:last-child { | ||
margin-bottom: -2px; | |||
} | } | ||
.navbox | .navbox .navbox-top { | ||
white-space: nowrap; | |||
padding: 0 | background-color: var(--navbox-header-color); | ||
padding: 0 3px; | |||
text-align: center; | |||
} | } | ||
.navbox tr:not(:first-child) .navbox-top, | |||
.navbox .navbox .navbox-top { | |||
background-color: var(--navbox-secondary-header-color); | |||
} | } | ||
.navbox .navbox tr:not(:first-child) .navbox-top { | |||
. | background-color: var(--navbox-tertiary-header-color); | ||
background-color: | |||
} | } | ||
.navbox-navbar, | |||
. | .navbox-navbar-mini { | ||
font- | float: left; | ||
font-size: 80%; | |||
position: absolute; | |||
} | } | ||
. | .navbox-title { | ||
font- | padding: 0 10px; | ||
font-size: 110%; | |||
} | } | ||
.navbox th { | |||
padding- | background-color: var(--navbox-section-color); | ||
padding: 0 10px; | |||
white-space: nowrap; | |||
text-align: right; | |||
} | } | ||
.navbox td { | |||
width: 100%; | |||
padding: 0 0 0 2px; | |||
} | } | ||
/* | /* Clear before navboxes and their section */ | ||
h2:has(#Navigation):has(+ table.navbox) { | |||
clear: both; | |||
} | } | ||
/* [[Template:LoadBox]]*/ | |||
.load-page { | |||
background-color: rgba(255, 255, 255, .5); | |||
border: 1px solid #CCC; | |||
margin-bottom: 0.5em; | |||
padding: 0 0.5em; | |||
} | |||
body.wgl-theme-dark .load-page { | |||
background-color: #222; | |||
border-color: #111; | |||
} | |||
body.wgl-theme-dark .load-page .mw-spinner { | |||
filter: invert(1); | |||
} | } | ||
. | /* Hatnotes and disambiguation notices */ | ||
- | .hatnote { | ||
font-style: italic; | |||
} | } | ||
.hatnote i { | |||
font-style: normal; | |||
} | } | ||
@keyframes layered-blueprint-fade- | div.hatnote { | ||
padding-left: 1.6em; | |||
margin-bottom: 0.5em; | |||
} | |||
div.hatnote + div.hatnote { | |||
margin-top: -0.5em; | |||
} | |||
/* [[Template:Layered blueprint]] */ | |||
@-webkit-keyframes layered-blueprint-fade-in { | |||
0% { | 0% { | ||
opacity: 0; | |||
visibility: hidden; | |||
} | |||
100% { | |||
opacity: 1; | opacity: 1; | ||
visibility: visible; | visibility: visible; | ||
} | } | ||
} | |||
@keyframes layered-blueprint-fade-in { | |||
0% { | |||
opacity: 0; | opacity: 0; | ||
visibility: hidden; | visibility: hidden; | ||
} | |||
100% { | |||
opacity: 1; | |||
visibility: visible; | |||
} | } | ||
} | } | ||
.layered-blueprint-radio:checked + .layered-blueprint-tab + .layered-blueprint-layer ~ .layered-blueprint-layer { | .layered-blueprint-layer { | ||
-webkit-animation: layered-blueprint-fade-out 200ms; | -webkit-animation: layered-blueprint-fade-in 200ms; | ||
animation: layered-blueprint-fade-in 200ms; | |||
} | |||
@-webkit-keyframes layered-blueprint-fade-out { | |||
0% { | |||
opacity: 1; | |||
visibility: visible; | |||
} | |||
100% { | |||
opacity: 0; | |||
visibility: hidden; | |||
} | |||
} | |||
@keyframes layered-blueprint-fade-out { | |||
0% { | |||
opacity: 1; | |||
visibility: visible; | |||
} | |||
100% { | |||
opacity: 0; | |||
visibility: hidden; | |||
} | |||
} | |||
.layered-blueprint-radio:checked + .layered-blueprint-tab + .layered-blueprint-layer ~ .layered-blueprint-layer { | |||
-webkit-animation: layered-blueprint-fade-out 200ms; | |||
animation: layered-blueprint-fade-out 200ms; | animation: layered-blueprint-fade-out 200ms; | ||
} | } | ||
| 1 010 eilutė: | 1 102 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 152 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 533 eilutė: | ||
} | } | ||
body.wgl-theme-dark .update { | |||
background: #596279 !important; | |||
} | |||
:root { | :root { | ||
| 1 479 eilutė: | 1 582 eilutė: | ||
background-color: #dfefe3; | background-color: #dfefe3; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | |||
body.wgl-theme-dark .messagebox { | |||
color: black; | |||
} | } | ||
| 1 549 eilutė: | 1 656 eilutė: | ||
.messagebox.disambig a, | .messagebox.disambig a, | ||
.messagebox.disambig a:visited, | .messagebox.disambig a:visited, | ||
.messagebox.disambig a:active { | .messagebox.disambig a:active { | ||
color: var(--messagebox-disambig-link-color); | color: var(--messagebox-disambig-link-color); | ||
} | } | ||
.messagebox.discord { | .messagebox.discord { | ||
background-color: var(--messagebox-discord-background); | background-color: var(--messagebox-discord-background); | ||
border-color: var(--messagebox-discord-border); | border-color: var(--messagebox-discord-border); | ||
color: #fff; | color: #fff; | ||
} | |||
.messagebox.discord a, | |||
.messagebox.discord a:visited, | |||
.messagebox.discord a:active { | |||
color: var(--messagebox-discord-link-color); | |||
} | |||
.messagebox.discord a.external, | |||
.messagebox.discord a:visited.external, | |||
.messagebox.discord a:active.external { | |||
font-style: italic; | |||
} | |||
.messagebox.stub { | |||
width: 40%; | |||
} | |||
.messagebox.hasdialogue { | |||
padding: 0 10px; | |||
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: "•"; | |||
} | } | ||