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.

162 lines
2.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: 200px;
margin-right: 5px;
height: 245px;
border: 2px solid #ccc;
}
.card:hover {
border-color: #e2e2e2;
}
.selected {
background: #eee;
}
.game-board {
width: 850px;
height: 1000px;
margin: 0 auto;
transform: rotate(90deg);
}
.shape {
display: inline-block;
border: 2px solid white;
height: 45%;
width: 25%;
margin-top: 30%;
}
.diamond {
width: 33%;
height: 27%;
margin-top: 45%;
transform: rotate(67deg) skewX(45deg) scaleY( 0.70710678118);
}
.wave {
/*clip-path: polygon(5% 34%, 5% 20%, 79% 21%, 66% 61%, 98% 60%, 97% 73%, 19% 74%, 37% 34%);/
/*-moz-transform: scale(0.8) rotate(10deg) translate(15px, -1px) skew(-10deg, 8deg);
-webkit-transform: scale(0.8) rotate(10deg) translate(15px, -1px) skew(-10deg, 8deg);
-o-transform: scale(0.8) rotate(10deg) translate(15px, -1px) skew(-10deg, 8deg);
-ms-transform: scale(0.8) rotate(10deg) translate(15px, -1px) skew(-10deg, 8deg);
transform: scale(0.8) rotate(10deg) translate(15px, -1px) skew(-10deg, 8deg);*/
/*-webkit-border-radius: 20px 100px 20px 100px;
-moz-border-radius: 20px 100px 20px 100px;*/
border-radius: 20px 100px 20px 100px;
}
.oval {
border-radius: 40px / 50px;
}
.yellow {
background: yellow;
}
.gray {
background: gray;
}
.blue {
background: blue;
}
.green.solid {
background: green;
}
.red.solid {
background: red;
}
.purple.solid {
background: purple;
}
.red.open{
border: 4px solid red;
}
.green.open {
border: 4px solid green;
}
.purple.open {
border: 4px solid purple;
}
.red.stripped{
background: repeating-linear-gradient(-45deg, red, red 5px, white 5px, white 10px);
border: 2px solid red;
}
.green.stripped {
background: repeating-linear-gradient(-45deg, green, green 5px, white 5px, white 10px);
border: 2px solid green;
}
.purple.stripped {
background: repeating-linear-gradient(-45deg, 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*/