MediaWiki:Common.css

Bemærk, efter at have gemt, er du nødt til at tømme din browsers cache for at kunne se ændringerne. Mozilla: klik på reload (eller tryk ctrl-r), Internet Explorer / Opera: ctrl-f5, Safari: cmd-r, Konqueror: ctrl-r.

/* Common CSS for all skins */

/*<pre><nowiki>*/

/*******************************/
/* wikitable/prettytable class */
/*******************************/

/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaaaaa solid;
  border-collapse: collapse;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
  border: 1px #aaaaaa solid;
  padding: 0.2em;
}
table.wikitable th,
table.prettytable th {
  background: #f2f2f2;
  text-align: center;
}
table.wikitable caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
}

/************************/
/* CommonsTicker styles */
/************************/
 
  /* links */
  .tickerDiffLink { } /* diff links in ticker */
  .tickerMiscLink { } /* misc links in ticker */
 
  /* remove list bullets */
  .tickerList ul,    .tickerList ul li    { list-style: none; text-indent:-2em; margin-left:2em;   text-align:left; }
  .tickerList ul ul, .tickerList ul ul li { list-style: none; text-indent:0;    margin-left:1.5em; text-align:left; }

  /* per-type styles */
  .tickerEntry_deleted     { }  /* entry for image deletion */
  .tickerEntry_restored    { }  /* entry for restored image */
  .tickerEntry_replaced    { }  /* entry for image replacement */
  .tickerEntry_tagged      { }  /* entry for adding/removing problem tags */
  .tickerEntry_redir       { }  /* entry for critical redirection (fot tag redirects) */
  .tickerEntry_recat       { }  /* entry for critical re-categorization (for tag categories) */
  .tickerEntry_notify      { }  /* entry for global notifications */
  .tickerEntry_changed     { }  /* entry for generic change */

  /* per-status styles */
  .tickerStatus_done     { text-decoration:line-through; }  /* strike through when entry has been handeled */

  /* per-action styles */
  .tickerAction_deleted:before     { content:" GONE "; color: #FF0000; font-family:monospace; font-weight:bold; font-size:100%; }  
  .tickerAction_restored:before    { content:" BACK "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; }  
  .tickerAction_deletedRev:before  { content:" -OLD "; color: #DDAAAA; font-family:monospace; font-weight:bold; font-size:100%; }  
  .tickerAction_replaced:before    { content:" REPL "; color: #CC88FF; font-family:monospace; font-weight:bold; font-size:100%; }  
  .tickerAction_replacedOwn:before { content:" UPDT "; color: #EEAAFF; font-family:monospace; font-weight:bold; font-size:100%; }  
  .tickerAction_addedBad:before    { content:" +VfD "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; }  
  .tickerAction_removedBad:before  { content:" -VfD "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; }  
  .tickerAction_addedGood:before   { content:" +OK  "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; }  
  .tickerAction_removedGood:before { content:" -OK  "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; }

  /* ticker usage list */
  .tickerUsage  { font-size:80%; }  

  /* entry applies to a template used by multiple images */
  .tickerTemplateEntry    { font-weight: bold; } 

  /* entry applies to sub-entries, i.e. images that use a specific template */
  .tickerSubEntry         { }                       

  /* minor entry styles */ 
  .tickerMinorEntry  { color:#666; }     /* minor entry */
  .tickerMinorEntry a,
  .tickerMinorEntry a:link,
  .tickerMinorEntry a:visited { color:#669; }
  #bodyContent .tickerMinorEntry a.extiw,
  #bodyContent .tickerMinorEntry a.extiw:link,
  #bodyContent .tickerMinorEntry a.extiw:visited { color:#669; }

/*****************/
/* miscellaneous */
/*****************/

/* hiddenStructure class from Monobook - allows selective hiding of markup in templates */
.hiddenStructure {
   display: none;
   speak: none;
}

/* audiolink class for links with loudspeaker icon next to them - like in {{Audio}} template */
.audiolink a{
    background: url("//upload.wikimedia.org/wikipedia/commons/f/f7/Loudspeaker.png") center left no-repeat !important;
    padding-left: 16px !important;
    padding-right: 0 !important;
}

/* bookInfobox-color class - copy to your user CSS to change color */
.bookInfobox-color { background: #f0f0ff; }

/* make redirects appear as italic on [[Special:Allpages]] */
.allpagesredirect {
    font-style: italic
}

/* Messagebox templates */

.messagebox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   width: 80%;
   margin: 0 auto 1em auto;
   padding: .2em;
   text-align: justify;
}
.messagebox.merge {
   border: 1px solid #c0b8cc;
   background-color: #f0e5ff;
   text-align: center;
}
.messagebox.cleanup {
   border: 1px solid #9f9fff;
   background-color: #efefff;
   text-align: center;
}
.messagebox.standard-talk {
   border: 1px solid #c0c090;
   background-color: #f8eaba;
}

/* Do not print edit link in templates using Template:Ed
   Do not print certain classes that shouldn't appear on paper */
@media print {
    .editlink, .noprint, .metadata, .dablink, #top-navigation, .toc, .bookInfobox, .catlinks, .subpages,
    #privacy, #about, #disclaimer
    { display: none !important; }
    a { margin: auto 1px; }
}

@media screen, projection {
    .printonly { display: none !important; }
}

/* Remove padding from external links displayed without icon */
.plainlinks, .plainlinks a {background: none !important; padding: 0 ! important;}
.plainlinks .urlexpansion {display: none !important;}
.plainlinks a.external.text:after {display: none !important;}
.plainlinks a.external.autonumber:after {display: none !important;}

/*Default style for the PrettyTextBox class of templates*/
.PrettyTextBox {
    background-color: #F9F9F9; 
    color: #000000; 
    border: 1px solid #AAAAAA;
    padding: 4px; 
}

 /* DynamicNavigation aka box hiding from .de. */
 
 div.Boxmerge,
 div.NavFrame {
   margin: 0px;
   border: 1px solid #aaaaaa;
   border-collapse: collapse;
   text-align: center;
   font-size: 95%;
   clear:both;
 }
 div.Boxmerge:hover, .NavFrame:hover { 
   border:1px solid #ccccff;
 }
 div.Boxmerge div.NavFrame {
   border: 0px;
 }
 div.NavFrame + div.NavFrame {
   border-top: 0px;
 }
 div.NavPic {
   margin: 0px;
   padding: 2px;
   float: left;
 }
 div.NavFrame div.NavHead {
   padding:0.2em;
   font-weight: bold;
   font-size: 95%;
   background-color: #ccccff;
   position:relative;
 }
 div.NavFrame div.NavHead:hover {
   background-color: #aaaaff;
 }
 div.NavFrame div.NavHead .navigation {
   position:absolute;
   right:3px;
   font-weight:normal;
   font-size:smaller;
   cursor:pointer;
 }
 div.NavFrame p,
 div.NavFrame div.NavHead a,
 div.NavFrame div.NavContent,
 div.NavFrame div.NavContent p
 {
   font-size: 100%;
 }

/*
  * Navigation Tabs
  */
 
 .navtabs .tabs li { list-style:none; }
 .navtabs .tabs a {
   text-decoration:none;
   text-transform:uppercase;
   outline-width:0px;
   font-size:x-small;
   font-weight:bold;
   color:black;
 }
 
 .navtabs .tabs .inactive { background:#bbb; padding:1ex; }
 .navtabs .tabs .selected { background:#999; padding:1.1ex; }
 .navtabs .tabs .inactive:hover { background:#f75; }
 .navtabs .contents { padding:1ex; border:3px solid #999; }
 
 .DPLFlat li {
   display: inline;
   padding-right: 0.5em;
   margin-right: 0.5em;
   border-right: 1px solid #AAA;
 }
 .DPLFlat > ul > li {
   padding-right:0px;
   margin-right:0px;
   border-right:0px;
 }
 .DPLFlat li+li {
   padding-left: 0.5em;
   margin-left: 0.5em;
   border-left:1px solid #aaa;
 }

/*</nowiki></pre>*/