MediaWiki:Common.css: Διαφορά μεταξύ των αναθεωρήσεων

Από Βικιθήκη
Περιεχόμενο που διαγράφηκε Περιεχόμενο που προστέθηκε
Dada (συζήτηση | Συνεισφορά)
Χωρίς σύνοψη επεξεργασίας
Dada (συζήτηση | Συνεισφορά)
Undo revision 19483 by Dada (Talk)
Γραμμή 1: Γραμμή 1:
.polytonic {
.polytonic {
font-family: Palatino Linotype, Arial Unicode MS, Lucida Sans Unicode, Lucida Grande, Code2000;
font-family: Athena, Gentium, Palatino Linotype, Arial Unicode MS, Lucida Sans Unicode, Lucida Grande, Code2000;
font-family /**/:inherit;
font-family /**/:inherit;
}
}

Αναθεώρηση της 23:38, 11 Απριλίου 2007

.polytonic {
font-family: Athena, Gentium, Palatino Linotype, Arial Unicode MS, Lucida Sans Unicode, Lucida Grande, Code2000;
font-family /**/:inherit;
}

/*Add formatting to make sure that "external references" from [[Template:Ref]] do not get URL expansion, not even when printed. The mechanism up to MediaWiki 1.4 was that the HTML code contained a SPAN following the anchor A; this SPAN had the class "urlexpansion",  which was not displayed on screen, but was shown when the medium was "print". The rules below ensure (a) that there is no extra adding to the right of the anchor (displayed as "[<number>]"), (b) that there is no "external link arrow" for the link, and (c) that this SPAN of class "urlexpansion" is never shown. */

.plainlinksneverexpand {
  background: none ! important;
  padding: 0 ! important;
}

.plainlinksneverexpand .urlexpansion {
  display : none ! important;
}

/* Make sure that ext links displayed within "plainlinksneverexpand" don't get the arrow...*/

.plainlinksneverexpand a {
   background: none !important;
   padding: 0 !important
}

/* With MediaWiki 1.5, the mechanism has changed: instead of a SPAN of class "urlexpansion" following the anchor A, the anchor itself now has class "external autonumber" and the expansion is inserted when printing (see the common printing style sheet at  http://en.wikipedia.org/skins-1.5/common/commonPrint.css) using the ":after" pseudo-element of CSS. We have to switch this off for links due to Template:Ref! */

.plainlinksneverexpand a.external.text:after {
  display: none !important;
}

.plainlinksneverexpand a.external.autonumber:after {
  display: none !important;
}

/* Coloured watchlist numbers */
.mw-plusminus-pos {
  color:darkgreen;
}

.mw-plusminus-neg {
  color:darkred;
}