MediaWiki:Common.css

From FireSpeakerWiki
Revision as of 23:59, 29 December 2012 by Firespeaker (talk | contribs)
Jump to navigationJump to search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/** CSS placed here will be applied to all skins */
.masc {
   background-color: #77aaff;
}
.fem {
   background-color: pink;
}
.neut {
   background-color: yellow;
}
.fempl {
   background-color: #FF00F1;
}
.nogender {
   background-color: white;
}
blockquote {
	padding: 1em;
	border: 1px dashed #2f6fab;
	color: black;
	background-color: #f9f9f9;
	/* line-height: 1.1em; */
}
.tbl {
	border: 1px solid black;
	border-collapse: collapse;
}

.tbl td,th {
	border: 1px solid black;
	padding: 0.1em;
}

.tbl td {
	text-align: center;
}

/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable,
table.centretable {
    margin: 1em 1em 1em 0;
    background: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse;
}

table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td,
table.centretable th, table.centretable td {
    border: 1px #aaa solid;
    padding: 0.2em;
}

table.centretable td {
    text-align: center;
}

table.wikitable th,
table.prettytable th,
table.centretable th {
    background: #f2f2f2;
    text-align: center;
}

table.wikitable caption,
table.prettytable caption,
table.centretable caption {
    margin-left: inherit;
    margin-right: inherit;
    font-weight: bold;
}

table.prettytable code,
table.wikitable code,
table.centretable code {
    background-color: transparent;
}

.small {
    text-size: 80%;
}

.tiny {
    text-size: 60%;
}

.junicode {
    font-family: Junicode;
    font-size: 120%;
}

.junicode-it {
    font-family: Junicode;
    font-style: italic;
    font-size: 120%;
}

.yes {
    background-color: green;
}

.no {
    background-color: red;
}

.lyes {
    background-color: #9999FF;
}

.lno {
    background-color: #FF9999;
}

.check {
    background-color: #4499aa;
}


.tablebox {
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.left {
    width: 30%;
    float: left;
}

.right {
    width: 30%;
    float: right;
    vertical-align: top;
    border: 1px solid red;
}

.middle {
    width: 30%;
    border: 1px solid blue;
}

.small {font-size: x-small;}
.smallcaps {font-variant: small-caps !important;}
.sc{font-variant: small-caps !important;}

/* INTERLINEAR GLOSS ELEMENTS (see Template:gl) */

dl.gloss { display:inline; float:left; margin:0 0.5em 0 0; }
dl.gloss dd { margin-left: 0; font-size: smaller; }

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

.status-decided{
  background-color: #77aaff;
}

.status-undecided{
  background-color: #FFaa77;
}

.status-partlydecided{
  background-color: yellow;
}

/** Collapsible tables *********************************************************
 *
 *  Description: Allows tables to be collapsed, showing only the header. See
 *                         http://www.mediawiki.org/wiki/Manual:Collapsible_tables.
 */
 
table.collapsed tr.collapsible {
        display: none;
}
 
.collapseButton {               /* 'show'/'hide' buttons created dynamically by the             */
        float: right;           /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
        font-weight: normal;    /* are styled here so they can be customised.             */
        text-align: right;
        width: auto;
}