« Momo50/common.css » : différence entre les versions
De Wikimanche
Aucun résumé des modifications |
(retrait test sommaire translucide en haut à droite) |
||
(27 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
/* CSS placé ici sera appliqué à toutes les habillages (skins) de l'utilisateur:Momo50 */ | /* CSS placé ici sera appliqué à toutes les habillages (skins) de l'utilisateur:Momo50 */ | ||
/* Table des matières flottante flottante translucide à droite | |||
#toc { | |||
position: fixed; | |||
right: 0; | |||
top: 7em; /* 5em est la hauteur de l’en-tête, 6em apporte juste en dessous / | |||
/* bottom: 5em; /* 5em nous place au-dessus du pied de page ; pas mal mais trop bas quand la table des matières est réduite / | |||
z-index: 6000; /* Assure que nous flottons au-dessus de l’en-tête, etc. */ | |||
/* Ajoute de l’opacité (translucidité) / | |||
background-color: rgb(249, 249, 249); | |||
background-color: rgba(249, 249, 249, 0.9); /* Plus l’opacité est élevée (dernier argument), moins il y a de transparence / | |||
} | |||
/* Assure que la hauteur de la table des matières n’envahit pas l’écran ; Les pourcentages peuvent être plus élevés que le port d’affichage, nous utilisons donc des pixels / | |||
#toc > ul { | |||
max-height: 350px; | |||
max-width: 250px | |||
overflow: auto; | |||
} | |||
.toctoggle { | |||
float: right; | |||
} | |||
/* Fin code table des matières flottante translucide à droite */ | |||
/* supp lien aide */ | |||
.mw-indicator { | |||
display: none; | |||
} | |||
/* supp crochets notes */ | |||
.mw-editsection-bracket { | |||
display: none; | |||
} | |||
/* Fixe Formulaires liste Utilisateurs, Import image | /* Fixe Formulaires liste Utilisateurs, Import image | ||
Ligne 5 : | Ligne 41 : | ||
height: auto; | height: auto; | ||
}*/ | }*/ | ||
/* Affichage coord */ | |||
.geo-default { display: inline } .geo-nondefault { display: inline } | |||
.geo-dec { display: none } .geo-dms { display: inline } | |||
/* Ombre navbox | |||
@media screen { | |||
table.navbox { | |||
box-shadow:3px 3px 6px #AAA; | |||
-webkit-box-shadow:3px 3px 6px #AAA; | |||
-moz-box-shadow:3px 3px 6px #AAA; | |||
} | |||
}*/ | |||
/* CSS copié depuis [https://foreground.wikiproject.net/w/index.php?title=MediaWiki:Common.css] */ | /* CSS copié depuis [https://foreground.wikiproject.net/w/index.php?title=MediaWiki:Common.css] */ | ||
/* Hide "Main Page" titles | /* Hide "Main Page" titles | ||
body.page-Main_Page .title, | body.page-Main_Page .title, | ||
body.page-Main_Page #tagline { | body.page-Main_Page #tagline { | ||
display: none; | display: none; | ||
} | }*/ | ||
.row.display { | .row.display { | ||
Ligne 84 : | Ligne 131 : | ||
} | } | ||
/* Tableaux | /* Tableaux test du 23-09-2018 | ||
table.wikitable > tr > th, | table.wikitable > tr > th, | ||
table.wikitable > tr > td, | table.wikitable > tr > td, | ||
Ligne 90 : | Ligne 137 : | ||
table.wikitable > * > tr > td { | table.wikitable > * > tr > td { | ||
border: 1px #bfbfbf solid; | border: 1px #bfbfbf solid; | ||
padding: 0. | padding: 0.6em; | ||
} | }*/ | ||
*/ | |||
/* Tableaux match amicaux test du 23-09-2018 */ | |||
/* ligne titre tableau | |||
table.wikitable.amicaux > caption { | |||
padding-bottom: .25rem; | |||
}*/ | |||
/* titre colonnes | |||
table.wikitable.amicaux > tr > th, | |||
table.wikitable.amicaux > * > tr > th { | |||
border: 1px #888 solid; | |||
background-color: #abc; | |||
padding: 0.6em; | |||
text-align: center; | |||
font-weight: bold; | |||
}*/ | |||
/* couleurs lignes tableau | |||
table.wikitable.amicaux > tr > td, | |||
table.wikitable.amicaux > * > tr > td { | |||
border: 1px #888 solid; | |||
background-color: #e0ffff; | |||
}*/ | |||
/* couleurs lignes alternées | |||
table.wikitable.amicaux tr:nth-of-type(2n) { | |||
background-color: #E0FFFF; | |||
}*/ | |||
/* Marge haut pages */ | /* Marge haut pages */ | ||
Ligne 99 : | Ligne 173 : | ||
} | } | ||
/* Retire le nom de la page d'accueil | /* Retire le nom de la page d'accueil | ||
body.action-view.page-Accueil #firstHeading { | body.action-view.page-Accueil #firstHeading { | ||
position: absolute; | position: absolute; | ||
top: -5000px; | top: -5000px; | ||
} | }*/ | ||
/* Masquer le titre de la page principale */ | /* Masquer le titre de la page principale */ | ||
body.page | body.page-Accueil.action-view h1.firstHeading, | ||
body.page | body.page-Accueil.action-submit h1.firstHeading, { | ||
display: none; | display: none; | ||
} | } |
Dernière version du 26 mars 2024 à 10:26
/* CSS placé ici sera appliqué à toutes les habillages (skins) de l'utilisateur:Momo50 */
/* Table des matières flottante flottante translucide à droite
#toc {
position: fixed;
right: 0;
top: 7em; /* 5em est la hauteur de l’en-tête, 6em apporte juste en dessous /
/* bottom: 5em; /* 5em nous place au-dessus du pied de page ; pas mal mais trop bas quand la table des matières est réduite /
z-index: 6000; /* Assure que nous flottons au-dessus de l’en-tête, etc. */
/* Ajoute de l’opacité (translucidité) /
background-color: rgb(249, 249, 249);
background-color: rgba(249, 249, 249, 0.9); /* Plus l’opacité est élevée (dernier argument), moins il y a de transparence /
}
/* Assure que la hauteur de la table des matières n’envahit pas l’écran ; Les pourcentages peuvent être plus élevés que le port d’affichage, nous utilisons donc des pixels /
#toc > ul {
max-height: 350px;
max-width: 250px
overflow: auto;
}
.toctoggle {
float: right;
}
/* Fin code table des matières flottante translucide à droite */
/* supp lien aide */
.mw-indicator {
display: none;
}
/* supp crochets notes */
.mw-editsection-bracket {
display: none;
}
/* Fixe Formulaires liste Utilisateurs, Import image
#content .oo-ui-widget {
height: auto;
}*/
/* Affichage coord */
.geo-default { display: inline } .geo-nondefault { display: inline }
.geo-dec { display: none } .geo-dms { display: inline }
/* Ombre navbox
@media screen {
table.navbox {
box-shadow:3px 3px 6px #AAA;
-webkit-box-shadow:3px 3px 6px #AAA;
-moz-box-shadow:3px 3px 6px #AAA;
}
}*/
/* CSS copié depuis [https://foreground.wikiproject.net/w/index.php?title=MediaWiki:Common.css] */
/* Hide "Main Page" titles
body.page-Main_Page .title,
body.page-Main_Page #tagline {
display: none;
}*/
.row.display {
background: #eee;
font-size: 11px;
margin-bottom: 10px;
}
.row.display .columns, .row.display .column {
background: #e7e7e7;
border: 1px solid #ddd;
font-size: 13px;
font-weight: bold;
text-indent: 3px;
padding-top: 8px;
color: #444;
padding-bottom: 8px;
}
/* CodeRay Syntax Highlighting Styles to match Github */
.CodeRay {
background-color: #eee;
border: 1px solid #ccc;
font-family: "Consolas", "Liberation Mono", Courier, monospace;
color: #000;
padding: 0.8em 0 0.8em 0.8em;
margin-bottom: 1.3em;
overflow: auto;
}
.CodeRay pre {
margin: 0;
font-size: .9em;
line-height: 1.4em;
white-space: pre;
}
/* CookieWarning */
.mw-cookiewarning-container {
min-height: 4em;
padding: 15px;
}
/* Fin CSS copié depuis [https://foreground.wikiproject.net/w/index.php?title=MediaWiki:Common.css] */
/* Contribution Scores */
* {
box-sizing: border-box;
}
/* Contribution Scores */
.contributionscores-wrapper { }
.contributionscores-title {
margin-bottom: .4em;
padding-left: .4em;
}
.contributionscores .header {
background-color: #cccccc;
border-bottom: 1px solid #999999;
font-weight: bold;
}
.contributionscores .odd {
background-color: #eeeeee;
}
.contributionscores .header td {
padding-left: .2em;
padding-right: .2em;
}
.contributionscores .content {
padding-left: .2em;
padding-right: .2em;
}
/* Tableaux test du 23-09-2018
table.wikitable > tr > th,
table.wikitable > tr > td,
table.wikitable > * > tr > th,
table.wikitable > * > tr > td {
border: 1px #bfbfbf solid;
padding: 0.6em;
}*/
/* Tableaux match amicaux test du 23-09-2018 */
/* ligne titre tableau
table.wikitable.amicaux > caption {
padding-bottom: .25rem;
}*/
/* titre colonnes
table.wikitable.amicaux > tr > th,
table.wikitable.amicaux > * > tr > th {
border: 1px #888 solid;
background-color: #abc;
padding: 0.6em;
text-align: center;
font-weight: bold;
}*/
/* couleurs lignes tableau
table.wikitable.amicaux > tr > td,
table.wikitable.amicaux > * > tr > td {
border: 1px #888 solid;
background-color: #e0ffff;
}*/
/* couleurs lignes alternées
table.wikitable.amicaux tr:nth-of-type(2n) {
background-color: #E0FFFF;
}*/
/* Marge haut pages */
#page-content {
margin: .4em 0;
}
/* Retire le nom de la page d'accueil
body.action-view.page-Accueil #firstHeading {
position: absolute;
top: -5000px;
}*/
/* Masquer le titre de la page principale */
body.page-Accueil.action-view h1.firstHeading,
body.page-Accueil.action-submit h1.firstHeading, {
display: none;
}
/* Compilation articles récents
span.mw-newpages-time,
span.mw-newpages-history,
span.mw-newpages-length,
a.mw-userlink,
span.mw-usertoollinks,
span.comment,
span.mw-newpages-oldtitle {
display: none;
}*/