MediaWiki: Common.css
(cleanup) |
(cleanup) |
||
Line 176: | Line 176: | ||
@media screen and (max-width: 750px) { | @media screen and (max-width: 750px) { | ||
iframe { | iframe { | ||
max-width: 100%; | max-width: 100%; | ||
width: auto; | width: auto; |
Latest revision as of 18:47, 28 February 2024
.nav th {
text-align: center;
background: #ECECEC;
font-weight: bold;
margin: 0 .1em 0 0;
width: 25%;
font-size: 0.925em;
-moz-border-radius: 12px 12px 12px 12px;
}
.nav th a {
padding: 1em 2em;
color: #224F82;
text-decoration: none;
}
.nav th:hover {
color: #000;
}
#footer-info-lastmod,
#footer-info-viewcount,
#footer-places-about,
#footer-places-disclaimer {
display: none;
}
#mw-panel .portal#p-navigation .body {
background-image:none;
}
#p-navigation h5 {
display: none;
}
.nowrap {
white-space: nowrap;
}
.toggle-head {
background:url(//upload.wikimedia.org/wikipedia/commons/thumb/1/1c/HW_open_arrow.svg/10px-HW_open_arrow.svg.png) no-repeat 0% center;
}
.toggle-head:hover {
text-decoration:underline;
cursor:pointer;
}
.redirect-in-category, .allpagesredirect a {
color: gray;
}
.nodisplay {
display: none;
}
/* Custom table formatting */
table.rowlines {
border-collapse:collapse;
border:2px solid #BBBDBF;
width:100%;
vertical-align:top;
}
table.rowlines th {
border-bottom:1px solid #BBBDBF;
border-top:1px solid #BBBDBF;
padding:5px;
}
table.rowlines td {
border-bottom:1px dotted #BBBDBF;
padding:5px;
}
.rowlines-wrapper {
padding:0 10px 0 10px;
}
.subpages {
display: none;
}
/* Main Page CSS */
body #t-cite,
body #siteSub,
body.page-Home.action-view #contentSub,
body.page-Home.action-view #jump-to-nav {
display: none;
}
/* Copied from Wikivoyage for scalable-width images */
@media screen and (max-width:749px) {
.banner-image {
position: relative;
overflow: hidden;
max-width: 1125px;
width: 100%;
height: auto;
margin-bottom: .6em;
text-align: center;
padding-left: 0 !important;
}
.banner-image img {
width: 100%;
height: auto;
width: auto\9;
margin:0 auto;
}
}
@media screen and (min-width:750px) {
.banner-image {
float: right;
position: relative;
overflow: hidden;
max-width: 1125px;
height: auto;
margin-bottom: .6em;
}
.banner-image img {
float: right;
width: 100%;
height: auto;
width: auto\9;
}
.banner-image-left {
float: left;
}
.banner-image-left img {
float: left;
}
.banner-image-none {
float: none !important;
}
.banner-image-none img {
float: none !important;
}
.banner-image-center {
padding-left: none !important;
float: none !important;
margin-left: auto !important;
margin-right: auto !important;
}
.banner-image-center img {
float: none !important;
}
}
.main-page-image {
position: relative;
overflow: hidden;
max-width: 1125px;
height: auto;
margin-left: -1em;
margin-right: -1.5em;
margin-bottom: .6em;
}
.main-page-image img {
width: 100%;
height: auto;
width: auto\9;
}
/* Login interface adjustments */
.mw-createacct-benefits-container {
display: none;
}
/* Median screen Iframe */
@media screen and (max-width: 750px) {
iframe {
max-width: 100%;
width: auto;
height: auto;
}
}