Difference between revisions of "MediaWiki:Common.css"

From OpenGeofiction
Jump to navigation Jump to search
((+Bixelkoven))
m
(3 intermediate revisions by the same user not shown)
Line 78: Line 78:
 
height: 0.1em;
 
height: 0.1em;
 
}
 
}
 +
 +
table.dictionary  {border:2px solid darkgreen;border-collapse:collapse;border-spacing:0;}
 +
table.dictionary tr, table.dictionary th{border-bottom:1px solid #999999;overflow:hidden;word-break:normal;padding:2px;}
 +
.lexclass {color:#009632;font-size:85%;font-style:italic;vertical-align:top;}
 +
.gbox {line-height:120%;text-align:center}
 +
.gbox-head {background:#ffffff;text-align:center;font-weight:bold;}
 +
.gbox-no {background:#eeeeee;color:#aaaaaa;vertical-align:middle;padding:0.3em;}
 +
.gbox-yes {background:#cc9900;color:#ffffff;vertical-align:middle;padding:0.3em;}
  
 
.references-small { font-size: 0.85em; }
 
.references-small { font-size: 0.85em; }

Revision as of 22:41, 18 March 2023

/* CSS placed here will be applied to all skins */
table.infobox {
width:22em;
float:right;
clear:right;
border-collapse:collapse;
border:1px solid #aaaaaa;
background-color:#f9f9f9;
color:#000000;
margin:0.5em 0 0.5em 1em;
padding:0.2em;
text-align:left;
font-size:88%;
line-height:1.2em;
table-layout: fixed;
}

table.infobox th, table.infobox td {
padding: 0.4em 0.6em 0.4em 0.6em;
vertical-align: top;
}

table.infobox tr {
border-bottom:1px solid #aaaaaa;
}

table.infobox tr.cont {
border-bottom: none;
}

table.infobox tr.cont td, table.infobox tr.cont th {
padding-bottom: 0;
margin-bottom: 0;
}

table.infobox th {
font-size:1.25em;
}

table.snapshot {
float:right;
clear:right;
border-collapse:collapse;
border:1px solid #aaaaaa;
background-color:#f9f9f9;
color:#000000;
margin:0.5em 0 0.5em 1em;
padding:0.2em;
text-align:left;
font-size:88%;
vertical-align: top;
}

table.snapshot th {
font-size:1.25em;
background-color:#ffe5b4;
width:325px;
vertical-align: middle;
}

table.snapshot th, table.snapshot td {
padding: 0.4em 0.6em 0.4em 0.6em;
}

table.snapshot tr {
border-bottom:1px solid #aaaaaa;
}

table.snapshot tr.cont {
border-bottom: none;
padding-bottom: 0;
margin-bottom: 0;
}

table.snapshot .snap-footer {
background: #ffe5b4;
width: 300px;
height: 0.1em;
}

table.dictionary  {border:2px solid darkgreen;border-collapse:collapse;border-spacing:0;}
table.dictionary tr, table.dictionary th{border-bottom:1px solid #999999;overflow:hidden;word-break:normal;padding:2px;}
.lexclass {color:#009632;font-size:85%;font-style:italic;vertical-align:top;}
.gbox {line-height:120%;text-align:center}
.gbox-head {background:#ffffff;text-align:center;font-weight:bold;}
.gbox-no {background:#eeeeee;color:#aaaaaa;vertical-align:middle;padding:0.3em;}
.gbox-yes {background:#cc9900;color:#ffffff;vertical-align:middle;padding:0.3em;}

.references-small { font-size: 0.85em; }

/* ToC limiting */
.toclimit-1 .toc .toclevel-2, 
.toclimit-2 .toc .toclevel-3,
.toclimit-3 .toc .toclevel-4,
.toclimit-4 .toc .toclevel-5,
.toclimit-5 .toc .toclevel-6 {
    display: none;
}

/* RC/WL forum visibility */
ul.special li a[title^="Forum:Announcements/"],
table.mw-enhanced-rc td a[title^="Forum:Announcements/"],
ul.activityfeed li cite a[href^="/wiki/Forum:Announcements/"] {
	color: #EA6292;
	background-color:#FFF3F9;
	font-weight: bold !important;
}

ul.special li a[title^="Forum:Request"],
table.mw-enhanced-rc td a[title^="Forum:Request"],
ul.activityfeed li cite a[href^="/wiki/Forum:Request"],
ul.special li a[title^="Forum:Standards"],
table.mw-enhanced-rc td a[title^="Forum:Standards"],
ul.activityfeed li cite a[href^="/wiki/Forum:Standards"],
ul.special li a[title^="Forum:Federal"],
table.mw-enhanced-rc td a[title^="Forum:Federal"],
ul.activityfeed li cite a[href^="/wiki/Forum:Federal"],
ul.special li a[title^="Forum:Ardencia"],
table.mw-enhanced-rc td a[title^="Forum:Ardencia"],
ul.activityfeed li cite a[href^="/wiki/Forum:Ardencia"],
ul.special li a[title^="Forum:Global"],
table.mw-enhanced-rc td a[title^="Forum:Global"],
ul.activityfeed li cite a[href^="/wiki/Forum:Global"],
ul.special li a[title^="Forum:North"],
table.mw-enhanced-rc td a[title^="Forum:North"],
ul.activityfeed li cite a[href^="/wiki/Forum:North"],
ul.special li a[title^="Forum:Tarephia"],
table.mw-enhanced-rc td a[title^="Forum:Tarephia"],
ul.activityfeed li cite a[href^="/wiki/Forum:Tarephia"] {
	color: #C39B00;
	font-weight: bold !important;
}

ul.special li a[title^="Forum:Official"],
table.mw-enhanced-rc td a[title^="Forum:Official"],
ul.activityfeed li cite a[href^="/wiki/Forum:Official"],
ul.special li a[title^="Collab:"],
table.mw-enhanced-rc td a[title^="Collab:"],
ul.activityfeed li cite a[href^="/wiki/Collab:"],
ul.special li a[title^="Collab talk:"],
table.mw-enhanced-rc td a[title^="Collab talk:"],
ul.activityfeed li cite a[href^="/wiki/Collab_talk:"]{
	color: #C267E0;
	font-weight: bold !important;
}

ul.special li a[title^="Forum:Territory"],
table.mw-enhanced-rc td a[title^="Forum:Territory"],
ul.activityfeed li cite a[href^="/wiki/Forum:Territory"] {
	color: #005B00;
	font-weight: bold !important;
}

/* RC/WL admin visibility */
ul.special li a[title="User:Aiki"],
table.mw-enhanced-rc td a[title="User:Aiki"],
ul.activityfeed li cite a[href="/wiki/User:Aiki"],
ul.special li a[title="User:Alessa"],
table.mw-enhanced-rc td a[title="User:Alessa"],
ul.activityfeed li cite a[href="/wiki/User:Alessa"],
ul.special li a[title="User:Bixelkoven"],
table.mw-enhanced-rc td a[title="User:Bixelkoven"],
ul.activityfeed li cite a[href="/wiki/User:Bixelkoven"],
ul.special li a[title="User:Leowezy"],
table.mw-enhanced-rc td a[title="User:Leowezy"],
ul.activityfeed li cite a[href="/wiki/User:Leowezy"],
ul.special li a[title="User:Luciano"],
table.mw-enhanced-rc td a[title="User:Luciano"],
ul.activityfeed li cite a[href="/wiki/User:Luciano"],
ul.special li a[title="User:Taka"],
table.mw-enhanced-rc td a[title="User:Taka"],
ul.activityfeed li cite a[href="/wiki/User:Taka"],
ul.special li a[title="User:TheMayor"],
table.mw-enhanced-rc td a[title="User:TheMayor"],
ul.activityfeed li cite a[href="/wiki/User:TheMayor"],
ul.special li a[title="User:Wangi"],
table.mw-enhanced-rc td a[title="User:Wangi"],
ul.activityfeed li cite a[href="/wiki/User:Wangi"] {
	font-weight: bold !important;
	color:#6d0c0c;
}

/* Font information */
@font-face {
  font-family: 'hwygothic';
  src: url(https://wiki.opengeofiction.net/data/fonts/highway-gothic/HWYGOTH.woff) format("woff");
}

.hwygothic { font-family: "hwygothic", "Helvetica", sans-serif; }

/* Main page customization */
.page-Main_Page h1 { display: none; }
.page-Main_Page #ca-nstab-main,
.page-Main_Page #ca-talk,
.page-Main_Page #ca-ve-edit,
.page-Main_Page #ca-move,
.page-Main_Page #ca-delete,
.page-Main_Page #ca-viewsource { display: none !important; }