WAAP Maj
by matmat
HTML
<div id="Mainwrapper">
<div class="AjouterObjet h60 w60 lh30" id="AjouterObjet">Ajouter
<br />Idée</div>
<div class="maintitle h40">
<div class="wrapper1">
<div class="helper"></div>
<div class="imgcontent70">
<img src="http://www.junkst.com/Images/Icones/WLAP.png" alt="Junkst" title="Junkst" />
</div>
<div class="contentmaintitle">Ma <span class="cOR">Liste d'idée</span>
</div>
</div>
</div>
<!-- Fin boite titre-->
<div class="ligneAPPnavmenu WLnav">
<div class="helper"></div>
<div class="titlepage">Page:</div>
<div class="navpage h20 w20 lh20 bgWcWH">1</div>
<div class="navpage w20 w20 lh20 bgWcWH">2</div>
</div>
</div>
CSS
html, body {
/* suppression des éventuels styles par défaut */
margin:0;
padding:0;
font-size:100%;
/* on spécifie un repère pour le calcul des hauteurs */
height:100%;
font-family:Georgia;
padding:30px;
}
a {
text-decoration:none;
color:#900;
}
.h10 {
height:20px;
}
.w10 {
width:20px;
}
.h20 {
height:20px;
}
.lh20 {
line-height:20px;
}
.h30 {
height:30px;
}
.w30 {
width:30px;
}
.w40 {
width:40px;
}
.lh30 {
line-height:30px;
}
.h40 {
height:40px;
}
.lh40 {
line-height:40px;
}
.h60 {
height:60px;
}
.lh60 {
line-height:60px;
}
.w60 {
width:60px;
}
.helper, .imgcontent70, .imgcontent2, .contentmaintitle, .imgcontent3, .imgcontent50 {
/* on permet à ces éléments de s'aligner verticalement */
display:inline-block;
vertical-align:middle;
}
.helper {
/* hauteur de la fenêtre, par rapport à laquelle les éléments vont être alignés */
height:100%;
}
.imgcontent70 {
/* des dimensions au hasard */
height:70%;
margin-left:2%;
/* on le rend visible */
}
.imgcontent70 img {
height:100%;
}
.imgcontent50 {
height:50%;
margin-left:2%;
}
.imgcontent50 img {
height:100%;
}
.imgcontent2, .contentmaintitle {
margin-left:2%;
color:#808080;
}
.imgcontent3 {
/* des dimensions au hasard */
height:50%;
cursor:pointer;
/* on le rend visible */
}
.imgcontent3 img {
height:100%;
}
.wrapper1 {
width:85%;
height:100%;
display:inline-block;
vertical-align:middle;
box-sizing:border-box;
}
.wrapper2 {
width:10%;
height:100%;
display:inline-block;
vertical-align:middle;
box-sizing:border-box;
}
.maintitle {
/* hauteur de la fenêtre, par rapport à laquelle les éléments vont être alignés */
background:whitesmoke;
box-sizing:border-box;
border-bottom:1px solid gainsboro;
}
#Mainwrapper {
/* hautr de la fenêtre, par rapport à laquelle les éléments vont être alignés */
...