Difference between revisions of "Template:UPMC-Paris/CSS"

Line 143: Line 143:
 
overflow:hidden;
 
overflow:hidden;
 
}
 
}
 
 
 
 
 
 
.hexagon {
 
  position: relative;
 
  width: 300px;
 
  height: 173.21px;
 
  background-color: #64C7CC;
 
  margin: 86.60px 0;
 
}
 
 
.hexagon:before,
 
.hexagon:after {
 
  content: "";
 
  position: absolute;
 
  width: 0;
 
  border-left: 150px solid transparent;
 
  border-right: 150px solid transparent;
 
}
 
 
.hexagon:before {
 
  bottom: 100%;
 
  border-bottom: 86.60px solid #64C7CC;
 
}
 
 
.hexagon:after {
 
  top: 100%;
 
  width: 0;
 
  border-top: 86.60px solid #64C7CC;
 
}
 
 
 
 
 
 
 
 
 
  
  
 
#text #gauche {
 
#text #gauche {
 
background-image:url(https://scontent-cdg2-1.xx.fbcdn.net/t31.0-8/14560243_10210866484280920_804730630354307315_o.jpg);
 
background-image:url(https://scontent-cdg2-1.xx.fbcdn.net/t31.0-8/14560243_10210866484280920_804730630354307315_o.jpg);
 +
    text-align: center
 
     float:left;
 
     float:left;
 
     width:300px;
 
     width:300px;

Revision as of 21:54, 5 October 2016