MediaWiki:Common.css: Difference between revisions

From B-Wiki
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 */
code[class*=language-],pre[class*=language-]{color:#000;background:0 0;text-shadow:0 1px #fff;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{text-shadow:none;background:#b3d4fc}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f5f2f0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#999}.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#905}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#690}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#a67f59;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.function{color:#DD4A68}.token.important,.token.regex,.token.variable{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}
 
/* 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;
}