Difference between revisions of "MediaWiki:Common.css"

From FireSpeakerWiki
Jump to navigationJump to search
(even lighter for direct)
 
(27 intermediate revisions by the same user not shown)
Line 38: Line 38:
 
/* wikitable/prettytable class for skinning normal tables */
 
/* wikitable/prettytable class for skinning normal tables */
 
table.wikitable,
 
table.wikitable,
table.prettytable {
+
table.prettytable,
 +
table.centretable {
 
     margin: 1em 1em 1em 0;
 
     margin: 1em 1em 1em 0;
 
     background: #f9f9f9;
 
     background: #f9f9f9;
Line 46: Line 47:
  
 
table.wikitable th, table.wikitable td,
 
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
+
table.prettytable th, table.prettytable td,
 +
table.centretable th, table.centretable td {
 
     border: 1px #aaa solid;
 
     border: 1px #aaa solid;
 
     padding: 0.2em;
 
     padding: 0.2em;
 +
}
 +
 +
table.centretable td {
 +
    text-align: center;
 
}
 
}
  
 
table.wikitable th,
 
table.wikitable th,
table.prettytable th {
+
table.prettytable th,
 +
table.centretable th {
 
     background: #f2f2f2;
 
     background: #f2f2f2;
 
     text-align: center;
 
     text-align: center;
Line 58: Line 65:
  
 
table.wikitable caption,
 
table.wikitable caption,
table.prettytable caption {
+
table.prettytable caption,
 +
table.centretable caption {
 
     margin-left: inherit;
 
     margin-left: inherit;
 
     margin-right: inherit;
 
     margin-right: inherit;
Line 65: Line 73:
  
 
table.prettytable code,
 
table.prettytable code,
table.wikitable code {
+
table.wikitable code,
 +
table.centretable code {
 
     background-color: transparent;
 
     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;
 +
}
 +
 +
.unm-direct{
 +
  background-color: #d1dce6;
 +
}
 +
.unm-inverse{
 +
  background-color: #e6d1e5;
 +
}
 +
.unm-local{
 +
  background-color: #d8e6d1;
 
}
 
}

Latest revision as of 21:24, 8 May 2024

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

.unm-direct{
  background-color: #d1dce6;
}
.unm-inverse{
  background-color: #e6d1e5;
}
.unm-local{
  background-color: #d8e6d1;
}