You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
140 lines
2.6 KiB
140 lines
2.6 KiB
:root{
|
|
--taille : 10vw;
|
|
--x: 3vw;
|
|
--y: 2.5vw;
|
|
--z: 1.5vw;
|
|
}
|
|
|
|
.carte {
|
|
background-color: #B7B7B7;
|
|
border-radius: 0.75vw;
|
|
padding-right: 0.15vw;
|
|
padding-left: 0.15vw;
|
|
padding-bottom: 0.25vw;
|
|
display: flex;
|
|
margin-right: 0.4vw;
|
|
margin-left: 0.4vw;
|
|
margin-bottom: 1vw;
|
|
width: var(--taille);
|
|
-webkit-flex-flow: row wrap;
|
|
justify-content: space-around;
|
|
}
|
|
/*1 + 3*x colonne*/
|
|
.case{
|
|
width: 3vw;
|
|
padding-left: 0.1vw;
|
|
margin-top: 0.25vw;
|
|
height: 3vw;
|
|
border-radius: 10px;
|
|
display: table-cell;
|
|
position: relative;
|
|
vertical-align: middle;
|
|
background-color: #E6E6E6;
|
|
}
|
|
|
|
.troispar4{
|
|
width: 10vw;
|
|
}
|
|
|
|
.troispar3{
|
|
width: 10vw;
|
|
}
|
|
|
|
.quatrepar3{
|
|
width: 13vw;
|
|
}
|
|
|
|
#conteneur{
|
|
height: 30vw;
|
|
width: 100%;
|
|
}
|
|
|
|
.containinte{
|
|
top:calc((var(--x) - var(--z)) / 2);
|
|
left:calc((var(--x) - var(--z)) / 2);
|
|
height: var(--z);
|
|
width: var(--z);
|
|
z-index: 2;
|
|
position: absolute;
|
|
}
|
|
|
|
.containexte{
|
|
top:calc((var(--x) - var(--y)) / 2);
|
|
left:calc((var(--x) - var(--y)) / 2);
|
|
height: var(--y);
|
|
width: var(--y);
|
|
z-index: 1;
|
|
position: absolute;
|
|
}
|
|
|
|
.formeinte{
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
.formeexte{
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
.containform3{
|
|
position: relative;
|
|
height: var(--x);
|
|
width: var(--x);
|
|
display: table-cell;
|
|
}
|
|
|
|
.cb {
|
|
background-color: #E6E6E6;
|
|
}
|
|
|
|
.cn {
|
|
background-color: black;
|
|
}
|
|
|
|
.rond{
|
|
-webkit-clip-path: circle(50% at 50% 50%);
|
|
clip-path: circle(50% at 50% 50%);
|
|
}
|
|
|
|
.carre{
|
|
-webkit-clip-path: inset(0 0 0 0);
|
|
clip-path: inset(0 0 0 0);
|
|
}
|
|
|
|
.triangle{
|
|
-webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
|
|
clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
|
|
}
|
|
|
|
.castriangle{
|
|
margin-top: calc( (var(--y) - var(--z)) / 5);
|
|
}
|
|
|
|
.caspenta{
|
|
margin-top: calc( (var(--y) - var(--z)) / 10);
|
|
}
|
|
|
|
.losange{
|
|
-webkit-clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
|
|
clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
|
|
}
|
|
|
|
.croix{
|
|
-webkit-clip-path: polygon(20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%, 80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%);
|
|
clip-path: polygon(20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%, 80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%);
|
|
}
|
|
|
|
.penta{
|
|
-webkit-clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
|
|
clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
|
|
}
|
|
|
|
.hexa{
|
|
-webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
|
|
clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
|
|
}
|
|
|
|
.hocto{
|
|
-webkit-clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
|
|
clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
|
|
} |