MediaWiki:Vector.css

MediaWiki interface page
Revision as of 14:32, 1 February 2021 by LIMAFOX76 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After publishing, 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 / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* All CSS here will be loaded for users of the Vector skin */

tr.hiddenStructure {
    display: none;
}

table.infobox {
    float: right;
    border: 1px solid var(--yellow);
    border-collapse: unset; /* originally collapse, but this caused problems with yellow borders not showing up properly */
    margin: 10px;
    padding: 10px;
    width:200px;
}

/* Moving the left panel a littel bit to the right because of the social media buttons masking hyperlinks */

.mw-body {
	margin-left: 13em;
}

#mw-panel {
	padding-left: 2.2em;
}

#left-navigation {
	margin-left: 13em;
}

.mw-footer {
	margin-left: 13em;
}

/* Quotes */

.dialogue {
    margin-left: 20px;
}

.dialogue-inside {
    border-left: 5px solid #434343;
    padding-left: 5px;
}

.dialogue-attribution {
    margin-left: 40px;
}

.quoteline {
    line-height: 1.7;
    font-size: 116%;
}

q:after, q:before {
    content: "";
}

a.new {
    color: #d44 !important;
}

/* Le CSS placé ici affectera les utilisateurs de l’habillage Vector. */

/* page complète */

.mediawiki {
	background-color: #696969;
}

#mw-page-base {
	background-color: #696969;
	background-image: -webkit-gradient(linear,right top,right bottom,color-stop(50%,#808080),color-stop(100%,#696969));
	background-image: -webkit-linear-gradient(top,#808080 50%,#696969 100%);
	background-image: -moz-linear-gradient(top,#808080 50%,#696969 100%);
	background-image: linear-gradient(to bottom,#808080 50%,#696969 100%);
}

/* css contenu principal */

.mw-body {
	background-color: #2c2c2c;
	border: 1px solid #ffa500;
	color: #fff;
}

li a,
a { color: #ffdd00; }
li a:hover { color: #ffee00; }
li a:visited,
a:visited { color: #dd9900; }
.mw-parser-output a.extiw,
.mw-parser-output a.external {
	color: #ff3a00;
}

.mw-parser-output a.extiw:visited,
.mw-parser-output a.external:visited {
	color: #ff5a00;
}

h3#p-tb-label,
h3#p-lang-label {
	color: #ffffff;
}

/* changing color of sections/subsections */

h1 {
	color: #ffa500;
}

h2 {
	color: #ffa500;
	border-bottom: 1px solid #ffa500;
}

h3 {
	color: #ffa500;
}

h4 {
	color: #ffa500;
}

h5 {
	color: #ffa500;
}

h6 {
	color: #ffa500;
}

/* underligning */

.firstHeading {
	border-bottom: 1px solid #ffa500;
}

/* Barre latérale */


/* Puce */

ul {
	list-style-image: url("http://fr.battlestarwiki.ddns.net/images/e/ef/Bullet-icon.png");
}

/* footer */

.mw-footer li {
	color: #fffafa;
}

.mw-footer li a {
	color: #ffa500;
}

/* hyperlinks menu latéral */

.portal .body li a:visited,
.vector-menu-portal .body li a:visited {
	color: #ff8c00;
}

.portal .body li a {
	color: #ffa500;
}

/* vector tabs */

.vector-menu-tabs a {
	background-image: linear-gradient(to bottom,#808080 ,#ffa500 100%);
}

.vector-menu-tabs,
#mw-head .vector-menu-dropdown h3 {
	background-image: linear-gradient(to top,#ffa500 ,#808080 100%);
}

.vector-menu-tabs .selected {
	background-image: linear-gradient(to bottom,#808080 ,#2c2c2c 100%);
}

.vector-menu-tabs .selected a,
.vector-menu-tabs .selected a:visited {
	color: #fff;
}

.vector-menu-tabs li {
	background: transparent;
	background-image: none;
	background-position: left bottom;
}

.vector-menu-tabs li a {
	color: #ffa500;
}

.vector-menu-dropdown h3 {
	color: #fffafa;
}

.vector-menu-dropdown .vector-menu-content-list {
	background-color: #2a2a2a;
	border: 1px solid #ffa500;
}

.vector-menu-dropdown li a {
	color: #ffdd00;
}

/* Recent changes */
.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend {
	background-color: #4d4d4d;
	border: 1px solid #ffa500;
}

.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend a {
	color: #ffdd00;
}

/* category bottom bar */

.catlinks {
	border: 1px solid #ffa500;
	background-color: #4d4d4d;
}

.toc {
	border: 1px solid #ffa500;
	background-color: #4d4d4d;
}

.toctogglelabel {
	color: #ffa500;
}

/* Thumbnails */

div.thumbinner {
	border: 1px solid #ffa500;
	background-color: #4d4d4d;
}