MediaWiki:Common.css
表示
注意: 保存後、変更を確認するにはブラウザーのキャッシュを消去する必要がある場合があります。
- Firefox / Safari: Shift を押しながら 再読み込み をクリックするか、Ctrl-F5 または Ctrl-R を押してください (Mac では ⌘-R)
- Google Chrome: Ctrl-Shift-R を押してください (Mac では ⌘-Shift-R)
- Microsoft Edge: Ctrl を押しながら 最新の情報に更新 をクリックするか、Ctrl-F5 を押してください。
.mw-parser-output {
line-height: 1.75;
font-size: 15px;
color: #2c2c2c;
}
.mw-parser-output p {
margin: 0.7em 0 1em 0;
}
.mw-parser-output h2 {
border-bottom: 2px solid #f0c000;
padding-bottom: 0.35em;
margin-top: 1.7em;
margin-bottom: 0.8em;
font-size: 1.55em;
font-weight: 600;
letter-spacing: 0.01em;
}
.mw-parser-output h3 {
border-bottom: 1px solid #ecdfb0;
padding-bottom: 0.25em;
margin-top: 1.3em;
margin-bottom: 0.6em;
font-size: 1.18em;
font-weight: 600;
color: #3a3000;
}
.mw-parser-output h4 {
margin-top: 1em;
margin-bottom: 0.4em;
font-size: 1.05em;
font-weight: 600;
color: #444;
}
table.wikitable,
table.infobox,
table.navbox {
border-collapse: collapse;
background: #ffffff;
border: 1px solid #ececec;
border-radius: 4px;
overflow: hidden;
margin: 1.4em 0;
font-size: 0.95em;
box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
table.wikitable {
width: auto;
}
table.wikitable th,
table.wikitable > caption {
background: #fbfbfb;
color: #444;
font-weight: 600;
border-bottom: 2px solid #f0c000;
padding: 11px 16px;
text-align: left;
letter-spacing: 0.02em;
}
table.wikitable td {
padding: 11px 16px;
border-top: 1px solid #f3f3f3;
color: #333;
vertical-align: top;
}
table.wikitable tbody tr:first-child td {
border-top: none;
}
table.wikitable tbody tr:nth-child(even) td {
background: #fcfcfa;
}
table.wikitable tbody tr:hover td {
background: #fff8e1;
transition: background 0.15s ease;
}
table.infobox {
width: 280px;
float: right;
margin: 0 0 1.2em 1.4em;
border: 1px solid #ececec;
}
table.infobox caption {
background: #f0c000;
color: #1a1500;
font-size: 1.08em;
font-weight: 700;
padding: 14px 14px;
text-align: center;
border-bottom: none;
letter-spacing: 0.01em;
}
table.infobox th {
background: #fbfaf3;
color: #555;
font-weight: 500;
font-size: 0.88em;
border-top: 1px solid #f1ebd5;
padding: 9px 12px;
text-align: left;
width: 38%;
vertical-align: top;
letter-spacing: 0.02em;
}
table.infobox td {
padding: 9px 12px;
border-top: 1px solid #f1ebd5;
color: #2c2c2c;
vertical-align: top;
word-break: break-word;
line-height: 1.6;
}
table.infobox tr:nth-child(2) th,
table.infobox tr:nth-child(2) td {
border-top: none;
}
table.navbox {
font-size: 0.86em;
background: #ffffff;
border-radius: 4px;
margin: 1.5em 0 0.5em 0;
}
table.navbox th {
background: #fff8de;
color: #5a4500;
border-bottom: 1px solid #f0c000;
padding: 10px 14px;
text-align: center;
font-weight: 600;
letter-spacing: 0.02em;
}
table.navbox td {
padding: 9px 13px;
border-top: 1px solid #f0f0f0;
color: #333;
vertical-align: top;
}
table.navbox tr td:first-child {
background: #fcfcfc;
font-weight: 600;
color: #555;
width: 16%;
border-right: 1px solid #f0f0f0;
font-size: 0.92em;
}
.mw-parser-output ul,
.mw-parser-output ol {
margin: 0.6em 0 0.9em 1.4em;
line-height: 1.75;
}
.mw-parser-output li {
margin: 0.25em 0;
}
.mw-parser-output ol.references,
.mw-parser-output .references {
font-size: 0.88em;
line-height: 1.65;
color: #555;
}
.mw-parser-output a.external {
color: #2754a8;
}
.mw-parser-output dl, .mw-parser-output dd {
line-height: 1.65;
}
#mw-content-text > .mw-parser-output {
padding: 0.4em 0;
}
@media screen and (max-width: 720px) {
table.wikitable,
table.infobox,
table.navbox {
width: 100% !important;
max-width: 100% !important;
box-sizing: border-box;
font-size: 0.93em;
margin: 1em 0;
}
table.infobox {
float: none !important;
margin: 0.4em 0 1.2em 0 !important;
}
table.wikitable th,
table.wikitable td,
table.infobox th,
table.infobox td,
table.navbox th,
table.navbox td {
padding: 8px 10px;
word-break: break-word;
}
table.infobox th {
width: 40%;
}
.mw-parser-output {
font-size: 15px;
line-height: 1.7;
}
.mw-parser-output h2 {
font-size: 1.35em;
margin-top: 1.4em;
}
.mw-parser-output h3 {
font-size: 1.1em;
}
}
.owarai-mascot-logo-override-begin {}
.mw-wiki-logo,
.mw-logo-icon,
.minerva-main-menu-button .mw-logo-icon,
#p-logo a,
.skin-vector-2022 .mw-logo-icon {
background-image: url(/index.php/Special:FilePath/Owarai-mascot-raccoon.jpeg) !important;
background-size: contain !important;
background-repeat: no-repeat !important;
background-position: center center !important;
}
.owarai-mascot-logo-override-end {}