MediaWiki:Vector.css: Difference between revisions

MediaWiki interface page
No edit summary
m (Recent changes in Vector skin)
Line 196: Line 196:


.vector-menu-dropdown li a {
.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;
color: #ffdd00;
}
}

Revision as of 14:00, 1 February 2021

/* 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 { color: #ffdd00; }
li a:hover { color: #ffee00; }
li a:visited { color: #dd9900; }

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