MediaWiki:Common.css: Difference between revisions
From Alundra
No edit summary |
mNo edit summary |
||
| Line 69: | Line 69: | ||
} | } | ||
.pixelart img { | |||
-ms-interpolation-mode: nearest-neighbor; | -ms-interpolation-mode: nearest-neighbor; | ||
image-rendering: -moz-crisp-edges; | image-rendering: -moz-crisp-edges; | ||
Revision as of 18:58, 23 May 2026
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Oleo+Script:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Oleo+Script:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap');
--#mw-header-container,
#mw-content,
#mw-footer-container,
#page-tools {
--font-family: "Oleo Script", system-ui;
--font-weight: 400;
--font-style: normal;
--font-family: "Alfa Slab One", serif;
--font-weight: 200;
--font-style: normal;
font-family: "DM Serif Display", serif;
font-weight: 400;
font-style: normal;
background: #b8b090;
border: 2px solid #908870;
box-shadow:
0 2px 8px rgba(0,0,0,0.18);
color: #2b2a24;
text-shadow: none;
a {
color: #1E4E6A;
text-decoration: underline;
text-decoration-thickness: 1px;
text-underline-offset: 2px;
text-shadow: 0 1px 0 rgba(255,255,255,0.35);
}
a:visited {
color: #4B3F6B;
}
a:focus,
a:hover {
color: #2F6F93;
text-decoration-thickness: 2px;
}
a:active {
color: #163A4F;
}
}
.object-grid {
display: grid;
grid-template-columns:
repeat(auto-fill, minmax(220px, 1fr));
gap: 10px;
}
.object-entry {
display: flex;
align-items: center;
gap: 6px;
}
.mw-tmh-play {
width:100%;
}
.pixelart img {
-ms-interpolation-mode: nearest-neighbor;
image-rendering: -moz-crisp-edges;
image-rendering: -o-crisp-edges;
image-rendering: -webkit-optimize-contrast;
image-rendering: crisp-edges;
}