MediaWiki:Common.css: Difference between revisions

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

Revision as of 14:44, 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;
}
/* ── Sidebar order ── */
#column-one {
    display: flex;
    flex-direction: column;
}
#p-search {
    order: 10;
}
#p-tb {
    order: 11;
}
#p-lang {
    order: 12;
}