MediaWiki: Common.css

De la alegeri.md
Salt la: navigare, căutare

Notă: După salvare, trebuie să treceți peste memoria cache a navigatorului pentru a putea vedea modificările:

  • Firefox / Safari: țineți apăsat pe Shift în timp ce faceți clic pe Reîncărcare ori apăsați Ctrl-F5 sau Ctrl-R (⌘-R pe un sistem Mac);
  • Google Chrome: apăsați Ctrl-Shift-R (⌘-Shift-R pe un sistem Mac);
  • Internet Explorer: țineți apăsat pe Ctrl în timp ce faceți clic pe Reîmprospătare sau apăsați Ctrl-F5;
  • Opera: Mergeți la Meniu → Setări (Opera → Preferințe pe un sistem Mac) și apoi la Confidențialitate & securitate → Șterge istoricul de navigare → Imagini și fișiere memorate în cache.
/* CSS placed here will be applied to all skins */

#mw-head .navbar-brand {font-family:Tahoma,Helvetica,Arial,sans-serif; font-size:20px; font-weight:bold; width:160px; background-image:url('/images/logo-alegeri-md.svg'); background-repeat:no-repeat; padding-left:28px}

span.err, div.err {background-color:yellow}
span.errv, div.errv {background-color:#eeffdd}

table.mandate {width:100%}
table.mandate td {border:1px solid #fff; text-align:center; color:#999; font-size:12px}

table.mandate td.pdm, table.mandate td.psrm, table.mandate td.pl, table.mandate td.ppem, table.mandate td.pcrm, table.mandate td.pldm {height:10px; width:3.3%}

table.mandate td.psrm2014, table.mandate td.pldm2014, table.mandate td.pcrm2014, table.mandate td.pdm2014, table.mandate td.pl2014, table.mandate td.psrm2019, table.mandate td.pdm2019, table.mandate td.acum2019, table.mandate td.pps2019, table.mandate td.ci {width:4%; height:10px}

table.mandate td.psrm, table.mandate td.psrm2014, table.mandate td.psrm2019 {background-color:#ff5557}
table.mandate td.pldm, table.mandate td.pldm2014 {background-color:#1a460a}
table.mandate td.pcrm, table.mandate td.pcrm2014 {background-color:#c82128}
table.mandate td.pdm, table.mandate td.pdm2014, table.mandate td.pdm2019 {background-color:#273173}
table.mandate td.pl, table.mandate td.pl2014 {background-color:#8cd7f6}
table.mandate td.acum2019 {background-color:#efc41d}
table.mandate td.pps2019 {background-color:#009846}
table.mandate td.ci {background-color:#ccc}
table.mandate td.ppem {background-color:#0053a5}

/** CSS plasate aici vor fi aplicate tuturor aparițiilor */
@media (max-width: 990px) {
  .myinfo {
    padding-left: 0;
  }
}

@media (max-width: 780px) {
  #mw-head .navbar-brand {
    margin-left: auto !important;
  }
  h1 {
     font-size:30px;
  }
  h2 {
     font-size:26px;
  }
  h3 {
     font-size:20px;
  }

table.table td div.hidden-mobile, table.table th div.hidden-mobile, span.law {display:none}
div.hlink {margin-top:-0.8em}
#sidebar-left a.btn {display:none}

}
/**
.navbar-inverse {
  background-image: linear-gradient(to bottom,#F52C39 0,#C8000C 100%);
  background-color: #C8000C;
  border-color: rgba(0,0,0,.28);
}
.navbar-inverse .navbar-nav > li > a {
  color: rgba(255,255,255, .85);
} */


h1 {
  font-size:34px;
}
h1#firstHeading1 {margin-top:-4px}

#content {
  padding-left:0;
  padding-right:0;
}
#mw-head .navbar-brand {
  margin-left: -15px;
  color: #fff;
}
#tweekiTOC {
  margin: 0 -5px;
}
.toctitle h2 {
  padding-left: 5px;
}
.firstHeading {
  padding-bottom: 10px;
}

blockquote.info { 
  padding: 0;
  margin: 0 0 20px 0;
  font-size: 17.5px;
  border-left: none;
}
.myinfo {
  margin-left: 7px;
  padding-right: 0;
padding-top:5px
}

/** Дополнения */
div.panel-heading {text-align:center}
table.table-condensed caption {padding-top:3px; color:#333; font-weight:bold}
div.topinfo {padding:0}
div.topinfo .panel-body {padding-bottom:0}
div.topinfo .panel, div.topinfo .panel-heading {border-color:#6fada9}
div.topinfo .panel-heading a {font-size:18px}
.mw-parser-output ul {margin-left:3em}
.mw-parser-output ol li.last {margin-bottom:1ex}
span.mw-redirectedfrom {display:none}
.tab-content li {text-align:left !important}
sup.reference {margin-left:2px}
#sidebar-left a.btn {display:none; text-align:left; background:none; border:none; border-radius:0; white-space:normal; width:auto; outline:0; box-shadow:none; -webkit-box-shadow:none; text-shadow:none; padding:0; color:#999; line-height:120%; margin-bottom:-1.5em; margin-top:-17px}
#sidebar-left a.btn:hover {color:#337ab7; text-decoration:underline}
.toctitle h2 a {font-size:11px !important}
div.mysmall div.panel-heading, div.mysmall div.panel-footer {padding:6px}
span.reference-text span.plainlinks {padding-left:0}

/** Графики */
div.gcr {border-radius:2px; background-color:#daa520; height:6px}
table.table th.gcr, table.table td.gcr {border-bottom:2px solid #daa520}
div.gpar {border-radius:2px; background-color:#6fada9; height:6px}
table.table th.gpar, table.table td.gpar {border-bottom:2px solid #6fada9}
div.gparuni {border-radius:2px; background-color:#dc8255; height:6px}
div.gparuni2 {border-radius:2px; background-color:#eab499; height:6px}
table.table th.gparuni, table.table td.gparuni {border-bottom:2px solid #dc8255}
div.gbascan {border-radius:2px; background-color:#c8a2c8; height:6px}
div.gbascan2 {border-radius:2px; background-color:#e0cde0; height:6px}
table.table th.gbascan, table.table td.gbascan {border-bottom:2px solid #c8a2c8}
div.grate {border-radius:2px; background-color:#9bbb59; height:6px}
div.grate2 {border-radius:2px; background-color:#cadaa8; height:6px}
table.table th.grate, table.table td.grate {border-bottom:2px solid #9bbb59}
div.baniplus {border-radius:2px; background-color:#639400; height:6px}
div.baniminus {border-radius:2px; background-color:#c33; height:6px}
table.table th.baniplus, table.table td.baniplus {border-bottom:2px solid #639400}
table.table th.baniminus, table.table td.baniminus {border-bottom:2px solid #c33}
div.gmandat {border-radius:2px; background-color:#aa5758; height:6px}
table.table th.gmandat, table.table td.gmandat {border-bottom:2px solid #aa5758}
div.garea {border-radius:2px; background-color:#a67d69; height:6px}
table.table th.garea, table.table td.garea {border-bottom:2px solid #a67d69}
div.gplus {border-radius:0}
div.gright {border-top-right-radius:2px; border-bottom-right-radius:2px}
div.gleft {border-top-left-radius:2px; border-bottom-left-radius:2px}
div.gcombo {height:5px}

/** Новые классы */
blockquote1.note {font-size:14px; font-style:italic1; padding:0 0 0 12px; margin-bottom:1em; color:#666; border-left:2px solid #ddd}
blockquote.note {font-size:14px; padding:0.5em 1em; margin-bottom:1em; color:#666; border:1px solid #ddd; border-radius:4px; background-color:#f9f9f9}
blockquote.q {font-style:italic; font-size:15px; padding:0 0 0 12px; margin-bottom:1em; position:relative; border-left:2px solid #ddd; margin-left:24px}
blockquote.q:before {content:"\201C"; font-family:serif; position:absolute; left:-24px; top:-5px; color:#c00; font-size:30px; text-shadow:1px 2px 0 white}
blockquote.q:before, blockquote.q sup, div.q {font-style:normal}
blockquote.speech {font-size:14px; font-style:normal}
div.q {color:#999; text-align:right; margin-top:-1.2em}
.grey, tr.grey td, .smw-columnlist-container .smw-column-responsive li {color:#999}
.lgrey {color:#ccc}
hr {background-color:#ddd !important; color:#ddd !important; margin: .5em 0 !important}
.myinfo1 .table td hr, table.myhr td hr {background-color:#999 !important; color:#999 !important}
div.green, table.h2px td.active {background-color:#639400}
td.green, span.green, big.green {color:#339933}
div.red, div.parlament {background-color:#c00}
td.red, span.red {color:#c00}
div.grey {background-color:#999}
div.raion {background-color:#daa520}
div.oras {background-color:#1a68ae}
div.primar {background-color:#ee82ee}
span.local {border-bottom:1px dashed #ccc; text-decoration:none}
span.local:hover {border-bottom:none}
span.redlink a {color:#c00}
table.vmid td {vertical-align:middle !important}
table tr.bordertopnone td, table tr.bordertopnone th {border-top:none}
table tr.bordertoptotal td, table tr.bordertoptotal th {border-top:1px solid #999}
div.hlink {margin-top:-0.6em; margin-bottom:1em; color:#999; position:relative; margin-left:0.9em}
div.hlink {line-height:100%}
div.hlink:before {content:"\21B3"; color:#999; font-size:16px; position:absolute; top:-3px; left:-0.9em}
div.photo-center img, div.photo-center small {padding-top:0.5em; display:block; margin-left:auto; margin-right:auto; width:800px}
span.law {position:absolute; color:#fff; left:20px; top:6px; font-size:30px; text-shadow:1px 2px 0 #ddd}
table tr.mystriped td, table tr.mystriped th {background-color:#f9f9f9}
table tr.white td {background-color:#fff}
div.br {clear:both; font-size:1px}
span.lang {margin-left:5px; background-color:#999; color:#fff; padding:1px 2px; font-size:12px}
div.mynav {padding:0; color:#999}
div.mynav table {width:100%}
div.mynav td {padding:3px 5px 0 5px}
table.table td.pr20 {text-align:right; padding-right:20px}

div.traseism1, div.traseism2, div.traseism3, div.traseism4, div.traseism5 {background-repeat:repeat-y; background-position:right; padding-right:15px}
div.traseism1 {background-image:url('data:image/gif;base64,R0lGODlhAQABAIAAAN3d3QAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==')}
div.traseism2 {background-image: url('data:image/gif;base64,R0lGODlhAwABAIAAAP///93d3SH5BAAAAAAALAAAAAADAAEAAAICDFIAOw==')}
div.traseism3 {background-image:url('data:image/gif;base64,R0lGODlhBQABAIAAAP///93d3SH5BAAAAAAALAAAAAAFAAEAAAIDDBwFADs=')}
div.traseism4 {background-image:url('data:image/gif;base64,R0lGODlhBwABAIAAAP///93d3SH5BAAAAAAALAAAAAAHAAEAAAIDDIwFADs=')}
div.traseism5 {background-image:url('data:image/gif;base64,R0lGODlhCQABAIAAAP///93d3SH5BAAAAAAALAAAAAAJAAEAAAIDDIxXADs=')}

table.stats {width:100%}
table.stats td {padding:0; margin:0; border:0; height:6px !important}
table.h2px td {height:1px !important; background-color:#f9f9f9}
table.h2px td {border-right:1px solid #fff}
table.h2px td.parlament {background-color:#c00; border-right:1px solid #ddd}
table.h2px td.active {border-right:1px solid #ddd}

div.personpost {padding:0}
div.personpost table td {padding:5px}
div.personpost div.post {text-align:center; background-color:#f8f8f8; padding:5px 15px; border-top:1px solid #ddd}
div.personpost div.postb {border-bottom:1px solid #ddd; padding:6px 15px}
div.personpost div.postdate {padding:10px 15px 5px 15px}

div.panel-body table.table-condensed td p, table.partid-bop td p, table.nop th p, table.nop td p {display:none} /** скрыть пустоты в инфокассете */

/** ссылка на архив в сносках
//<span class="plainlinks">[https://web.archive.org/ arhivat<small class='glyphicon glyphicon-folder-open'></small>]</span> */
#bodyContent .plainlinks a {color:#999; font-size:13px}
.plainlinks .glyphicon, .references span.plainlinks {padding-left:5px}
.plainlinks .glyphicon {color:#bbb}

table.infocaseta-alegeri {width:100%}
table.infocaseta-alegeri td {text-align:center}
table.infocaseta-alegeri td.photo img {border:1px solid #ddd}

table.partid-bop tr.aligncenter td {text-align:center}
table.partid-bop tr.graf td {vertical-align:bottom; height:200px}
table.partid-bop tr.graf td div {width:10px}
table.partid-bop tr.graf100 td {vertical-align:bottom; height:70px; padding:0}
table.partid-bop tr.y2014 td {width:1.92%}
table.partid-bop tr.y2010 td {width:2.08%}
table.partid-bop tr.graf100 td div {opacity:0.5}
table.partid-bop tr.graf100 td div:hover {opacity:1.0}
table.partid-bop td.grey {color:#333}

/** paragraph */
.mw-parser-output p, .mw-parser-output dd, table.table-text td, .mw-parser-output ul li, .mw-parser-output ol li {text-align:justify}
div.aleft p {text-align:left}
.panel .panel-body p {text-align:left}

#catlinks {display:block; color:#fff; margin-top:2em}
#catlinks #mw-normal-catlinks ul:before {content:"Categorii"; position:absolute; margin-left:-1ex; margin-top:-2.1em; color:#555}
#catlinks a {display:none}
#catlinks #mw-normal-catlinks {border-top:1px solid #ddd; margin-top:1em; padding-top:7px}
#catlinks #mw-normal-catlinks ul a {display:inline-block}
#catlinks #mw-normal-catlinks ul {color:#ccc}
#catlinks #mw-normal-catlinks ul li:first-child {margin-left:-0.9em}

#catlinks {
   background-color: transparent;
   border: none;
   padding-left: 0;
}





/* Change the external link icon to an Adobe icon for all PDF files */
div#content span.pdf a,
div#content a[href$=".pdf"],
div#content a[href*=".pdf?"],
div#content a[href*=".pdf#"],
div#content a[href$=".PDF"],
div#content a[href*=".PDF?"],
div#content a[href*=".PDF#"],
div#mw_content a[href$=".pdf"],
div#mw_content a[href*=".pdf?"],
div#mw_content a[href*=".pdf#"],
div#mw_content a[href$=".PDF"],
div#mw_content a[href*=".PDF?"],
div#mw_content a[href*=".PDF#"] {
	background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
	/* @noflip */
	padding-right: 18px;
}

div#content a[href$=".doc"],
div#content a[href$=".docx"] {
	background: url("//upload.wikimedia.org/wikipedia/commons/9/9e/Microsoft_Office_Word_%282000%E2%80%9302%29.svg") no-repeat right;
	/* @noflip */
	padding-right: 18px; background-size:14px
}