MediaWiki:Common.css: Difference between revisions

From FrathWiki
Jump to navigationJump to search
(Added gloss class for blog style tooltips)
mNo edit summary
Line 50: Line 50:
}
}


.bluetable { border: 1px solid #88a; }
.bluetable .bg1, .blueinfobox .bg1, .lightbluebg { background: #f8f8ff; }
.graytable { border: 1px solid #999; }
.graytable .bg1, .grayinfobox .bg1, .lightgraybg { background: #f8f8f8; }


.bluetable td, .bluetable th, .graytable td, .graytable th {
.blueborder { border: 1px solid #88a; }
  padding: 2px;
.grayborder { border: 1px solid #999; }
 
.bluetable .bg2, .blueinfobox .bg2 { background: #eef; }
.bluetable .bg3, .blueinfobox .bg3 { background: #ddf; }
.bluetable .bg4, .blueinfobox .bg4 { background: #ccf; }
 
.graytable .bg2, .grayinfobox .bg2 { background: #f0f0f0; }
.graytable .bg3, .grayinfobox .bg3 { background: #e1e1e1; }
.graytable .bg4, .grayinfobox .bg4 { background: #d2d2d2; }
 
.bluetable, .graytable, .blueinfobox, .grayinfobox { border-collapse: collapse; }
.blueinfobox, .grayinfobox {  
float: right;
margin: 0 0 0.5em 0.5em;
}
}
.blueinfobox { background: #f8f8ff; }
.grayinfobox { background: #f8f8f8; }
.bluetable, .blueinfobox { border: 1px solid #88a; }
.graytable, .grayinfobox { border: 1px solid #999; }
.bluetable td, .bluetable th, .blueinfobox td, .blueinfobox th { border: 1px solid #88a; }
.graytable td, .graytable th, .graytable td, .graytable th { border: 1px solid #999; }


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


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


.bluetable th:first-child, .graytable th:first-child {
.bluetable th:first-child, .graytable th:first-child, .blueinfobox th, .grayinfobox th { text-align: right; }
  text-align: right;
 
}
.bluetable .divider, .blueinfobox .divider, .bluetable .header, .blueinfobox .header,
.graytable .divider, .grayinfobox .divider, .graytable .header, .grayinfobox .header { text-align: center !important; }
.bluetable .header, .bluetable .divider, .blueinfobox .header { background: #ccf; }
.graytable .header, .graytable .divider, .grayinfobox .header { background: #d2d2d2; }
 
.blueinfobox .divider { background: #eef; }
.grayinfobox .divider { background: #f0f0f0; }
 
.l { text-align: left; }
.c { text-align: center; }
.r { text-align: right; }
 
.t td, .t th { vertical-align: top; }
.m td, .m th { vertical-align: center; }
.b td, .b th { vertical-align: bottom; }





Revision as of 07:07, 2 May 2008

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

/* prevent ugly horizontal page expansion */
/* stolen from mediawiki.org */
pre { overflow: auto; }

.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 .bg1, .blueinfobox .bg1, .lightbluebg { background: #f8f8ff; }
.graytable .bg1, .grayinfobox .bg1, .lightgraybg { background: #f8f8f8; }

.blueborder { border: 1px solid #88a; }
.grayborder { border: 1px solid #999; }

.bluetable .bg2, .blueinfobox .bg2 { background: #eef; }
.bluetable .bg3, .blueinfobox .bg3 { background: #ddf; }
.bluetable .bg4, .blueinfobox .bg4 { background: #ccf; }

.graytable .bg2, .grayinfobox .bg2 { background: #f0f0f0; }
.graytable .bg3, .grayinfobox .bg3 { background: #e1e1e1; }
.graytable .bg4, .grayinfobox .bg4 { background: #d2d2d2; }

.bluetable, .graytable, .blueinfobox, .grayinfobox { border-collapse: collapse; }
.blueinfobox, .grayinfobox { 
	float: right;
	margin: 0 0 0.5em 0.5em;
}
.blueinfobox { background: #f8f8ff; }
.grayinfobox { background: #f8f8f8; }

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

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

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

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

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

.bluetable .divider, .blueinfobox .divider, .bluetable .header, .blueinfobox .header,
.graytable .divider, .grayinfobox .divider, .graytable .header, .grayinfobox .header { text-align: center !important; }
.bluetable .header, .bluetable .divider, .blueinfobox .header { background: #ccf; }
.graytable .header, .graytable .divider, .grayinfobox .header { background: #d2d2d2; }

.blueinfobox .divider { background: #eef; }
.grayinfobox .divider { background: #f0f0f0; }

.l { text-align: left; }
.c { text-align: center; }
.r { text-align: right; }

.t td, .t th { vertical-align: top; }
.m td, .m th { vertical-align: center; }
.b td, .b th { vertical-align: bottom; }


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 */

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

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

table.aligntop  td, table.aligntop  th {vertical-align: top ! important; }

span.nobreak	{ white-space: nowrap;}

span.gloss[title] { border-bottom-width: thin;
border-bottom-style: dashed;
border-bottom-color: #999;
  }

/* </pre> */