Jump to content

MediaWiki:Common.css: Difference between revisions

m
no edit summary
(Created page with "→‎------------------------------ Other ----------------------------: .mw-redirectedfrom { display: none; } #mp-article .mp-h2 span:before { background: url('/static/images/favorite.png') no-repeat center center; } #mp-help .mp-h2 span:before { background: url('/static/images/help.png') no-repeat center center; } #mp-new .mp-h2 span:before { background: url('/static/images/new.png') no-repeat center center; } #mp-top .mp-h2 span:before { backg...")
 
mNo edit summary
Line 20: Line 20:
}
}


/* ----- wikiInfo ----- */
.wikiInfo {
font-size: 90%;
position: relative;
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
display: flex;
flex-direction: column;
margin: 0.5em 35px 1em 0 !important;
max-width: 320px !important;
width: auto !important;
float: left !important;
clear: left !important;
}
.wikiInfo .thumb {
flex: 1;
}
.wikiInfo .thumbinner {
border: none;
}
.wikiInfo img {
width: -webkit-fill-available;
    height: -webkit-fill-available;
    width: -moz-available;
    height: -moz-available;
    padding: 5px;
}
.wikiInfo .tleft {
margin-right: auto;
margin-left: auto;
margin-bottom: 0;
}
.wikiInfo .wikitable {
flex: 1;
border: none;
margin: 0;
}
.wikiInfo .thumbcaption {
display: none;
}
.wikiInfo .wikitable tbody {
display: table;
width: 100%;
border-collapse: separate;
}
.wikiInfo .wikitable tr th {
border: 0;
background-color: unset;
text-align: unset;
}
.wikiInfo .wikitable tr th:nth-child(1) {
font-weight: bold;
background: #ecf0f5;
}
.wikiInfo .wikitable tr th:nth-child(2) {
font-weight: normal;
}
.wikiInfo .wikitable tr td {
border: 0;
}
.wikiInfo .wikitable tr td:nth-child(1) {
font-weight: bold;
background: #ecf0f5;
}
.wikiInfo .wikitable tr:nth-last-child(2) td {
border: 0;
}
.wikiInfo .wikitable tr:last-child {
display: none;
}
/* --------------------- Wikipedia ----------------- */
/* --------------------- Wikipedia ----------------- */
body.page-Main_Page #mp-topbanner {
body.page-Main_Page #mp-topbanner {