MediaWiki:Common.css : Différence entre versions
Ligne 15 : | Ligne 15 : | ||
vertical-align:left; | vertical-align:left; | ||
display: table-cell; | display: table-cell; | ||
+ | } | ||
+ | |||
+ | .centered { | ||
+ | position: fixed; | ||
+ | top: 50%; | ||
+ | left: 50%; | ||
+ | /* bring your own prefixes */ | ||
+ | transform: translate(-50%, -50%); | ||
} | } | ||
Version du 13 septembre 2018 à 14:54
/* Le CSS placé ici sera appliqué à tous les habillages. */
#cartouche {
position : sticky;
top : 100px;
right : 0px;
width : 20%
}
span#valuecol {
vertical-align:middle;
display: table-cell;
}
span#titlecol {
font-weight: bolder;
vertical-align:left;
display: table-cell;
}
.centered {
position: fixed;
top: 50%;
left: 50%;
/* bring your own prefixes */
transform: translate(-50%, -50%);
}
body
{
/*background-image:url('http://rhinedits.u-strasbg.fr/w/images/1/19/Grendelbruch.png');*/
filter:alpha(opacity=90);
opacity: 0.9;
-moz-opacity:0.9;
background-repeat: no-repeat;
background-position: center center;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
div#mw-panel, #mw-head, #mw-page-base, #firstHeading, #footer, #left-navigation, #contentSub, #jump-to-nav, .mw-pt-translate-header {display:none;}
div#content.mw-body { margin: 10em; border:none;} .
#mw-head-base, div#content, div#footer {display:none;}
.ns-3504 div#mw-content-ltr {
color: #000000;
}
body.ns-3504 {background: #282828}
.ns-3504 div#content a {
color: #da5c2a;
}
/*
div#mw-panel, #mw-head, #mw-page-base, #firstHeading, #footer, #left-navigation, #contentSub, #jump-to-nav, .mw-pt-translate-header {display:none;}
div#content.mw-body { margin: 10em; border:none;} .
#mw-head-base, div#content, div#footer {display:none;}
.ns-3504 div#mw-content-ltr {
color: #000000;
}
body.ns-3504 {background: #282828}
.ns-3504 div#content a {
color: #da5c2a;
}
*/