MediaWiki:Common.css : Différence entre versions
Ligne 16 : | Ligne 16 : | ||
display: table-cell; | display: table-cell; | ||
} | } | ||
+ | |||
+ | #contenu{ | ||
+ | font:Verdana, Geneva, sans-serif; | ||
+ | font-size:18px; | ||
+ | text-align:left; | ||
+ | height:50px; | ||
+ | display: table; | ||
+ | width: 100%; | ||
+ | } | ||
+ | #contenu span { | ||
+ | /* Aligne le texte verticalement au milieu */ | ||
+ | vertical-align:middle; | ||
+ | display: table-cell; | ||
+ | } | ||
+ | |||
body | body |
Version du 12 septembre 2018 à 14:27
/* 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;
}
#contenu{
font:Verdana, Geneva, sans-serif;
font-size:18px;
text-align:left;
height:50px;
display: table;
width: 100%;
}
#contenu span {
/* Aligne le texte verticalement au milieu */
vertical-align:middle;
display: table-cell;
}
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;
}
*/