MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 117: | Line 117: | ||
.mw-dropdown-ui:hover { | .mw-dropdown-ui:hover { | ||
box-shadow: 0 0 15px rgba(0,191,255,0.6); | box-shadow: 0 0 15px rgba(0,191,255,0.6); | ||
} | |||
/* ===== TAB SYSTEM ===== */ | |||
.mw-tabs { | |||
margin: 20px 0; | |||
} | |||
.mw-tab-buttons { | |||
display: flex; | |||
gap: 8px; | |||
margin-bottom: 10px; | |||
flex-wrap: wrap; | |||
} | |||
.mw-tab-btn { | |||
padding: 8px 14px; | |||
background: #111; | |||
color: #ccc; | |||
border: 1px solid #444; | |||
border-radius: 6px; | |||
cursor: pointer; | |||
font-weight: bold; | |||
} | |||
.mw-tab-btn:hover { | |||
border-color: #00bfff; | |||
color: #fff; | |||
} | |||
.mw-tab-btn.active { | |||
background: #00bfff; | |||
color: #000; | |||
} | |||
.mw-tab-content { | |||
display: none; | |||
} | |||
.mw-tab-content.active { | |||
display: block; | |||
} | } | ||
Revision as of 17:34, 21 April 2026
.navtable{
border: none;
text-align: center;
margin: 0 auto;
border-collapse: collapse;
}
.navcell{
padding: 0 18px 10px 18px; /* reduced horizontal + vertical spacing */
vertical-align: top;
}
.navimg img{
display:block;
margin:0 auto;
}
/* Smaller fixed icon heights */
.navicon{
display:flex;
align-items:flex-end;
justify-content:center;
width: 200px;
}
.navicon--row1{
height: 150px; /* was 160 */
}
.navicon--row2{
height: 200px; /* was 210 */
}
/* Pull labels closer */
.navlabel{
margin-top: 4px; /* was 8 */
line-height: 1.05;
font-weight: 800;
}
.navlabel--tight{
margin-top: 2px; /* almost touching */
}
.navicon--empty,
.navlabel--empty{
visibility:hidden;
}
.navlabel{
text-align: center; /* centers the words */
width: 100%; /* makes it span full cell width */
margin-top: 4px;
line-height: 1.05;
font-weight: 800;
}
.navlabel--tight{
text-align: center;
width: 100%;
margin-top: 2px;
}
body.page-Main_Page h1.firstHeading {
display: none;
}
/* ===== GAME UI DROPDOWN ===== */
.mw-dropdown-ui {
background: #1e1e1e;
border: 2px solid #444;
border-radius: 10px;
padding: 15px;
margin: 15px 0;
box-shadow: 0 0 10px rgba(0,0,0,0.6);
max-width: 600px;
}
.mw-dropdown-ui select {
width: 100%;
padding: 10px;
background: #111;
color: #fff;
border: 1px solid #666;
border-radius: 6px;
margin-bottom: 10px;
font-size: 14px;
cursor: pointer;
}
.mw-dropdown-ui select:hover {
border-color: #00bfff;
}
/* Output panel */
.mw-dropdown-output {
background: #0d0d0d;
border: 1px solid #333;
padding: 12px;
border-radius: 6px;
color: #ddd;
min-width: 300px;
line-height: 1.4;
}
/* Section headers */
h3 {
color: #00bfff;
border-bottom: 2px solid #00bfff;
padding-bottom: 5px;
margin-top: 25px;
}
/* Optional glow effect */
.mw-dropdown-ui:hover {
box-shadow: 0 0 15px rgba(0,191,255,0.6);
}
/* ===== TAB SYSTEM ===== */
.mw-tabs {
margin: 20px 0;
}
.mw-tab-buttons {
display: flex;
gap: 8px;
margin-bottom: 10px;
flex-wrap: wrap;
}
.mw-tab-btn {
padding: 8px 14px;
background: #111;
color: #ccc;
border: 1px solid #444;
border-radius: 6px;
cursor: pointer;
font-weight: bold;
}
.mw-tab-btn:hover {
border-color: #00bfff;
color: #fff;
}
.mw-tab-btn.active {
background: #00bfff;
color: #000;
}
.mw-tab-content {
display: none;
}
.mw-tab-content.active {
display: block;
}