「MediaWiki:Minerva.css」の版間の差分
表示
Remove h2/h3 border-bottom on Minerva (conflicts with accordion section-heading) |
Stop killing .section-heading/.collapsible-heading borders (those ARE the accordion divider) |
||
| (同じ利用者による、間の1版が非表示) | |||
| 66行目: | 66行目: | ||
} | } | ||
.mw-parser-output h2 | .mw-parser-output h2 { | ||
border-bottom: none !important; | border-bottom: none !important; | ||
padding-bottom: 0 !important; | padding-bottom: 0 !important; | ||
font-size: 1.25em; | font-size: 1.25em; | ||
margin-top: 1.2em; | margin-top: 1.2em; | ||
| 80行目: | 76行目: | ||
.mw-parser-output h3 { | .mw-parser-output h3 { | ||
font-size: 1. | font-size: 1.1em; | ||
margin-top: 1em; | margin-top: 1.1em; | ||
border-bottom: 1px solid #ecdfb0; | |||
padding-bottom: 0.2em; | |||
font-weight: 600; | font-weight: 600; | ||
color: # | color: #3a3000; | ||
} | } | ||
2026年5月1日 (金) 14:48時点における最新版
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 {
border-bottom: none !important;
padding-bottom: 0 !important;
font-size: 1.25em;
margin-top: 1.2em;
margin-bottom: 0.4em;
font-weight: 600;
}
.mw-parser-output h3 {
font-size: 1.1em;
margin-top: 1.1em;
border-bottom: 1px solid #ecdfb0;
padding-bottom: 0.2em;
font-weight: 600;
color: #3a3000;
}