MediaWiki:Common.css: Difference between revisions

From FrathWiki
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 168: Line 168:
div.charinsert > a, p.charinsert > a, span.charinsert > a { text-decoration: none ! important; }
div.charinsert > a, p.charinsert > a, span.charinsert > a { text-decoration: none ! important; }


.charinsert { text-decoration: none ! important; }
div.charinsert { text-decoration: none ! important; }


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

Revision as of 06:28, 8 September 2007

/* <pre> */

body {
  font-family: Chrysanthi Unicode, Doulos SIL, Gentium, GentiumAlt, Code2000, Thryomanes, TITUS Cyberbit Basic, DejaVu Sans, Bitstream Vera Sans, Bitstream Cyberbit, Arial Unicode MS, Cardo, Free Sans, Junicode, Lucida Sans Unicode, Hiragino Kaku Gothic Pro, Matrix Unicode;
  font-family /**/:inherit;
}

/* Firefox's default table style looks like 
   an obituary notice, so we have to make it
   more wiki-like */
table, th, td { border-style: hidden;
}


.IPA {
  font-family: Chrysanthi Unicode, Doulos SIL, Gentium, GentiumAlt, Code2000, Thryomanes, TITUS Cyberbit Basic, DejaVu Sans, Bitstream Vera Sans, Bitstream Cyberbit, Arial Unicode MS, Cardo, Free Sans, Junicode, Lucida Sans Unicode, Hiragino Kaku Gothic Pro, Matrix Unicode;
  font-family /**/:inherit;
}

/* Medieval Unicode Font Initiative see <a href="http://www.mufi.info/">MUFI</a> /*
.MUFI {
  font-family: "Andron Scriptor Web", Cardo, Junicode;
  /*font-family /**/:inherit;*/
}

.sans {font-family: sans-serif;}
.red {color: red;}
.small {font-size: x-small;}
.smallcaps {font-variant: small-caps;}
.sc{font-variant: small-caps;}
.big {font-size: large;}

.morpho-label {font-variant: small-caps;}

* .grayout { background-color: gray; }

.align-top-left th {
   vertical-align: top;
   text-align: left;
}
.align-top-left td {
   vertical-align: top;
   text-align: left;
}

.bluetable, .graytable {
  border-collapse: collapse;
}

.bluetable { border: 1px solid #88a; }
.graytable { border: 1px solid #999; }

.bluetable td, .bluetable th, .graytable td, .graytable th {
  padding: 2px;
}

.bluetable td, .bluetable th { border: 1px solid #88a; }
.graytable td, .graytable th { border: 1px solid #999; }

.bluetable th { background: #ccf; }
.graytable th { background: #d2d2d2; }

.bluetable th:first-child, .graytable th:first-child {
  text-align: right;
}


table.bordertable {
	border-width: 1px;
	border-spacing: 1px;
	padding: 4px;
	border-style: solid;
	border-color: #aaa;
	border-collapse: collapse; 
}
table.bordertable td, table.bordertable th {
	border-width: 1px;
	border-spacing: 1px;
	padding: 4px;
	border-style: solid;
	border-color: #aaa;

}



table.gridtable {
	border-width: 1px;
	border-spacing: 1px;
	border-style: solid;
	border-color: #aaa;
	border-collapse: collapse;
}
table.gridtable th {
	border-width: 1px;
	padding: 4px;
	border-style: solid;
	border-color: #aaa;
	background-color: #eee;
        vertical-align: top
}
table.gridtable td {
	border-width: 1px;
	padding: 4px;
	border-style: solid;
	border-color: #aaa;
	background-color: white;
        vertical-align: top
}

table.voweltable td { text-align: center;
        vertical-align: middle;
    }
table.voweltable th { text-align: left;
        vertical-align: middle;
    }


/*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 padding 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;
}

.reference { font-family: sans-serif ! important;
 font-weight: normal ! important;
 font-style: normal ! important;
 text-decoration: none ! important;
}

/* Make charinsert links not underlined */

div.charinsert > a, p.charinsert > a, span.charinsert > a { text-decoration: none ! important; }

div.charinsert { text-decoration: none ! important; }

/* </pre> */