MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Created page with "→CSS placed here will be applied to all skins: code[class*=language-],pre[class*=language-]{color:#000;background:0 0;text-shadow:0 1px #fff;font-family:Consolas,Monaco,'A..." |
m Add B-Wiki beautification styles |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* B-Wiki Main Page Beautification - Add to MediaWiki:Common.css */ | |||
/* Hero section - welcome banner */ | |||
.bogza-hero { | |||
padding: 1.2em 1.5em; | |||
margin-bottom: 1.5em; | |||
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); | |||
border-left: 4px solid #0d6efd; | |||
border-radius: 0 8px 8px 0; | |||
font-size: 1.05em; | |||
} | |||
.bogza-hero-table { | |||
box-shadow: 0 2px 8px rgba(0,0,0,0.08); | |||
border-radius: 8px; | |||
} | |||
/* Card-style tables - cleaner look */ | |||
.wikitable.bogza-card { | |||
box-shadow: 0 2px 6px rgba(0,0,0,0.06); | |||
border-radius: 8px; | |||
border-collapse: separate; | |||
border-spacing: 0; | |||
overflow: hidden; | |||
} | |||
.wikitable.bogza-card th { | |||
background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%); | |||
color: #212529; | |||
font-weight: 600; | |||
padding: 0.6em 0.8em; | |||
} | |||
.wikitable.bogza-card td { | |||
padding: 0.6em 0.8em; | |||
} | |||
.wikitable.bogza-card tr:nth-child(even) { | |||
background-color: #f8f9fa; | |||
} | |||
.wikitable.bogza-card tr:hover { | |||
background-color: #f1f3f5; | |||
} | |||
/* Section headers - subtle improvement */ | |||
#mw-content-text h2 { | |||
border-bottom: 2px solid #dee2e6; | |||
padding-bottom: 0.3em; | |||
margin-top: 1.5em; | |||
} | |||
#mw-content-text h3 { | |||
color: #495057; | |||
margin-top: 1.2em; | |||
} | |||
/* Collapsible toggle styling */ | |||
.mw-collapsible-toggle { | |||
font-weight: 600; | |||
} | |||
Latest revision as of 12:03, 22 February 2026
/* CSS placed here will be applied to all skins */
/* B-Wiki Main Page Beautification - Add to MediaWiki:Common.css */
/* Hero section - welcome banner */
.bogza-hero {
padding: 1.2em 1.5em;
margin-bottom: 1.5em;
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
border-left: 4px solid #0d6efd;
border-radius: 0 8px 8px 0;
font-size: 1.05em;
}
.bogza-hero-table {
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
border-radius: 8px;
}
/* Card-style tables - cleaner look */
.wikitable.bogza-card {
box-shadow: 0 2px 6px rgba(0,0,0,0.06);
border-radius: 8px;
border-collapse: separate;
border-spacing: 0;
overflow: hidden;
}
.wikitable.bogza-card th {
background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
color: #212529;
font-weight: 600;
padding: 0.6em 0.8em;
}
.wikitable.bogza-card td {
padding: 0.6em 0.8em;
}
.wikitable.bogza-card tr:nth-child(even) {
background-color: #f8f9fa;
}
.wikitable.bogza-card tr:hover {
background-color: #f1f3f5;
}
/* Section headers - subtle improvement */
#mw-content-text h2 {
border-bottom: 2px solid #dee2e6;
padding-bottom: 0.3em;
margin-top: 1.5em;
}
#mw-content-text h3 {
color: #495057;
margin-top: 1.2em;
}
/* Collapsible toggle styling */
.mw-collapsible-toggle {
font-weight: 600;
}