MediaWiki:Common.css : Différence entre versions

(Page blanchie)
Ligne 1 : Ligne 1 :
/* Le CSS placé ici sera appliqué à tous les habillages. */
 
#cartouche {
 
position : relative;
 
top : 100px;
 
right : 0;
 
width : 20%;
 
}
 
  
img {
 
    max-width: 100%;
 
    height: auto;
 
}
 
 
#valuecol {
 
vertical-align:middle;
 
display: table-cell;
 
}
 
#titlecol {
 
font-weight: bolder;
 
vertical-align:top;
 
display: table-cell;
 
}
 
 
#vid {
 
  margin: 1% 15%
 
}
 
 
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;
 
}
 
 
#mw-panel, #mw-head, #mw-page-base,  #firstHeading,  #footer,  #left-navigation,  #contentSub,  #jump-to-nav,  .mw-pt-translate-header {display:none;}
 
#content.mw-body { margin: 10em; border:none;}
 
#mw-head-base, #content, #footer {display:none;}
 
.ns-3504 #mw-content-ltr {
 
color: #000000;
 
}
 
body.ns-3504 {background: #282828}
 
 
.ns-3504 #content a {
 
color: #da5c2a;
 
}
 
 
/* Style the button that is used to open and close the collapsible content */
 
.collapsible:focus {
 
/*  background-color: #eee;*/
 
  background-image:url('https://rhinedits.u-strasbg.fr/w/images/1/18/Avant1930.png');
 
  color: #222;
 
  cursor: pointer;
 
  padding: 0;
 
  width: 90%;
 
  border: none;
 
  text-align: right;
 
  outline: none;
 
  font-size: 25px;
 
 
}
 
 
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
 
.active, .collapsible:hover {
 
  background-color: #ccc;
 
}
 
 
/* Style the collapsible content. Note: hidden by default */
 
.content {
 
    padding: 0 18px;
 
    background-color: white;
 
    max-height: 0;
 
    overflow: hidden;
 
    transition: max-height 0.2s ease-out;
 
}
 
 
/*
 
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;
 
}
 
*/
 
 
/* Avoid collision of blockquote with floating elements by swapping margin and padding */
 
blockquote {
 
overflow: hidden;
 
margin: 1em 0;
 
padding: 0 40px;
 
}
 
 
/* Reduce page jumps by hiding collapsed/dismissed content */
 
.client-js .mw-special-Watchlist #watchlist-message,
 
.client-js .NavFrame .collapsed .NavContent,
 
.client-js .collapsible:not( .mw-made-collapsible) .collapsed > tbody > tr:not(:first-child) {
 
display: none;
 
}
 

Version du 3 janvier 2019 à 19:45