「MediaWiki:Minerva.css」の版間の差分

Minerva: 100% width tables
 
Refined visuals (Minerva mobile)
5行目: 5行目:
     max-width: 100% !important;
     max-width: 100% !important;
     box-sizing: border-box;
     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 {
table.infobox {
     float: none !important;
     float: none !important;
     margin: 0 0 1em 0 !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 {
    font-size: 1.3em;
    margin-top: 1.4em;
    border-bottom: 2px solid #f0c000;
    padding-bottom: 0.3em;
}
 
.mw-parser-output h3 {
    font-size: 1.1em;
    margin-top: 1.1em;
    border-bottom: 1px solid #ecdfb0;
    padding-bottom: 0.2em;
}
}