Template:Wy/si/ව්‍යාපෘතියේ පොදු කේත/styles.css

/** CSS placed here will be applied to all skins */
/*
[[Category:Wy/si]]
*/

/*** styles and counter for mapping listings ***/
@media screen {
    .printonly { display:none !important; }
}

@media screen, print {
    span.listing-map {
        color: white;
        font-size: 0.85em;
        font-family: Arial,Verdana,sans-serif;
        padding: 0pt 0.1em 0pt 0.35em;
    }

    h2 { counter-reset: mapnumber; }
    span.listing-map:before {
        content: counter(mapnumber);
        counter-increment: mapnumber;
    }

    body { counter-reset: generalnumber; }
    span.listing-map.listing-general:before {
        content: counter(generalnumber);
        counter-increment: generalnumber;
    }
}

/* Hide sitenotice on Main Page */
body.page-Main_Page #siteNotice { 
       display:none; 
} 

/* Don't display some stuff on Main Page */
body.page-Main_Page #deleteconfirm,
body.page-Main_Page #t-cite,
body.page-Main_Page #footer-info-lastmod,
body.page-Main_Page.action-view #siteSub,
body.page-Main_Page.action-view #contentSub,
body.page-Main_Page.action-view h1.firstHeading {
    display: none !important;
}

/* Styling for Abuse Filter tags */
.mw-tag-markers {
    font-family:sans-serif;
    font-style:italic;
    font-size:90%;
}

/* Hide page title on Wikivoyage:Tourist Office */
body.page-Wikivoyage_Tourist_Office h1#firstHeading { display:none; 
}
 
#DoM {
 background: transparent;
 padding: 0;
}

/* This section supports templates for the WMC migration.
 * Sourced from http://en.wikipedia.org/wiki/MediaWiki:Common.css on 28 Oct 2012.
 * Should not need to be copied later, and can be removed after migration is complete.
 */
th.mbox-text,td.mbox-text{border:none;width:100%;padding:.25em .9em;}
td.mbox-image{border:none;text-align:center;padding:2px 0 2px .9em;}
td.mbox-imageright{border:none;text-align:center;padding:2px .9em 2px 0;}
td.mbox-empty-cell{border:none;width:1px;padding:0;}
.mbox-text{display:block;margin:0 -.5em;}
.mbox-inside{margin:4px;}

/* Suppress numbering of items in TOC */
.tocnumber { display: none; }

/* Main page */
.portal-column-left {
width: 40%;
text-align: center;
}

/* Hide title on Main Page */
body.page-Main_Page h1.firstHeading {
  display: none;
}

/* Travellers' pub TOC, widen */
body.page-Wikivoyage_Travellers_pub div#toctitle {
  width:30em;
}

#mobileworld img {
 max-width: 100%;
 height: auto;
}

/* DEMO: for Main_Page/Sandbox */
body.page-Main_Page_Sandbox #deleteconfirm,
body.page-Main_Page_Sandbox #t-cite,
body.page-Main_Page_Sandbox #footer-info-lastmod,
body.page-Main_Page_Sandbox.action-view #siteSub,
body.page-Main_Page_Sandbox.action-view #contentSub,
body.page-Main_Page_Sandbox.action-view h1.firstHeading {
    display: none !important;
}

#toc > ul {padding-left: 2em;}

.mf-mobile-only {
    display: none;
}

/* BEGIN styles for pagebanner extension */
.oo-ui-icon-unesco, .oo-ui-icon-unesco_whs {
	background-image: url('https://upload.wikimedia.org/wikipedia/commons/b/b1/WorldHeritageBlanc.svg');
}
.oo-ui-icon-unesco_ich {
	background-image: url('https://upload.wikimedia.org/wikipedia/commons/c/c4/UNESCO-ICH-white.svg');
}
.oo-ui-icon-unesco_gg {
	background-image: url('https://upload.wikimedia.org/wikipedia/commons/f/f0/Global_Geopark_simple.png');
}
.oo-ui-icon-unesco_cc {
	background-image: url('https://upload.wikimedia.org/wikipedia/commons/5/5a/UNESCO_white_logo.svg');
}
.oo-ui-icon-unesco_br {
	background-image: url('https://upload.wikimedia.org/wikipedia/commons/7/75/Man_and_the_Biosphere_Programme_Logo.svg');
}
.oo-ui-icon-star {
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/e/e7/Cscr-featured.svg');
}
.oo-ui-icon-ftt {
     background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/b/b0/Writing_Circle.svg/25px-Writing_Circle.svg.png');
}
.oo-ui-icon-dotm {
     background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/5/50/Yes_Check_Circle.svg/25px-Yes_Check_Circle.svg.png');
}
.oo-ui-icon-otbp {
     background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/6/6e/Right_turn_icon_blue.svg/25px-Right_turn_icon_blue.svg.png');
}
.ext-wpb-pagebanner li.toclevel-1 {
	padding: 0 0 0 0.4em;
}
.ext-wpb-pagebanner li.toclevel-1 > a:after {
    content: " ·";
    font-weight: bold;
    padding: 0 0 0 0.1em;
}
.ext-wpb-pagebanner li.toclevel-1:last-child > a:after {
    content: none;
}
.ext-wpb-pagebanner h1.wpb-name {
    font-family: sans-serif;
    border-bottom: none;
}
.ext-wpb-pagebanner {
	clear: both;
}
.wpb-banner-toc .toctext { display: inline; }
/* END styles for pagebanner extension */

/* Infobox templates */
.infobox {
   border: 1px solid #aaa;
   background-color: #f9f9f9;
   color: black;
   margin-bottom: 0.5em;
   margin-left: 1em;
   padding: 0.2em;
   float: right;
   clear: right;
}
.infobox td,
.infobox th {
   vertical-align: middle;
}
.infobox caption {
   font-size: larger;
   margin-left: inherit;
}
.infobox.bordered {
   border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
   border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
   border: 0 solid #aaa;
}

 
/* CSS for black text external links / blue text on hover */
body.ns-0 #content a.external,
body.ns-0 #content a.external:visited,
body.page-Wikivoyage_External_links #content a.external,
body.page-Wikivoyage_External_links #content a.external:visited,
body.page-Wikivoyage_talk_External_links #content a.external,
body.page-Wikivoyage_talk_External_links #content a.external:visited,
body.page-Wikivoyage_Listings #content a.external,
body.page-Wikivoyage_Listings #content a.external:visited,
body.page-Wikivoyage_talk_Listings #content a.external,
body.page-Wikivoyage_talk_Listings #content a.external:visited,
body.page-Wikivoyage_talk_Attraction_listings #content a.external,
body.page-Wikivoyage_talk_Attraction_listings #content a.external:visited,
body.page-Wikivoyage_talk_Activity_listings #content a.external,
body.page-Wikivoyage_talk_Activity_listings #content a.external:visited,
body.page-Wikivoyage_talk_Restaurant_listings #content a.external,
body.page-Wikivoyage_talk_Restaurant_listings #content a.external:visited,
body.page-Wikivoyage_talk_Bar_listings #content a.external,
body.page-Wikivoyage_talk_Bar_listings #content a.external:visited,
body.page-Wikivoyage_talk_Shopping_listings #content a.external,
body.page-Wikivoyage_talk_Shopping_listings #content a.external:visited,
body.page-Wikivoyage_talk_Accommodation_listings #content a.external,
body.page-Wikivoyage_talk_Accommodation_listings #content a.external:visited,
body.page-Wikivoyage_Don_t_tout #content a.external,
body.page-Wikivoyage_Don_t_tout #content a.external:visited
{
    color: var( --color-base, #252525 );
}
body.ns-0 #content a.external:hover,
body.ns-0 #content a.external:focus,
body.page-Wikivoyage_External_links #content a.external:hover,
body.page-Wikivoyage_External_links #content a.external:focus,
body.page-Wikivoyage_talk_External_links #content a.external:hover,
body.page-Wikivoyage_talk_External_links #content a.external:focus,
body.page-Wikivoyage_Listings #content a.external:hover,
body.page-Wikivoyage_Listings #content a.external:focus,
body.page-Wikivoyage_talk_Listings #content a.external:hover,
body.page-Wikivoyage_talk_Listings #content a.external:focus,
body.page-Wikivoyage_talk_Attraction_listings #content a.external:hover,
body.page-Wikivoyage_talk_Attraction_listings #content a.external:focus,
body.page-Wikivoyage_talk_Activity_listings #content a.external:hover,
body.page-Wikivoyage_talk_Activity_listings #content a.external:focus,
body.page-Wikivoyage_talk_Shopping_listings #content a.external:hover,
body.page-Wikivoyage_talk_Shopping_listings #content a.external:focus,
body.page-Wikivoyage_talk_Restaurant_listings #content a.external:hover,
body.page-Wikivoyage_talk_Restaurant_listings #content a.external:focus,
body.page-Wikivoyage_talk_Bar_listings #content a.external:hover,
body.page-Wikivoyage_talk_Bar_listings #content a.external:focus,
body.page-Wikivoyage_talk_Accommodation_listings #content a.external:hover,
body.page-Wikivoyage_talk_Accommodation_listings #content a.external:focus,
body.page-Wikivoyage_Don_t_tout #content a.external:hover,
body.page-Wikivoyage_Don_t_tout #content a.external:focus
{
    color: var( --color-base--hover, #0645ad );
}

/* BEGIN Map caption - used with MapExpander JS */
.map-expand-link {
	float: right;
	margin-left: 1.5em;
}

/* BEGIN Template:Listing CSS */
.listing-metadata {
	font-size: 0.8em;
}
/* this style should match span.vcard-edit-button a */
.listing-lastedit {
	color: rgb(150,150,150);
}
/* END Template:Listing CSS */

/* BEGIN: style used on the Destinations page */
.rounded-blue-section-heading {
	background-color: #cedff2;
	border-radius: 15px;
	clear:both;
	color: black;
	font-weight: bold;
	margin: 0 8% 1em;
	padding: .5em 1em;
	text-align: center;
	vertical-align: middle;
}
/* END: style used on the Destinations page */

/* CSS for article status templates, eg Usablecity, Guidepark */
.article-status {
 width: 60%;
 background: #fff;
 margin: 0 auto;
 border: solid 2px lightblue;
 text-align: center;
 font-size:90%;
 font-style:italic;
}

html.skin-theme-clientpref-night .article-status {
	background: inherit;
}

@media (prefers-color-scheme: dark) {
    /* automatic mode */
    .rounded-blue-section-heading,
    html.skin-theme-clientpref-os .article-status {
      	background: inherit;
    }
}


/* BEGIN: CSS for Template:Dead link (display managed via the ErrorHighlighter gadget) */
.error-deadlink {
    color: red;
    background: yellow;
    display: none;
    white-space: nowrap;
}
/* END: CSS for Template:Dead link */

#mw-indicator-GPX { display: none; }

/* BEGIN: User:Wrh2/Sandbox test */
.page-User_Wrh2_Sandbox .ext-wpb-pagebanner .wpb-topbanner .wpb-name {
	width: 35%;
	font-size: 2.5vw;
}
@media screen and (min-width: 768px) {
	.page-User_Wrh2_Sandbox .wpb-banner-toc {
		padding: 0.1vw 1vw;
	}
}
/* END: User:Wrh2/Sandbox test */

/* Additional Kartographer styles */

.mw-kartographer-container.thumb:not(.mw-kartographer-full) .thumbinner > .mw-kartographer-map {
 border: 1px solid #ccc;
 box-sizing: border-box;
}

.wv-staticMap {
 position: relative;
 left: -3px;
 margin-top: 3px;
}

/* Fix problem with banner overlay */
div.toctitle {display:none;}

/* Push indicators to the front */
.mw-indicators {
  z-index: 2;
}