Difference between revisions of "MediaWiki:Common.css"

From Citywars Savage
Jump to navigation Jump to search
 
Line 128: Line 128:
 
.gamefeature video{
 
.gamefeature video{
 
width: 100% !important;
 
width: 100% !important;
height: auto;
+
    height: auto !important;
 +
    max-height: initial !important;
 
}
 
}

Latest revision as of 22:00, 11 December 2019

/* CSS placed here applies to all skins */

/* Load Wikipedia.css first */
@import url("/index.php?title=MediaWiki:Common.css/Wikipedia.css&action=raw&ctype=text/css") screen;

/* Then override Wikipedia styles with locally defined styles */
@import url("/index.php?title=MediaWiki:Common.css/Collapse.css&action=raw&ctype=text/css") screen;
@import url("/index.php?title=MediaWiki:Common.css/Navigation.css&action=raw&ctype=text/css") screen;
@import url("/index.php?title=MediaWiki:Common.css/Colors.css&action=raw&ctype=text/css") screen;
@import url("/index.php?title=MediaWiki:Common.css/Infobox.css&action=raw&ctype=text/css") screen;
@import url("/index.php?title=MediaWiki:Common.css/Fonts.css&action=raw&ctype=text/css") screen;
@import url("/index.php?title=MediaWiki:Common.css/Glam.css&action=raw&ctype=text/css") screen;
@import url("/index.php?title=MediaWiki:Common.css/MediaIcons.css&action=raw&ctype=text/css") screen;
@import url("/index.php?title=MediaWiki:Common.css/Messages.css&action=raw&ctype=text/css") screen;
@import url("/index.php?title=MediaWiki:Common.css/Slideshows.css&action=raw&ctype=text/css") screen;
@import url("/index.php?title=MediaWiki:Common.css/addin-mooc.css&action=raw&ctype=text/css") screen;

.same-bg { background: none }

/* References */
.references { font-size:90%; }
.references li:target, .reference:target, .citation:target { background-color: #DDEEFF }
.reference, .citation, cite { font-weight: normal; font-style: normal; word-wrap: break-word; }

/* Category tree */
#mw-subcategories ul { list-style: none none; margin-left: 0.25em; }
.CategoryTreeChildren { margin-left: 1.25em; }

/* prettytable class for skinning normal tables */
table.prettytable { margin:1em 1em 1em 0em; background:#f9f9f9; border:1px #aaaaaa solid; border-collapse:collapse; }
table.prettytable th, table.prettytable td { border:1px #aaaaaa solid; padding:0.2em; }
table.prettytable th { background:#f2f2f2; text-align:center; }
table.prettytable caption { margin-left:inherit; margin-right:inherit; }

table.table { border-spacing:0em 0.5em; }
table.table tr>td { padding:0.25em 1em; }
table.table tr.even { background:#ddddff; }
table.table tr.odd { background:#ccccff; }

/* Style for "notices" */
.notice { text-align: justify; margin:1em; padding:0.2em; }

/* Choose whether to have AD/BC dates or CE/BCE dates */
/* First, the default : display both : See templates ADCE and BCEBC for how these are used*/
.Use_Default_Date_Convention { display: inline; }
.Use_AD_and_BC  { display: none; } /* display:inline; in your skin for AD and BC. */
.Use_BCE_and_CE { display: none; } /* display:inline; in your skin for CE and BCE. */

/* Content in columns with CSS instead of tables [[Template:Columns]] */
div.columns-2 div.column { float:left; width:50%; min-width:300px; }
div.columns-3 div.column { float:left; width:33%; min-width:200px; }
div.columns-4 div.column { float:left; width:25%; min-width:150px; }
div.columns-5 div.column { float:left; width:20%; min-width:120px; }

/* Put a checker background at the image description page only visible if the image has transparent background */
#file img { background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat; }

/* Show only when printing */
@media screen, projection, handheld {
  .printonly { display: none !important; }
}

/* "warning" messages. */
div.mw-warning-with-logexcerpt, div.mw-lag-warn-high, div.mw-cascadeprotectedwarning, div#mw-protect-cascadeon {
  clear:both; margin: 0.2em 0em; border:1px solid #bb7070; background:#ffdbdb; padding:0.25em 0.9em;
}

/* Pie chart test: Transparent borders */
.transborder {
    border: solid transparent;
}
* html .transborder {  /* IE6 */
    border: solid #000001;
    filter: chroma(color=#000001);
}

/* "system" messages. Used in [[MediaWiki:Noarticletext]] and [[MediaWiki:Readonly lag]]. */
div.mw-lag-warn-normal, div.noarticletext, div.fmbox-system {
  clear:both; margin:0.2em 0em; border:1px solid #aaaaaa; background:#f9f9f9; padding:0.25em 0.9em;
}

tt, code, pre, .mw-geshi { font-family: monospace, "DejaVu Sans Mono", "Courier New" !important; font-size:100%; }

/* Documentation */
.template-documentation { clear:both; margin:1em 0em 0em 0em; padding:1em; }

/* Prevent line breaks in silly places:
   1) Where desired
   2) Links when we don't want them to
   3) Bold "links" to the page itself */
.nowrap,
.nowraplinks a,
.nowraplinks .selflink {
  white-space: nowrap;
}
.nowrap pre {
  white-space: pre;
}

/* Selectively hide table of contents auto-numbering, per https://www.mediawiki.org/wiki/Manual:Table_of_contents#Auto-numbering */
.noautonum .tocnumber { 
  display: none; 
}

/* Table of contents alternative formatting */
.tocplain #toc {
    border: none;
    background: none;
}

.tocplain .toctitle {
    text-align: left;
}

/* Opposite of nomobile class. Paired with definition in MediaWiki:Mobile.css */
.onlymobile {
    display: none;
}

.sysop-show {
	display: none;
}

.gamefeature img{
	width: 100% !important;
	height: auto;
}
.gamefeature video{
	width: 100% !important;
    height: auto !important;
    max-height: initial !important;
}