MediaWiki:Common.css: Difference between revisions
From Alundra
No edit summary |
No edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 69: | Line 69: | ||
} | } | ||
.pixelart img { | |||
- | height: auto; | ||
image-rendering: - | max-width: 100%; | ||
image-rendering: pixelated; | |||
} | |||
#p-banner, | |||
#user-tools { | |||
background: #b8b090; | |||
border: 1px solid #908870; | |||
} | |||
#mw-header-container { | |||
background-image: url("https://alundra.net/images/d/d9/Alundra_Banner_Test.png"); | |||
background-attachment: fixed; | |||
background-size: auto; | |||
background-position: center; | |||
} | |||
#mw-content-container { | |||
background-image: url("https://alundra.net/images/3/38/Alundra_Background_Test.png"); | |||
background-attachment: fixed; | |||
background-size: cover; | |||
background-position: center; | |||
} | } | ||
Latest revision as of 19:44, 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 {
height: auto;
max-width: 100%;
image-rendering: pixelated;
}
#p-banner,
#user-tools {
background: #b8b090;
border: 1px solid #908870;
}
#mw-header-container {
background-image: url("https://alundra.net/images/d/d9/Alundra_Banner_Test.png");
background-attachment: fixed;
background-size: auto;
background-position: center;
}
#mw-content-container {
background-image: url("https://alundra.net/images/3/38/Alundra_Background_Test.png");
background-attachment: fixed;
background-size: cover;
background-position: center;
}