scripts/wiki/static/common/pagesPersos.css
glondu 70d12bf83e On espace un peu plus les vignettes. Le probleme du centrage reste entier.
darcs-hash:20060516005158-68412-e2d8135f8275528c2e7febbaa15be6ab80f74a95.gz
2006-05-16 02:51:58 +02:00

26 lines
621 B
CSS

div.vignetteperso {
text-align: center;
height: 20em;
width: 15em;
border: 0px;
float: left;
padding: 10px;
overflow: visible;
font-size: 0.65em;
}
div.vignetteperso a {
height:100px;
width:100%;
display: table-cell;
vertical-align: middle;
}
/* redimentionnement proportionnel des images : on suppose que l'image est plus large que haute */
/* /!\ si on ecrit a la fois max-width et max-heigth au lieu de width et height, le redimentionnement n'est plus proportionnel */
div.vignetteperso img {
width:100px;
max-height:100px;
margin: auto auto auto auto;
}