* { padding: 0; margin: 0; box-sizing: border-box; } html, body { font-family: 'Oswald', sans-serif; background: #ebebeb; background: url('../imgs/bg.png') no-repeat bottom center fixed; background-size: cover; } nav { margin: 25px 20%; } nav input { font-size: 25px; height: 70px; width: 100%; border: none; background: white; padding: 10px 20px; border-radius: 5px; outline: 0; letter-spacing: 1px; word-spacing: 8px; text-align: center; font-family: 'Oswald', sans-serif; } .referent { display: inline-block; cursor: pointer; border-radius: 5px; position: relative; background: white; margin: 25px; width: 200px; height: 200px; background-position: center center; background-size: cover; overflow: hidden; } .referent:hover { opacity: 1; } .referent .infos { padding: 10px; position: absolute; bottom: 0; width: 100%; background:rgba(0, 0, 0, 0.7); color: white; text-align: center; } .referents { text-align: center; } .game { border-radius: 20px; border: 3px solid black; } .text-center { margin-top: 6%; text-align: center; background-color: rgba(0, 0, 0, 0.2); } .text-center img { height: 250px; margin: 2%; } .text-center img:hover { padding-bottom : 5px; border-bottom: 2px solid dimgrey; } .titreIcon { text-align:center; margin-top: 2%; } .titreIcon img { height: 150px; } #back_ref img { height: 20px; } button { vertical-align:top; cursor: pointer; display: inline-block; height:70px; line-height: 60px; background: #47ad4b; border: 1px solid green; border-bottom-width: 6px; border-radius: 10px; font-size: 40px; padding: 0 25px; margin-bottom: 20px; outline: 0; transition: all 0.2s; } button:hover { border-bottom-width: 4px; } button:active { border-bottom-width: 2px; } .abso { position:absolute; width:100%; height:100%; } /* FIL D'ARIANE */ #back_ref{ font-family:"Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif; width:500px; margin-left: 5px; } /*Reset sur la liste*/ #back_ref ul, #back_ref li { list-style-type:none; padding:0;margin:0; } /*Styles sur la liste*/ #back_ref ul{ height:33px; margin:10px auto; padding:30px 0; } /*Premier ÈlÈment de la liste*/ #back_ref li.first { background:url(../imgs/ariane/first-left.png) 0 0 no-repeat; height:33px; } /*Tous les ÈlÈments de la liste sauf premier et dernier*/ #back_ref li { float:left; background:url(../imgs/ariane/general-left.png) 0 0 no-repeat; line-height:33px; margin:5px 0 0 0; padding-left:13px; } /*Style sur les ÈlÈments a et span*/ #back_ref li a, #back_ref li span { float:left; background:url(../imgs/ariane/bg-gradient.jpg) 0 0 repeat-x; height:33px; margin:0; padding:0 0 0 5px; font-size:11px; text-transform:uppercase; letter-spacing:0.02em; } /*Style du dernier span de la liste*/ #back_ref li span.end { float:left; background:url(../imgs/ariane/general-right.png) 0 0 no-repeat; width:20px; height:33px; } #back_ref img { vertical-align:middle; }