MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
m Added banner CSS |
m Changed banner size |
||
| Line 2: | Line 2: | ||
.scaevus-banner { | .scaevus-banner { | ||
width: 100%; | width: 100%; | ||
max-width: 600px; | |||
margin: 0 auto 15px; | margin: 0 auto 15px; | ||
overflow: | overflow: hidden; | ||
} | } | ||
| Line 9: | Line 10: | ||
display: block; | display: block; | ||
width: 100%; | width: 100%; | ||
max-width: | max-width: 600px; | ||
height: auto; | height: auto; | ||
margin: 0 auto; | |||
object-fit: contain; | object-fit: contain; | ||
} | } | ||
Latest revision as of 04:05, 15 July 2026
/* CSS placed here will be applied to all skins */
.scaevus-banner {
width: 100%;
max-width: 600px;
margin: 0 auto 15px;
overflow: hidden;
}
.scaevus-banner img {
display: block;
width: 100%;
max-width: 600px;
height: auto;
margin: 0 auto;
object-fit: contain;
}
/* Scaevus horizontal menu */
.scaevus-menu-table {
width: 100%;
margin: 15px 0 25px;
padding: 4px;
table-layout: fixed;
border-collapse: separate;
border-spacing: 2px;
background: #08080d;
border: 1px solid #7628d7;
border-radius: 6px;
box-shadow:
0 0 12px rgba(112, 39, 230, 0.55),
0 0 24px rgba(225, 32, 255, 0.20);
}
.scaevus-menu-table td {
width: 25%;
padding: 0 !important;
text-align: center;
vertical-align: middle;
border: none !important;
background: transparent !important;
}
.scaevus-menu-table td a {
display: block;
padding: 14px 6px;
color: #ffffff !important;
font-size: 14px;
font-weight: bold;
letter-spacing: 1px;
text-transform: uppercase;
text-decoration: none !important;
background: linear-gradient(
135deg,
#173c9b 0%,
#6426bd 50%,
#c019a6 100%
);
transition:
background 0.25s ease,
box-shadow 0.25s ease;
}
.scaevus-menu-table td a:hover {
color: #ffffff !important;
background: linear-gradient(
135deg,
#2176ff 0%,
#9134ee 50%,
#ef27d4 100%
);
box-shadow:
inset 0 0 10px rgba(255, 255, 255, 0.20),
0 0 12px rgba(160, 40, 255, 0.65);
}
.scaevus-menu-table td a:visited {
color: #ffffff !important;
}
/* Scaevus menu – mobile layout */
@media screen and (max-width: 700px) {
.scaevus-menu-table {
display: block;
width: 100%;
margin: 12px 0 20px;
padding: 4px;
box-sizing: border-box;
border-spacing: 0;
}
.scaevus-menu-table tbody {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 4px;
width: 100%;
}
.scaevus-menu-table tr {
display: contents;
}
.scaevus-menu-table td {
display: block;
width: auto !important;
min-width: 0;
padding: 0 !important;
}
.scaevus-menu-table td a {
display: flex;
align-items: center;
justify-content: center;
min-height: 52px;
height: 100%;
padding: 8px 5px;
box-sizing: border-box;
font-size: 12px;
line-height: 1.25;
letter-spacing: 0.5px;
text-align: center;
border-radius: 3px;
overflow-wrap: anywhere;
}
}