MediaWiki:Common.css: Difference between revisions
From Alundra
No edit summary |
No edit summary |
||
| Line 53: | Line 53: | ||
} | } | ||
} | |||
.object-grid { | |||
display: grid; | |||
grid-template-columns: | |||
repeat(auto-fill, minmax(220px, 1fr)); | |||
gap: 10px; | |||
} | |||
.object-entry a { | |||
display: flex; | |||
align-items: center; | |||
gap: 10px; | |||
padding: 6px 10px; | |||
text-decoration: none; | |||
} | |||
.object-entry img { | |||
width: 32px; | |||
height: 32px; | |||
object-fit: contain; | |||
image-rendering: pixelated; | |||
flex-shrink: 0; | |||
} | } | ||
Revision as of 16:02, 15 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');
--#mw-header-container,
#mw-content,
#mw-footer-container,
#page-tools {
font-family: "Oleo Script", system-ui;
font-weight: 400;
font-style: normal;
border-style: solid;
border-color: transparent;
border-width: 8px 16px 8px 16px;
border-image: url("https://alundra.net/images/8/8d/Scroll.png");
border-image-slice: 8 16 8 16;
border-image-repeat: repeat;
border-image-width: 8px 16px 8px 16px;
border-image-outset: 0;
background-image: url("https://alundra.net/images/d/d0/Scroll_Inner.png");
background-repeat: repeat;
background-size: auto;
background-position: top left;
background-clip: padding-box;
background-color: transparent;
text-shadow: 0 1px 0 rgba(255,255,255,0.35);
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 a {
display: flex;
align-items: center;
gap: 10px;
padding: 6px 10px;
text-decoration: none;
}
.object-entry img {
width: 32px;
height: 32px;
object-fit: contain;
image-rendering: pixelated;
flex-shrink: 0;
}