「MediaWiki:Minerva.css」の版間の差分
表示
Refined visuals (Minerva mobile) |
Remove h2/h3 border-bottom on Minerva (conflicts with accordion section-heading) |
||
| 64行目: | 64行目: | ||
font-size: 15px; | font-size: 15px; | ||
line-height: 1.7; | line-height: 1.7; | ||
} | |||
.mw-parser-output h2, | |||
.mw-parser-output h3 { | |||
border-bottom: none !important; | |||
padding-bottom: 0 !important; | |||
} | } | ||
.mw-parser-output h2 { | .mw-parser-output h2 { | ||
font-size: 1. | font-size: 1.25em; | ||
margin-top: 1. | margin-top: 1.2em; | ||
margin-bottom: 0.4em; | |||
font-weight: 600; | |||
} | } | ||
.mw-parser-output h3 { | .mw-parser-output h3 { | ||
font-size: 1.1em; | font-size: 1.08em; | ||
margin- | margin-top: 1em; | ||
border-bottom: | margin-bottom: 0.3em; | ||
padding-bottom: 0 | font-weight: 600; | ||
color: #444; | |||
} | |||
.section-heading, | |||
.collapsible-heading { | |||
border-bottom: none !important; | |||
} | |||
.section-heading h2, | |||
.collapsible-heading h2, | |||
.collapsible-block h2 { | |||
border-bottom: none !important; | |||
padding-bottom: 0 !important; | |||
} | } | ||
2026年5月1日 (金) 14:44時点における版
table.wikitable,
table.infobox,
table.navbox {
width: 100% !important;
max-width: 100% !important;
box-sizing: border-box;
border-collapse: collapse;
border: 1px solid #ececec;
border-radius: 4px;
margin: 1em 0;
font-size: 0.93em;
background: #fff;
}
table.infobox {
float: none !important;
margin: 0.4em 0 1.2em 0 !important;
}
table.wikitable th,
table.infobox th,
table.navbox th {
padding: 9px 11px;
text-align: left;
background: #fbfbfb;
color: #444;
font-weight: 600;
border-bottom: 2px solid #f0c000;
}
table.wikitable td,
table.infobox td,
table.navbox td {
padding: 9px 11px;
border-top: 1px solid #f1ebd5;
color: #2c2c2c;
vertical-align: top;
word-break: break-word;
line-height: 1.6;
}
table.infobox caption {
background: #f0c000;
color: #1a1500;
font-size: 1.05em;
font-weight: 700;
padding: 12px;
text-align: center;
}
table.infobox th {
background: #fbfaf3;
width: 40%;
font-size: 0.88em;
border-top: 1px solid #f1ebd5;
border-bottom: none;
}
table.wikitable tbody tr:nth-child(even) td {
background: #fcfcfa;
}
.mw-parser-output {
font-size: 15px;
line-height: 1.7;
}
.mw-parser-output h2,
.mw-parser-output h3 {
border-bottom: none !important;
padding-bottom: 0 !important;
}
.mw-parser-output h2 {
font-size: 1.25em;
margin-top: 1.2em;
margin-bottom: 0.4em;
font-weight: 600;
}
.mw-parser-output h3 {
font-size: 1.08em;
margin-top: 1em;
margin-bottom: 0.3em;
font-weight: 600;
color: #444;
}
.section-heading,
.collapsible-heading {
border-bottom: none !important;
}
.section-heading h2,
.collapsible-heading h2,
.collapsible-block h2 {
border-bottom: none !important;
padding-bottom: 0 !important;
}