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.
100 lines
1.3 KiB
100 lines
1.3 KiB
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
text-align: center;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 40px;
|
|
}
|
|
|
|
.submit {
|
|
margin-top: 2em;
|
|
font-size: 16px;
|
|
padding: 1em 3em;
|
|
background: #BADA55;
|
|
color: #000;
|
|
}
|
|
|
|
.submit:disabled {
|
|
background: #C5DA83;
|
|
color: #666;
|
|
}
|
|
|
|
.wrapper {
|
|
width: 1080px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.card {
|
|
display: inline-block;
|
|
width: 245px;
|
|
margin-right: 5px;
|
|
height: 200px;
|
|
border: 2px solid #ccc;
|
|
}
|
|
.card:hover {
|
|
border-color: #e2e2e2;
|
|
}
|
|
|
|
.selected {
|
|
background: #eee;
|
|
}
|
|
|
|
.game-board {
|
|
width: 1000px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.shape {
|
|
display: inline-block;
|
|
width: 70px;
|
|
height: 200px;
|
|
-webkit-mask-repeat: no-repeat;
|
|
-webkit-mask-position: 15px;
|
|
}
|
|
|
|
.diamond {
|
|
clip-path: polygon(50% 15%, 100% 50%, 50% 85%, 0% 50%);
|
|
}
|
|
|
|
|
|
|
|
.wave {
|
|
/*clip-path: polygon(5% 34%, 5% 20%, 79% 21%, 66% 61%, 98% 60%, 97% 73%, 19% 74%, 37% 34%);*/
|
|
-moz-transform: skew(-30deg, 0deg);
|
|
-webkit-transform: skew(-30deg, 0deg);
|
|
-o-transform: skew(-30deg, 0deg);
|
|
-ms-transform: skew(-30deg, 0deg);
|
|
transform: skew(-30deg, 0deg);
|
|
}
|
|
|
|
|
|
.oval {
|
|
clip-path: ellipse(40% 30% at 50% 50%);}
|
|
|
|
.green {
|
|
background: green;
|
|
}
|
|
|
|
|
|
.yellow {
|
|
background: yellow;
|
|
}
|
|
.gray {
|
|
background: gray;
|
|
}
|
|
.blue {
|
|
background: blue;
|
|
}
|
|
.red {
|
|
background: red;
|
|
}
|
|
.purple {
|
|
background: violet;
|
|
}
|
|
|
|
/*solution pour avoir l'image en rainure ou vide a voir dans le css*/ |