MediaWiki:Common.css: Difference between revisions

From Taiwan beetles
Jump to navigationJump to search
Created page with "── Background ──: body, #content { background-color: #f9f3ee; color: #3a2a2a; } ── Top header bar ──: #mw-head, .mw-header { background-color: #4a1e1e; } ── Sidebar ──: #mw-panel { background-color: #f9f3ee; } #mw-panel .portal h3 { color: #7a5c1e; border-bottom: 1px solid #7a5c1e; } #mw-panel a { color: #4a1e1e; } #mw-panel a:hover { color: #7a5c1e; } ── Page headings ──: h1, h2, h..."
 
No edit summary
Line 54: Line 54:
.wikitable tr:nth-child(even) {
.wikitable tr:nth-child(even) {
     background-color: #f0e8df;
     background-color: #f0e8df;
}
#mw-panel {
    display: flex;
    flex-direction: column;
}
/* Push search to the bottom */
#p-search {
    order: 10;
}
#p-tb {
    order: 11;
}
}

Revision as of 14:37, 6 May 2026

/* ── Background ── */
body, #content {
    background-color: #f9f3ee;
    color: #3a2a2a;
}

/* ── Top header bar ── */
#mw-head, .mw-header {
    background-color: #4a1e1e;
}

/* ── Sidebar ── */
#mw-panel {
    background-color: #f9f3ee;
}

#mw-panel .portal h3 {
    color: #7a5c1e;
    border-bottom: 1px solid #7a5c1e;
}

#mw-panel a {
    color: #4a1e1e;
}

#mw-panel a:hover {
    color: #7a5c1e;
}

/* ── Page headings ── */
h1, h2, h3 {
    color: #4a1e1e;
}

h2 {
    border-bottom: 1px solid #7a5c1e;
}

/* ── Links ── */
a {
    color: #7a5c1e;
}

a:hover {
    color: #4a1e1e;
}

/* ── Tables ── */
.wikitable th {
    background-color: #4a1e1e;
    color: #f9f3ee;
}

.wikitable tr:nth-child(even) {
    background-color: #f0e8df;
}

#mw-panel {
    display: flex;
    flex-direction: column;
}

/* Push search to the bottom */
#p-search {
    order: 10;
}

#p-tb {
    order: 11;
}