Naruto Wiki
(CSS Rule: Fair use upload form (textarea background).)
Balise : Modification en mode source
m (Modification mineure (mise en forme).)
Balise : Modification en mode source
Ligne 209 : Ligne 209 :
 
}
 
}
   
.image-thumbnail
+
.image-thumbnail {
{
 
 
width: 100%;
 
width: 100%;
 
height: auto;
 
height: auto;

Version du 20 octobre 2020 à 13:21

/***** Le CSS placé ici sera appliqué à tous les habillages Wikia *****/

/* Modèle BoiteAccueil */
.BoiteAccueil {
  margin: 10px 0;
}
 
.BoiteAccueil .titre h2 {
  margin: 10px 0 8px;
  text-align: center;
  color: #FFF;
  background-color: #D92F3B;
  border-radius: 8px;
}
 
.BoiteAccueil .corps {
  padding: 0 5px 5px;
}

/* Repositionne l'Actualisation AJAX sur Wiki Activity du fait de sa position par défaut moche visuellement
 */
body.page-Spécial_WikiActivity #ajaxRefresh {
	position: absolute;
	right: 0;
	bottom: 45px;
}
 
/* Rend le menu Modifier ouvert au survol
 */
#WikiaPageHeader > .wikia-menu-button > .WikiaMenuElement {
	display: block;
	min-width: 100%; /* Wikia's scripts only set this when opened 1st time */
	visibility: hidden;
	/* visibility has a stair-step transition, !=0% is visible, 0% is hidden */
	-webkit-transition-property: opacity, visibility;
	-webkit-transition-duration: 0.4s;
	-webkit-transition-delay: 0.1s;
	transition-property: opacity, visibility;
	transition-duration: 0.4s;
	transition-delay: 0.1s;
	opacity: 0;
}

#WikiaPageHeader > .wikia-menu-button .drop:hover ~ ul,
#WikiaPageHeader > .wikia-menu-button > .WikiaMenuElement:hover {
	visibility: visible;
	opacity: 1;
}
 
/* Compacte la Table du Sommaire du fait qu'elle est ridicule sur certaines pages
 */
.WikiaArticle .toc {
	font-size: 90%;
}

/* Rend l'icône page « Agrandir » sur les miniatures d'images sans effet sur la mise en page et transparente
 * cela évite des légendes vide remplies par des espaces sur les pages
*/
.WikiaArticle .thumb {
	position: relative;
}
.WikiaArticle .thumb > .magnify {
	position: absolute; /* relatif au .thumb */
	right: 3px;
	bottom: 4px;
	opacity: 0.15;
    margin: 0;
	padding: 0;
	float: none;
}
.WikiaArticle .thumb > .magnify:hover {
	/* Apparaît au survol */
	opacity: 1;
}

/* Masque le nom de l'utilisateur ayant téléversé l'image */
.picture-attribution { display:none !important; }

/* Boîte de recherche */
#WikiaSearch {
	border-radius: 3px;
	border-width: 0 0 1px;
	box-shadow: 2px 2px 6px inset;
}
#WikiaSearch > input[name="search"] {
	background: transparent;
	border: 0;
	margin-left: 9px;
	padding-left: 0;
	padding-right: 0;
	width: 268px;
}
#WikiaSearch > button {
	border-radius: 0 3px 3px 0;
	float: none;
	height: 24px;
	position: absolute;
	right: 1px;
	top: 1px;
}
 
/* Change la police de caractères des pages pour un rendu facilitant la lecture.
 * Ceci laisse intentionnellement l'espace extérieur des articles non-affecté.
 */
.WikiaArticle {
	color: #333;
	font-family: "Helvetica Neue", Helvetica, Verdana, Arial, sans-serif;
	line-height: 1.7;
}
.WikiaArticle .mw-headline, .WikiaPageHeader h1 {
	font-family: 'Droid Serif', Verdana, Helvetica, Arial, serif;
}

:lang(ja) 	{
    font-family: Meiryo,"Helvetica Neue", Helvetica, Verdana, Arial, sans-serif;
}
 
/* Corrige la hauteur des lignes des listes et titres. Il utilise la valeur en pixel 
 * aussi celles qui ne fonctionne pas quand la taille de caractère est plus ou moins 
 * grande.
 */
.WikiaArticle li {
	line-height: 1.6;
}
.WikiaArticle h2 {
	line-height: 1;
}

.WikiaArticle li>dl dd {
    margin-left: 0px;
}
 
/* Correction des marges */
.box.headnote {
	display: block;
	font-style: italic;
	font-size: 12px;
	margin: 0px 5px 10px 25px;
	padding: 0px;
	border-collapse: collapse;
}

.box.footnote {
	display: block;
	font-style: italic;
	font-size: 12px;
	margin: 10px 5px 0px 25px;
	padding: 0px;
	border-collapse: collapse;
}

/* Centrage de l'image */
body.skin-oasis {
    background-position: center top;
}

/* User tags fixes
 */
a.tag {
	color: inherit;
}
 
.tabberlive .tabbertab h2,
.tabberlive .tabbertab h3 {
	display: block !important;
}

/*Infoboxes portables*/

.portable-infobox {
    font-size: 80%;
    float: right;
    clear: right;
    margin: 0 0 0.5em 1em;
    background: none;
    width: 300px;
    border-bottom: 1px solid #838585;
    border-right: 1px solid #838585;
    hyphens:none !important; 
}

.portable-infobox .pi-title {
    font-size: 125%; 
    text-align: center; 
    line-height: 22px;
    padding-bottom: 0; 
    padding-top: 0; 
    background: DarkGray; 
    border-top: 1px solid #838585;
    border-left: 1px solid #838585;
    color: #000;
    font-weight: bold;
}

.pi-image {
    background: Gainsboro;
    border-left: 1px solid #838585;
}
.pi-image-thumbnail {
    max-width: 100%;
    width: 100%;
    height: auto;
}

.pi-image-thumbnail[data-image-name$=".svg"] {
    max-width: 200px;
    width: initial;
    height: auto;
}

.image-thumbnail {
    width: 100%;
    height: auto;
}

.pi-theme-court .pi-image-thumbnail {
    max-height: 300px;
    width: auto;
}

.portable-infobox .pi-navigation {
    font-size: 110%; 
    text-align: center; 
    padding-bottom: 0; 
    padding-top: 0; 
    background: DarkGray; 
    border-left: 1px solid #838585;
    border-top: 1px solid #838585;
    font-weight: normal !important;
}

.portable-infobox .pi-secondary-background {
    font-size: 110%;
    text-align: center; 
    padding-bottom: 0; 
    padding-top: 0; 
    background: DarkGray; 
    border-left: 1px solid #838585;
    border-top: 1px solid #838585;
    color: #000
}

.portable-infobox .pi-data-label {
    background: Silver; 
    padding-bottom: 0; 
    padding-top: 0; 
    color: #000; 
    width: 97px; 
    border-left: 1px solid #838585;
    border-top: 1px solid #838585;
    flex-basis: 60%;
	hyphens: none;
}

.portable-infobox .pi-data-value {
    background: Gainsboro;
    padding-bottom: 0; 
    padding-left: 1px;
    padding-top: 0; 
    border-left: 1px solid #838585;
    border-top: 1px solid #838585;
    flex-basis: 100%;
    hyphens:none !important; 
}

.portable-infobox .pi-data-value b {
    text-align: center;
}

.portable-infobox .pi-data-value span b {
    text-align: center;
    padding-left: 65px;
    display: block;
}

.portable-infobox .pi-data .pi-data-value img {
  padding: 1px 0;
}

.portable-infobox .pi-data[data-source=Symbole] .pi-data-value img[data-image-name$=".svg"] {
  width: 25px;
  height: auto;
}

.portable-infobox .pi-data .pi-data-value img[data-image-name$=".svg"] {
  width: 18px;
  height: auto;
}

.portable-infobox .pi-item-spacing {
    padding: 0;
}

.portable-infobox .pi-caption {
    hyphens: none;
}

.portable-infobox .pi-border-color {
    border: none !important;
}

.portable-infobox .pi-data-value > b {
    display: block;
    text-align: center;
}

sup.watch-link {
    font-size: 9px;
}

.portable-infobox .pi-data-value a.external.text::after {
    background-image: none;
    background-position: 0 0;
    height: 0;
    width: 0;
    margin-left: 0;
}

.portable-infobox .wikia-slideshow-toolbar {
    display:none !important;
}

.portable-infobox div[data-source="Images diaporama"] > .pi-data-value,
.portable-infobox div[data-source="Images diaporama"] > .pi-data-value img, 
.portable-infobox div[data-source="Images onglets"] > .pi-data-value,
.portable-infobox div[data-source="Images onglets"] > .pi-data-value img,
.portable-infobox .wikia-slideshow-images-wrapper {
    padding: 0;
}

.portable-infobox .pi-data-value .tabbertab {
    border: 0;
}

.portable-infobox .tabbertab, .portable-infobox .tabbertab p {
    padding: 0 !important;
    margin: 0 !important;
    text-align: center !important;
}

.portable-infobox ul.tabbernav li a {
    padding: 1px 0.5em;
}

.portable-infobox ul.tabbernav {
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Fair use upload form  */
#mw-htmlform-description .mw-input > textarea {
    background-color: white !important;
}

/* Player ADN */
#lastEpisode {
    align-items: center;
    display: flex;
    flex-direction: column;
}

/* Button style */
.mw-parser-output .buttonlinkslist a.external::after {
	content: none;
}