MediaWiki:Common.css: Difference between revisions
Appearance
Computerwhz (talk | contribs) No edit summary |
Computerwhz (talk | contribs) No edit summary |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
background: #f8f9fa; | background: #f8f9fa; | ||
color: #202122; | color: #202122; | ||
margin: 1em 0 0.25em 0; | margin: 1em 0 0.25em 0; | ||
padding: 0.75em 1em; | padding: 0.75em 1em; | ||
display: flex; | display: flex; | ||
| Line 12: | Line 12: | ||
.cw-messagebox-icon { | .cw-messagebox-icon { | ||
width: | width: 36px; | ||
min-width: | min-width: 36px; | ||
height: | height: 36px; | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
line-height: 1; | line-height: 1; | ||
text-align: center; | text-align: center; | ||
| Line 25: | Line 24: | ||
.cw-messagebox-icon img { | .cw-messagebox-icon img { | ||
display: block; | |||
max-width: 32px; | max-width: 32px; | ||
max-height: 32px; | max-height: 32px; | ||
display: | width: auto; | ||
height: auto; | |||
object-fit: contain; | |||
} | |||
.cw-messagebox-default-icon { | |||
display: inline-flex; | |||
align-items: center; | |||
justify-content: center; | |||
width: 32px; | |||
height: 32px; | |||
font-size: 22px; | |||
line-height: 1; | |||
} | } | ||
| Line 35: | Line 47: | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
line-height: 1.4; | |||
} | } | ||
| Line 40: | Line 53: | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
} | |||
/* Dark mode */ | |||
html.skin-theme-clientpref-night .cw-messagebox { | |||
background: #202122; | |||
color: #f8f9fa; | |||
border-color: #54595d; | |||
} | |||
html.skin-theme-clientpref-night .cw-messagebox a { | |||
color: #6bace6; | |||
} | |||
.cw-command-table { | |||
width: 100%; | |||
border-collapse: collapse; | |||
margin: 1em 0; | |||
table-layout: auto; | |||
} | |||
.cw-command-table th, | |||
.cw-command-table td { | |||
border: 1px solid #a2a9b1; | |||
padding: 0.55em 0.8em; | |||
vertical-align: middle; | |||
} | |||
.cw-command-table-command { | |||
width: 1%; | |||
white-space: nowrap; | |||
text-align: center; | |||
background: #eaecf0; | |||
font-weight: bold; | |||
font-family: monospace; | |||
padding-left: 1.2em; | |||
padding-right: 1.2em; | |||
} | |||
.cw-command-table-description { | |||
width: 99%; | |||
text-align: left; | |||
background: #fff; | |||
} | |||
/* Dark mode */ | |||
html.skin-theme-clientpref-night .cw-command-table th, | |||
html.skin-theme-clientpref-night .cw-command-table td { | |||
border-color: #54595d; | |||
} | |||
html.skin-theme-clientpref-night .cw-command-table-command { | |||
background: #2a2d31; | |||
color: #f8f9fa; | |||
} | |||
html.skin-theme-clientpref-night .cw-command-table-description { | |||
background: #202122; | |||
color: #f8f9fa; | |||
} | |||
.cw-staff-table { | |||
width: 100%; | |||
border-collapse: collapse; | |||
margin: 1em 0; | |||
table-layout: auto; | |||
} | |||
.cw-staff-table th, | |||
.cw-staff-table td { | |||
border: 1px solid #a2a9b1; | |||
padding: 0.55em 0.8em; | |||
vertical-align: middle; | |||
} | |||
.cw-staff-table th { | |||
background: #54595d; | |||
color: #ffffff; | |||
font-weight: bold; | |||
text-align: center; | |||
} | |||
.cw-staff-table-user, | |||
.cw-staff-table-status, | |||
.cw-staff-table-since { | |||
width: 1%; | |||
white-space: nowrap; | |||
text-align: center; | |||
} | |||
.cw-staff-table-position { | |||
width: 99%; | |||
text-align: left; | |||
} | |||
.cw-staff-table-user { | |||
font-weight: bold; | |||
} | |||
/* Dark mode */ | |||
html.skin-theme-clientpref-night .cw-staff-table th, | |||
html.skin-theme-clientpref-night .cw-staff-table td { | |||
border-color: #54595d; | |||
} | |||
html.skin-theme-clientpref-night .cw-staff-table td { | |||
background: #202122; | |||
color: #f8f9fa; | |||
} | } | ||
Latest revision as of 20:01, 5 June 2026
.cw-messagebox {
border: 1px solid #a2a9b1;
background: #f8f9fa;
color: #202122;
margin: 1em 0 0.25em 0;
padding: 0.75em 1em;
display: flex;
align-items: center;
gap: 0.9em;
box-sizing: border-box;
}
.cw-messagebox-icon {
width: 36px;
min-width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
line-height: 1;
text-align: center;
color: inherit;
}
.cw-messagebox-icon img {
display: block;
max-width: 32px;
max-height: 32px;
width: auto;
height: auto;
object-fit: contain;
}
.cw-messagebox-default-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
font-size: 22px;
line-height: 1;
}
.cw-messagebox-content {
flex: 1;
color: inherit;
margin: 0;
padding: 0;
line-height: 1.4;
}
.cw-messagebox-content p {
margin: 0;
padding: 0;
}
/* Dark mode */
html.skin-theme-clientpref-night .cw-messagebox {
background: #202122;
color: #f8f9fa;
border-color: #54595d;
}
html.skin-theme-clientpref-night .cw-messagebox a {
color: #6bace6;
}
.cw-command-table {
width: 100%;
border-collapse: collapse;
margin: 1em 0;
table-layout: auto;
}
.cw-command-table th,
.cw-command-table td {
border: 1px solid #a2a9b1;
padding: 0.55em 0.8em;
vertical-align: middle;
}
.cw-command-table-command {
width: 1%;
white-space: nowrap;
text-align: center;
background: #eaecf0;
font-weight: bold;
font-family: monospace;
padding-left: 1.2em;
padding-right: 1.2em;
}
.cw-command-table-description {
width: 99%;
text-align: left;
background: #fff;
}
/* Dark mode */
html.skin-theme-clientpref-night .cw-command-table th,
html.skin-theme-clientpref-night .cw-command-table td {
border-color: #54595d;
}
html.skin-theme-clientpref-night .cw-command-table-command {
background: #2a2d31;
color: #f8f9fa;
}
html.skin-theme-clientpref-night .cw-command-table-description {
background: #202122;
color: #f8f9fa;
}
.cw-staff-table {
width: 100%;
border-collapse: collapse;
margin: 1em 0;
table-layout: auto;
}
.cw-staff-table th,
.cw-staff-table td {
border: 1px solid #a2a9b1;
padding: 0.55em 0.8em;
vertical-align: middle;
}
.cw-staff-table th {
background: #54595d;
color: #ffffff;
font-weight: bold;
text-align: center;
}
.cw-staff-table-user,
.cw-staff-table-status,
.cw-staff-table-since {
width: 1%;
white-space: nowrap;
text-align: center;
}
.cw-staff-table-position {
width: 99%;
text-align: left;
}
.cw-staff-table-user {
font-weight: bold;
}
/* Dark mode */
html.skin-theme-clientpref-night .cw-staff-table th,
html.skin-theme-clientpref-night .cw-staff-table td {
border-color: #54595d;
}
html.skin-theme-clientpref-night .cw-staff-table td {
background: #202122;
color: #f8f9fa;
}