MediaWiki:Common.css : Différence entre versions

Ligne 9 : Ligne 9 :
 
     margin-bottom: 20px;
 
     margin-bottom: 20px;
 
     border-radius: 10px;
 
     border-radius: 10px;
 +
    overflow:hidden;
 
}
 
}
  

Version du 21 juin 2019 à 13:17

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

.wm-hp-spaces-block {
    background: #fff;
    height: 200px;
    position: relative;
    -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    margin-bottom: 20px;
    border-radius: 10px;
    overflow:hidden;
}

.wm-hp-spaces-block-title {
    bottom: 0;
    position: absolute;
    padding: 50px 20px 20px;
    font-size: 1.3em;
    width: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
    color: #fff;
}

.wm-hp-spaces-block:after{
    content:"";
    position:absolute;
    z-index:-1;
    -webkit-box-shadow:0 0 40px rgba(0,0,0,0.8);
    box-shadow:0 0 40px rgba(0,0,0,0.8);
    bottom:0px;
    left:10%;
    right:10%;
    width:80%;
    height:50%;
    -moz-border-radius:100%;
    border-radius:100%;
}