MediaWiki:Common.css : Différence entre versions

Ligne 7 : Ligne 7 :
 
     position: relative;
 
     position: relative;
 
     background-image: url('/images/6/67/Wm-banner-bg.png');
 
     background-image: url('/images/6/67/Wm-banner-bg.png');
     background-size: contain;
+
     background-size: 92%;
 
     background-repeat: no-repeat;
 
     background-repeat: no-repeat;
 
     background-position: bottom center;
 
     background-position: bottom center;
Ligne 30 : Ligne 30 :
 
     position: absolute;
 
     position: absolute;
 
     right: 0;
 
     right: 0;
     bottom: 300px;
+
     bottom: 250px;
 
     font-family: 'Amiri',serif;
 
     font-family: 'Amiri',serif;
     font-size: 30px;
+
     font-size: 35px;
 
}
 
}
  
Ligne 38 : Ligne 38 :
 
     position: absolute;
 
     position: absolute;
 
     right: 0;
 
     right: 0;
     bottom: 270px;
+
     bottom: 220px;
 
     font-size: 1.25em;
 
     font-size: 1.25em;
 
     color: #aec4e8;
 
     color: #aec4e8;

Version du 24 juin 2019 à 15:02

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

@import url('https://fonts.googleapis.com/css?family=Amiri&display=swap');

.wm-theme{
    background-color:#fff;
    position: relative;
    background-image: url('/images/6/67/Wm-banner-bg.png');
    background-size: 92%;
    background-repeat: no-repeat;
    background-position: bottom center;
}

.wm-banner-person {
    height: 608px;
}

.wm-banner-picture {
    background-image: url('/images/0/0b/Wikimano-personna.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right 85px top 20px;
    height: 100%;
    width: 100%;
    position: absolute;
    bottom: 0;
}

.wm-banner-title {
    position: absolute;
    right: 0;
    bottom: 250px;
    font-family: 'Amiri',serif;
    font-size: 35px;
}

.wm-banner-subtitle {
    position: absolute;
    right: 0;
    bottom: 220px;
    font-size: 1.25em;
    color: #aec4e8;
}

.wm-theme-banner {
 padding-top:130px;
 padding-bottom:130px;
}

.wm-theme-banner h1 {font-family: 'Amiri', serif; font-size: 46px;}

.wm-theme-banner p {font-size: 1.15em; line-height: 1.7em;}

.wm-theme-stripe {
    width: 100%;
    height: 77px;
    -webkit-transform: skewY(3deg);
    transform: skewY(3deg);
    -webkit-transform-origin: 0;
    transform-origin: 0;
    background: #f9fafc !important;
    -webkit-print-color-adjust: exact;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

.wm-hp-spaces-block {
    background: #fff;
    height: 200px;
    position: relative;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow:hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    box-shadow: rgba(0,0,0,0.1) 0px 2px 10px;
    transition: all 0.2s cubic-bezier(0.41, 0.094, 0.54, 0.07) 0s;
}

.wm-hp-spaces-block:hover {
transform: translateY(-5px);
    box-shadow: rgba(0,0,0,0.3) 0px 8px 15px;
  cursor:pointer;
}

.wm-hp-spaces-block.maroquinerie {
   background-image:url('/images/3/33/Wm-hp-pics_maroquinerie.jpg')
}

.wm-hp-spaces-block.couture {
   background-image:url('/images/c/cb/Wm-hp-pics_couture.jpg')
}

.wm-hp-spaces-block.fibreoptique {
   background-image:url('/images/2/20/Wm-hp-pics_fibreoptique.jpg')
}

.wm-hp-spaces-block.charpentier {
   background-image:url('/images/5/51/Wm-hp-pics_charpentier.jpg')
}

.wm-hp-spaces-block.boulanger {
   background-image:url('/images/c/c1/Wm-hp-pics_boulanger.jpg')
}

.wm-hp-spaces-block.plombier {
   background-image:url('/images/e/e2/Wm-hp-pics_plombier.jpg')
}

.wm-hp-spaces-block.datacenter {
   background-image:url('/images/0/01/Wm-hp-pics_datacenter.jpg')
}

.wm-hp-spaces-block.electricien {
   background-image:url('/images/b/b2/Wm-hp-pics_electricien.jpg')
}

.wm-hp-spaces-block.metierduvin {
   background-image:url('/images/f/ff/Wm-hp-pics_metierduvin.jpg')
}

.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;
}

.page-header {
    color: #b4bed4;
    text-transform: uppercase;
    font-size: 19px;
    border: 0;
    margin: 23px 0px 20px 0px;
}