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.
158 lines
1.9 KiB
158 lines
1.9 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: table-cell;
|
|
width: 190px;
|
|
margin-right: 5px;
|
|
height: 310px;
|
|
border: 2px solid #ccc;
|
|
background: white;
|
|
}
|
|
|
|
.card:hover {
|
|
border-color: #e2e2e2;
|
|
}
|
|
|
|
.selected {
|
|
background: #eee;
|
|
}
|
|
|
|
.game-board {
|
|
|
|
height: 1000px;
|
|
margin-left: 22%;
|
|
transform: rotate(90deg);
|
|
|
|
}
|
|
|
|
.shape {
|
|
display: inline-block;
|
|
width: 40px;
|
|
height: 100px;
|
|
-webkit-mask-repeat: no-repeat;
|
|
-webkit-mask-position: 15px;
|
|
margin-top: 55%;
|
|
}
|
|
|
|
.diamond {
|
|
transform: rotate(67deg) skewX(45deg) scaleY( 0.40);
|
|
width: 60px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wave {
|
|
border-radius: 15px 180px 15px 180px;
|
|
transform: rotate(1deg) skewX(0.5deg) scaleX(0.8);
|
|
width: 45px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.oval {
|
|
border-radius: 40px / 50px;
|
|
transform: rotate(0.5deg) skewX(1deg) scaleX(0.8);
|
|
width: 55px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.yellow {
|
|
background: yellow;
|
|
}
|
|
.gray {
|
|
background: gray;
|
|
}
|
|
.blue {
|
|
background: blue;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.green.solid {
|
|
background: green;
|
|
}
|
|
|
|
.red.solid {
|
|
|
|
background: red;
|
|
}
|
|
.purple.solid {
|
|
background: purple;
|
|
}
|
|
|
|
|
|
|
|
.red.open{
|
|
border: 2px solid red;
|
|
}
|
|
|
|
|
|
.green.open {
|
|
border: 2px solid green;
|
|
}
|
|
|
|
.purple.open {
|
|
border: 2px solid purple;
|
|
}
|
|
|
|
|
|
|
|
|
|
.red.stripped{
|
|
background: repeating-linear-gradient(-40deg, red, red 5px, white 5px, white 10px);
|
|
border: 2px solid red;
|
|
|
|
}
|
|
|
|
.green.stripped {
|
|
background: repeating-linear-gradient(-40deg, green, green 5px, white 5px, white 10px);
|
|
border: 2px solid green;
|
|
|
|
}
|
|
|
|
.purple.stripped {
|
|
background: repeating-linear-gradient(-40deg, purple, purple 5px, white 5px, white 10px);
|
|
border: 2px solid purple;
|
|
}
|
|
|
|
|
|
/*solution pour avoir l'image en rainure ou vide a voir dans le css*/ |