MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 40: | Line 40: | ||
display: block; | display: block; | ||
max-width: 140px; | max-width: 140px; | ||
} | |||
/* email styling */ | |||
.email { | |||
margin: 0.75em 0; | |||
padding-left: 1.0em; | |||
border-left: 3px solid #d0d7de; | |||
position: relative; | |||
} | |||
.email::before { | |||
content: ""; | |||
position: absolute; | |||
left: -7px; | |||
top: 1.0em; | |||
width: 10px; | |||
height: 10px; | |||
background: #ffffff; | |||
border: 3px solid #d0d7de; | |||
border-radius: 999px; | |||
} | |||
.email + .email { | |||
margin-top: 1.0em; | |||
} | |||
.email-table { | |||
width: 100%; | |||
border-collapse: separate; | |||
border-spacing: 0; | |||
background: #f8fafc; | |||
border: 1px solid #e5e7eb; | |||
border-radius: 10px; | |||
box-shadow: 0 1px 2px rgba(0,0,0,0.06); | |||
overflow: hidden; | |||
} | |||
.email-header td { | |||
padding: 0.6em 0.8em; | |||
vertical-align: top; | |||
border-bottom: 1px solid #e5e7eb; | |||
} | |||
.email-hcell { | |||
width: 33.33%; | |||
} | |||
.email-label { | |||
font-size: 0.75em; | |||
font-weight: 600; | |||
letter-spacing: 0.02em; | |||
text-transform: uppercase; | |||
color: #6b7280; | |||
margin-bottom: 0.2em; | |||
} | |||
.email-value { | |||
font-size: 0.95em; | |||
color: #111827; | |||
word-break: break-word; | |||
} | |||
.email-body { | |||
padding: 0.9em 0.8em; | |||
background: #ffffff; | |||
line-height: 1.45; | |||
white-space: pre-wrap; | |||
word-break: break-word; | |||
} | } | ||
Revision as of 01:11, 5 February 2026
/* CSS placed here will be applied to all skins */
.infobox {
float: right;
clear: right;
width: 320px;
margin: 0 0 1em 1em;
border: 1px solid #a2a9b1;
background: #f8f9fa;
font-size: 0.9em;
}
.infobox-title {
padding: 0.5em 0.75em;
font-weight: 700;
border-bottom: 1px solid #a2a9b1;
}
.infobox-table {
width: 100%;
border-collapse: collapse;
}
.infobox-table th,
.infobox-table td {
padding: 0.4em 0.6em;
vertical-align: top;
border-top: 1px solid #eaecf0;
}
.infobox-table th {
text-align: left;
white-space: nowrap;
width: 35%;
}
.infobox code {
text-overflow: ellipsis;
overflow: hidden;
display: block;
max-width: 140px;
}
/* email styling */
.email {
margin: 0.75em 0;
padding-left: 1.0em;
border-left: 3px solid #d0d7de;
position: relative;
}
.email::before {
content: "";
position: absolute;
left: -7px;
top: 1.0em;
width: 10px;
height: 10px;
background: #ffffff;
border: 3px solid #d0d7de;
border-radius: 999px;
}
.email + .email {
margin-top: 1.0em;
}
.email-table {
width: 100%;
border-collapse: separate;
border-spacing: 0;
background: #f8fafc;
border: 1px solid #e5e7eb;
border-radius: 10px;
box-shadow: 0 1px 2px rgba(0,0,0,0.06);
overflow: hidden;
}
.email-header td {
padding: 0.6em 0.8em;
vertical-align: top;
border-bottom: 1px solid #e5e7eb;
}
.email-hcell {
width: 33.33%;
}
.email-label {
font-size: 0.75em;
font-weight: 600;
letter-spacing: 0.02em;
text-transform: uppercase;
color: #6b7280;
margin-bottom: 0.2em;
}
.email-value {
font-size: 0.95em;
color: #111827;
word-break: break-word;
}
.email-body {
padding: 0.9em 0.8em;
background: #ffffff;
line-height: 1.45;
white-space: pre-wrap;
word-break: break-word;
}