MediaWiki:Timeless.css

De Battlestar Wiki
Révision datée du 18 août 2023 à 12:38 par LIMAFOX76 (discussion | contributions)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)

Note : après avoir publié vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.

  • Firefox / Safari : maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou appuyez sur Ctrl + F5 ou Ctrl + R (⌘ + R sur un Mac).
  • Google Chrome : appuyez sur Ctrl + Maj + R (⌘ + Shift + R sur un Mac).
  • Internet Explorer / Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
  • Opera : appuyez sur Ctrl + F5.
/* CSS placed here will affect users of the TimelessBW skin */

/* Font style for titles */

@font-face {
   font-family: Caprica;
   font-style: normal;
   src: url('caprica.ttf') format('truetype'),
   		url('caprica.otf') format('opentype');
}

/* Body */

body {
	background: #160807;
}

/* Header */

#mw-header-container {
	color: #fff;
	background: #160807;
}
/* Logo */

#p-logo {
	text-align: center;
	margin: auto;
	background: #160807;
	border: 1px solid #471919;
}

/* Zone de contenu */

#mw-content-container {
	border-bottom: solid 4px #ffd700;
	background: #000000;
}

@media screen and (min-width:851px) and (max-width:1099px) {
	#mw-header-nav-hac {
		background: #160807;
	}
}

/* Menus latéraux à gauche et à droite */

#mw-site-navigation .sidebar-chunk,
#mw-related-navigation .sidebar-chunk,
#personal .dropdown {
	background: #160807;
	border: 2px solid #ffd700;
	color: #fff;
}

#mw-site-navigation .sidebar-chunk a,
#mw-related-navigation .sidebar-chunk a,
#personal .dropdown a {
	color: #ffff00;
}

#personal .dropdown::before {
	border-bottom: 10px solid #ffd700;
}

#personal .dropdown::after {
	border-bottom-color: #160807;
}

/* Onglets */

.tools-inline li.selected {
	border-bottom-color: #ffffff;
}

.tools-inline li.selected a {
	color: #ffffff;
}

/* VISUALISATION DE LA ZONE D'ÉCRITURE DES ARTICLES */

/* Fond et écriture */

#mw-content {
	background: #471919;;
	color: #ffffff;
	border: solid 1px #ffd700;
	padding: 1.2em;
}

#mw-header-container #p-banner,
#mw-header-container #personal h2,
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6,
#content #firstHeading {
	font-family: Caprica;
	color: #ffd700;
}

.mw-body .mw-parser-output h2:after {
	border-bottom: solid 2px #ffd700;
}

.portail {
        box-sizing: border-box;
        border: 15px solid transparent;
        border-image: url('https://media.battlestarwiki.org/w/images/2/20/BSG_Border.png') 60 round;
        -webkit-border-image: url('https://media.battlestarwiki.org/w/images/2/20/BSG_Border.png') 60 round;
        background: #1f0b0c;
        background-clip: padding-box;
        padding: 2px;
        vertical-align: top;
        margin: 0;
        z-index: -1;
}

.mw-body .portail h2 {
        margin: 8px 0;
        background-color: #471919;
        border: 1px solid #ff8c00;
        padding: 0.2em 0.4em;
}

.mw-body .mw-parser-output .portail h2:after {
	border-bottom: none;
}

#content h1,
#content h2 {
	font-variant: small-caps;
}


/* Hyperliens */
/* liens internes visités */
.mw-body a:visited,
.toctogglelabel {
	color: #ffee00;
}

/* liens internes non visités */
.mw-body a {
	color: #ffff00;
}

/* liens externes */
.mw-body a.extiw,
a.external.text,
.mw-parser-output a.extiw:visited,
.mw-parser-output a.extiw:active:visited,
.mw-parser-output a.external:visited {
	color: #ff4500;
}

/* liens rouges (page non existante) */
a.new {
	color: #ff00ff;
}

a.new:visited {
	color: #ba55d3;
}

/* SOMMAIRE (TOC) */

.toc {
	background-color: #111;
	border-color: #ffa500;
}

.tocnumber {
	color: #c0c0c0;
}

/* Style effects for the Semantic Fact box and Browse properties */

.mw-datatable th,
.mw_metadata th,
.smw-editpage-help,
.smwb-theme-light .smwb-propval,
.smw-factbox .smwfact,
.smwfact .smw-table-row:nth-child(2n),
.smw-property-page-results .value-row:hover,
.smw-callout-error,
.smw-callout-warning,
#mw-allmessagestable .am_default,
#mw-allmessagestable td {
    background-color: #160807;
}

.wikitable {
	background-color: #160807;
	color: inherit;
}

.wikitable tr th {
	background-color: #000;
}

.smwfact .smw-table-row:nth-child(2n+1),
#mw-allmessagestable .am_actual,
.mw-datatable tr:hover td {
	background-color: #471919;;
}
.smwb-theme-light .smwb-factbox {
	border-left: 0.5em solid orange;
}

.smwb-theme-light .smwb-ifactbox {
	border-right: 0.5em solid orange;
}

.smwb-bottom {
	border-bottom: 2px solid orange;
}

.smwb-theme-light .smwb-title,
.smwb-theme-light .smwb-center,
.smwb-theme-light .smwb-actions,
.smwb-theme-light .smwb-prophead,
.mw_metadata td,
#mw-allmessagestable th,
#mw-allmessagestable tbody:hover td,
#mw-allmessagestable tbody:hover .am_default,
#mw-allmessagestable tbody:hover .am_actual,
.diff-addedline .diffchange,
.mw-datatable td {
	background: #000;
}

.smwb-factbox .smwb-cell,
.smwb-ifactbox .smwb-cell {
	border-top: 2px solid orange;
}

.smw-tabs input.nav-tab:checked + label.nav-label {
	color: #fff;
}

.mw-rcfilters-ui-filterTagMultiselectWidget-views-select {
	background-color: #fff;
}

.warningbox {
	background-color: #160807;
	color: #fff;
}

div.mw-warning-with-logexcerpt {
	background: #160807;
}

/* Flux de discussion */

.flow-component.flow-board-page.flow-full-height-side-rail .flow-board-header::before {
	background-color: transparent;
}
.flow-component.flow-board-page.flow-full-height-side-rail .flow-board-header {
	box-sizing: border-box;
	border: 7px solid transparent;
	border-image: url('https://media.battlestarwiki.org/w/images/2/20/BSG_Border.png') 50 round;
	-webkit-border-image: url('https://media.battlestarwiki.org/w/images/2/20/BSG_Border.png') 50 round;
	background-color: #1f0b0c;
	background-clip: padding-box;
}

.oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button {
	background-color: #1f0b0c;
}

.flow-topic-titlebar {
	background-color: #1f0b0c;
	border: 1px solid orange;
}
.flow-post {
	color: #fff;
}

/* widget Notifications */

.oo-ui-popupWidget-popup {
	background-color: #471919;
	border-color: orange;
}

.mw-echo-ui-placeholderItemWidget {
	background-color: #160807;
}

/* Noircissement des références sélectionnées */


ol.references li:target {
	background-color: #000;
}

sup.reference:target {
	background:#000;
}

.smwfact {
	background-color: #160807;
	border: solid orange;
}

/* Élargissement de la zone de l'article */

.ts-inner {
	max-width: 100%;
}

/* Adaptation du bandeau de séparation à la zone de l'article */

.color-middle-container {
	max-width: 100%;
}

/* Bullet  */

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

/* entête h1 */

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

/* Icônes des commandes de page */

/* Vignettes */

.mw-body li.gallerybox div.thumb,
.thumbinner,
ul#filetoc {
	background: #1f0b0c;
	border: solid 1px #ffd700;
}

figure[typeof~="mw:File/Thumb"],
figure[typeof~="mw:File/Frame"] {
	background: #1f0b0c;
	border-top: solid 1px #ffd700;
	border-left: solid 1px #ffd700;
	border-right: solid 1px #ffd700;
}

figure[typeof~="mw:File/Thumb"] > figcaption,
figure[typeof~="mw:File/Frame"] > figcaption {
	background: #1f0b0c;
	border-bottom: solid 1px #ffd700;
	border-left: solid 1px #ffd700;
	border-right: solid 1px #ffd700;
}
.thumbinner .thumbimage {
	border: none;
}

/* Galerie de vignettes */

.mw-content-ltr ul.gallery {
	margin: 0;
	padding: 0;
}

/* Pied de page */

#mw-footer-container {
	border-top: solid 1px #ffa500;
	background: #160807;
	box-shadow: inset 0 7px 2px -4px rgba(0,0,0,0.1);
	color: #ffffff;
}

/* légende modifications récentes */

.mw-body .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend {
	color: #fff;
	background: #160807;
	border: 1px solid #ffcc00;
}

/* Arbres généalogiques */

.tree {
	box-sizing: border-box;
	border: 7px solid transparent;
	border-image: url('https://media.battlestarwiki.org/w/images/2/20/BSG_Border.png') 50 round;
	-webkit-border-image: url('https://media.battlestarwiki.org/w/images/2/20/BSG_Border.png') 50 round;
	background: #1f0b0c;
	background-clip: padding-box;
	font-size: 88%;
	text-align: center;
	margin: 1em auto 0;
}

/* Historique */

#pagehistory li.selected {
	background-color: #000;
	color: #eee;
}

/* Replace Text */
.ext-replacetext-searchoptions {
	background-color: #160807;
}

@media screen and (min-width: 851px) and (max-width: 1099px) {
	#mw-site-navigation .sidebar-inner,
	#mw-related-navigation .sidebar-inner {
		background-color: #160807;
		border: solid 1px #ffd700;
	  }
	#mw-site-navigation .sidebar-inner::before,
	#mw-related-navigation .sidebar-inner::before {
		border-bottom: 10px solid #160807;
	}
}

#mw-header-nav-hack {
	background-color: #160807;
}

@media screen and (min-width: 851px) and (max-width: 1099px) {
	#mw-site-navigation .sidebar-chunk,
	#mw-related-navigation .sidebar-chunk {
		border: none;
		background: none;
	}
	#mw-site-navigation .sidebar-chunk::before,
	#mw-related-navigation .sidebar-chunk::before {
		border-bottom: 10px solid #160807;
	}
}

a.image > img {
	transition: transform 250ms cubic-bezier(.55,.06,.68,.19);
}
a.image > img, .mw-body-content a.image > img {
	clip-path: polygon(0 10.00px,10.00px 0,calc(100% - 8px) 0,100% 10.00px,100% calc(100% - 10.00px),calc(100% - 10.00px) 100%,10.00px 100%,0 calc(100% - 10.00px));
}