MediaWiki:Common.css
OBS: Efter att du sparat dina ändringar måste du tömma datorns cacheminne för att se ändringarna: Mozilla: klicka Reload (eller Ctrl-R), IE / Opera: Ctrl-F5, Safari: Cmd-R, Konqueror Ctrl-R.
/* CSS som skrivs här påverkar alla skal */
@import url('//sv.wikivoyage.org/w/index.php?title=Användare:Andyrom75/Pagebanner.css&action=raw&ctype=text/css');
@import url('//it.wikivoyage.org/w/index.php?title=MediaWiki:Quickbar.css&action=raw&ctype=text/css');
@import url('//it.wikivoyage.org/w/index.php?title=MediaWiki:Listing-map.css&action=raw&ctype=text/css');
/* Tab as 4 blanks in accord to [[Phabricator:T59824]] & [[Phabricator:T59825]] */
div.mw-geshi div, div.mw-geshi div pre, span.mw-geshi,
pre.source-css, pre.source-javascript, pre.source-lua {
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
}
/*Wrap long text */
pre.source-javascript,
pre.source-css
{
white-space:-moz-pre-wrap;
white-space:-o-pre-wrap;
white-space:pre-wrap;
word-wrap:break-word;
}
#geoCoord table, #geoCoordOld table {
border-collapse: collapse;
background: transparent;
}
#geoCoord td, #geoCoordOld td {
font-size: 0.9em;
line-height: 100%;
vertical-align: middle;
padding: 0 0 0 10px;
text-align: right;
border-left: 1px solid #88a;
}
#geoCoord td.icon, #geoCoordOld td.icon {
border-left: none;
height: 27px;
width: 35px;
padding: 0 10px 0 0;
}
/***** slut på geografirelaterat */
/* mall för kvalitetsmallar */
table.ambox {
margin: 0 10%; /* Will not overlap with other elements */
border-collapse: collapse;
background: #fbfbfb;
border: 1px solid #aaa;
border-left: 10px solid #608ec2; /* Default "notice" blue */
}
table.ambox th.ambox-text, table.ambox td.ambox-text { /* The message body cell(s) */
padding: .25em .5em; /* 0.5em left/right */
width: 100%; /* Make all templates the same width regardless of text size */
}
table.ambox td.ambox-image { /* The left image cell */
padding: 2px 0 2px .5em; /* 0.5em left, 0px right */
text-align: center;
vertical-align: middle;
}
table.ambox td.ambox-imageright { /* The right image cell */
padding: 2px 4px 2px 0; /* 0px left, 4px right */
text-align: center;
vertical-align: middle;
}
table.ambox-notice {
border-left: 10px solid #608ec2; /* Blue */
/* border-right: 10px solid #608ec2; */ /* If you want two blue bars */
}
table.ambox-delete,
table.ambox-serious {
border-left: 10px solid #b22222; /* Red */
}
table.ambox-content {
border-left: 10px solid #f28500; /* Orange */
}
table.ambox-style {
border-left: 10px solid #f4c430; /* Yellow */
}
table.ambox-merge {
border-left: 10px solid #9932cc; /* Purple */
}
table.ambox-protection {
border-left: 10px solid #bba; /* Gray */
}
table.ambox.ambox-mini { /* small floating box variant */
float: right;
clear: right;
margin-left: 1em;
width: 25%;
}
.ambox + .ambox, .topbox + .ambox, .ambox + .topbox{
border-top-width:0;
}
/* Fix pagebanner */
.toctitle {display:none;}