MediaWiki: Common.css
Pfctdayelise (talk | contribs) No edit summary |
(rm title-hiding, now done on those pages) |
||
(41 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
.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; | |||
} | |||
li#footer-info-lastmod, | |||
li#footer-info-viewcount, | |||
li#footer-places-about, | |||
li#footer-places-disclaimer { | |||
display: none !important; | |||
} | |||
div#mw-panel div.portal#p-navigation div.body { | |||
background-image:none; | |||
} | |||
#p-navigation h5 { | |||
display: none !important; | |||
} | |||
.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 !important; | |||
} | |||
/* 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; | |||
} | |||
div.rowlines-wrapper { | |||
padding:0 10px 0 10px; | |||
} | |||
span.subpages { | |||
display: none !important; | |||
} | |||
/* Main Page CSS */ | |||
body #t-cite, | |||
body #siteSub, | |||
body.page-Home.action-view #contentSub, | |||
body.page-Home.action-view #jump-to-nav { | |||
display: none !important; | |||
} | |||
/* 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 !important; | |||
} | |||
.banner-image-left img { | |||
float: left !important; | |||
} | |||
.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; | |||
} | } |
Latest revision as of 01:53, 18 June 2022
.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;
}
li#footer-info-lastmod,
li#footer-info-viewcount,
li#footer-places-about,
li#footer-places-disclaimer {
display: none !important;
}
div#mw-panel div.portal#p-navigation div.body {
background-image:none;
}
#p-navigation h5 {
display: none !important;
}
.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 !important;
}
/* 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;
}
div.rowlines-wrapper {
padding:0 10px 0 10px;
}
span.subpages {
display: none !important;
}
/* Main Page CSS */
body #t-cite,
body #siteSub,
body.page-Home.action-view #contentSub,
body.page-Home.action-view #jump-to-nav {
display: none !important;
}
/* 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 !important;
}
.banner-image-left img {
float: left !important;
}
.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;
}