2014-03-28 14:52:41 +01:00
|
|
|
.h5p-memory-game {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2017-01-23 14:12:33 +01:00
|
|
|
.h5p-memory-game > ul {
|
|
|
|
list-style: none !important;
|
|
|
|
padding: 0.25em 0.5em !important;
|
|
|
|
/*padding: 0 !important;*/
|
|
|
|
margin: 0 !important;
|
|
|
|
overflow: hidden !important;
|
|
|
|
font-size: 16px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
2014-03-28 14:52:41 +01:00
|
|
|
}
|
|
|
|
.h5p-memory-game .h5p-memory-card,
|
|
|
|
.h5p-memory-game .h5p-memory-card .h5p-back,
|
|
|
|
.h5p-memory-game .h5p-memory-card .h5p-front {
|
2017-01-23 14:12:33 +01:00
|
|
|
width: 6.25em;
|
|
|
|
height: 6.25em;
|
2016-03-04 12:44:30 +01:00
|
|
|
-webkit-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
2014-03-28 14:52:41 +01:00
|
|
|
user-select: none;
|
|
|
|
}
|
2014-09-16 14:33:14 +02:00
|
|
|
.h5p-memory-game img {
|
2014-03-28 14:52:41 +01:00
|
|
|
-webkit-user-drag: none;
|
2017-01-23 14:12:33 +01:00
|
|
|
display: inline-block !important;
|
|
|
|
margin: auto !important;
|
|
|
|
vertical-align: middle;
|
2014-03-28 14:52:41 +01:00
|
|
|
}
|
2017-01-23 14:12:33 +01:00
|
|
|
.h5p-memory-game .h5p-memory-wrap {
|
2014-03-28 14:52:41 +01:00
|
|
|
float: left;
|
2017-01-23 14:12:33 +01:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.h5p-memory-game .h5p-memory-card {
|
|
|
|
display: inline-block;
|
2014-03-28 14:52:41 +01:00
|
|
|
outline: none;
|
|
|
|
position: relative;
|
2017-01-23 14:12:33 +01:00
|
|
|
margin: 0.75em 0.5em;
|
2014-10-27 14:49:41 +01:00
|
|
|
padding: 0;
|
|
|
|
background: transparent;
|
2017-01-23 14:12:33 +01:00
|
|
|
-webkit-perspective: 25em;
|
|
|
|
-moz-perspective: 25em;
|
|
|
|
perspective: 25em;
|
2017-01-20 13:42:35 +01:00
|
|
|
-webkit-transition: opacity 0.4s, filter 0.4s;
|
|
|
|
-moz-transition: opacity 0.4s, filter 0.4s;
|
|
|
|
transition: opacity 0.4s, filter 0.4s;
|
2014-03-28 14:52:41 +01:00
|
|
|
}
|
|
|
|
.h5p-memory-game .h5p-memory-card .h5p-back,
|
|
|
|
.h5p-memory-game .h5p-memory-card .h5p-front {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background: #cfcfcf;
|
|
|
|
border: 2px solid #d0d0d0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
border-radius: 4px;
|
|
|
|
-webkit-backface-visibility: hidden;
|
|
|
|
-moz-backface-visibility: hidden;
|
|
|
|
backface-visibility: hidden;
|
|
|
|
-webkit-transform: translateZ(0);
|
|
|
|
-moz-transform: translateZ(0);
|
|
|
|
transform: translateZ(0);
|
|
|
|
-webkit-transition: -webkit-transform 0.6s;
|
|
|
|
-moz-transition: -moz-transform 0.6s;
|
|
|
|
transition: transform 0.6s;
|
|
|
|
-webkit-transform-style: preserve-3d;
|
|
|
|
-moz-transform-style: preserve-3d;
|
|
|
|
transform-style: preserve-3d;
|
|
|
|
}
|
|
|
|
.h5p-memory-game .h5p-memory-card .h5p-front {
|
|
|
|
cursor: pointer;
|
2017-01-23 14:12:33 +01:00
|
|
|
text-align: center;
|
2014-03-28 14:52:41 +01:00
|
|
|
}
|
|
|
|
.h5p-memory-game .h5p-memory-card .h5p-front:hover {
|
|
|
|
background: #dfdfdf;
|
|
|
|
}
|
|
|
|
.h5p-memory-game .h5p-memory-card .h5p-front:before {
|
|
|
|
content: "?";
|
2017-01-23 14:12:33 +01:00
|
|
|
font-size: 3.75em;
|
2014-03-28 14:52:41 +01:00
|
|
|
color: #909090;
|
2017-01-23 14:12:33 +01:00
|
|
|
line-height: 1.67em;
|
2014-03-28 14:52:41 +01:00
|
|
|
}
|
|
|
|
.h5p-memory-game .h5p-memory-card .h5p-front:after {
|
2016-03-04 12:44:30 +01:00
|
|
|
content: "";
|
2014-03-28 14:52:41 +01:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 85%;
|
|
|
|
height: 50%;
|
|
|
|
width: 100%;
|
|
|
|
-webkit-transform: rotateX(90deg);
|
|
|
|
-moz-transform: rotateX(90deg);
|
|
|
|
transform: rotateX(90deg);
|
|
|
|
background-image: -webkit-radial-gradient(ellipse closest-side, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
|
|
|
|
background-image: -moz-radial-gradient(ellipse closest-side, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
|
|
|
|
background-image: radial-gradient(ellipse closest-side, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
|
|
|
|
}
|
|
|
|
.h5p-memory-game .h5p-memory-card .h5p-back {
|
2017-01-23 14:12:33 +01:00
|
|
|
line-height: 5.9em;
|
|
|
|
text-align: center;
|
2014-03-28 14:52:41 +01:00
|
|
|
background: #f0f0f0;
|
|
|
|
-webkit-transform: rotateY(-180deg);
|
|
|
|
-moz-transform: rotateY(-180deg);
|
|
|
|
transform: rotateY(-180deg);
|
|
|
|
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
|
|
|
|
-ms-transform: scale(0,1.1);
|
|
|
|
}
|
|
|
|
.h5p-memory-game .h5p-memory-card.h5p-flipped .h5p-back {
|
|
|
|
-webkit-transform: rotateY(0deg);
|
|
|
|
-moz-transform: rotateY(0deg);
|
|
|
|
transform: rotateY(0deg);
|
|
|
|
-ms-transform: scale(1,1);
|
|
|
|
}
|
|
|
|
.h5p-memory-game .h5p-memory-card.h5p-flipped .h5p-front {
|
|
|
|
-webkit-transform: rotateY(180deg);
|
|
|
|
-moz-transform: rotateY(180deg);
|
|
|
|
-ms-transform: rotateY(180deg);
|
|
|
|
transform: rotateY(180deg);
|
|
|
|
-ms-transform: scale(0,1.1);
|
|
|
|
}
|
|
|
|
.h5p-memory-game .h5p-memory-card.h5p-matched {
|
2017-01-20 13:42:35 +01:00
|
|
|
opacity: 0.3;
|
|
|
|
filter: grayscale(100%);
|
2014-03-28 14:52:41 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.h5p-memory-game .h5p-feedback {
|
|
|
|
clear: both;
|
|
|
|
float: right;
|
|
|
|
line-height: 1.5em;
|
2014-05-13 10:04:25 +02:00
|
|
|
margin-right: 1em;
|
2014-03-28 14:52:41 +01:00
|
|
|
font-size: 2em;
|
|
|
|
visibility: hidden;
|
|
|
|
-webkit-transform: scale(0,0) rotate(90deg);
|
|
|
|
-moz-transform: scale(0,0) rotate(90deg);
|
|
|
|
-ms-transform: scale(0,0) rotate(90deg);
|
|
|
|
transform: scale(0,0) rotate(90deg);
|
|
|
|
-webkit-transition: -webkit-transform 0.2s;
|
|
|
|
-moz-transition: -webkit-transform 0.2s;
|
|
|
|
transition: -webkit-transform 0.2s;
|
|
|
|
}
|
|
|
|
.h5p-memory-game .h5p-feedback.h5p-show {
|
|
|
|
visibility: visible;
|
|
|
|
-webkit-transform: scale(1,1) rotate(0deg);
|
|
|
|
-moz-transform: scale(1,1) rotate(0deg);
|
|
|
|
-ms-transform: scale(1,1) rotate(0deg);
|
|
|
|
transform: scale(1,1) rotate(0deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.h5p-memory-game .h5p-status {
|
|
|
|
clear: left;
|
2014-05-13 10:04:25 +02:00
|
|
|
padding: 0 1em;
|
2016-03-04 12:44:30 +01:00
|
|
|
margin: 0.25em 0 1em 0;
|
2014-03-28 14:52:41 +01:00
|
|
|
}
|
|
|
|
.h5p-memory-game .h5p-status > dt {
|
|
|
|
float: left;
|
2016-03-04 12:44:30 +01:00
|
|
|
margin: 0 1em 0 0;
|
2014-03-28 14:52:41 +01:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
.h5p-memory-game .h5p-status > dt:after {
|
|
|
|
content: ":";
|
|
|
|
}
|
|
|
|
.h5p-memory-game .h5p-status > dd {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2014-09-16 14:33:14 +02:00
|
|
|
|
|
|
|
.h5p-memory-game .h5p-memory-pop {
|
|
|
|
display: none;
|
|
|
|
background: #fff;
|
|
|
|
padding: 1em;
|
|
|
|
width: 20em;
|
|
|
|
position: absolute;
|
2016-03-04 12:43:32 +01:00
|
|
|
top: 2em;
|
2014-09-16 14:33:14 +02:00
|
|
|
left: 50%;
|
|
|
|
margin-left: -10em;
|
|
|
|
box-shadow: 0 0 1em #666;
|
2017-01-23 14:12:33 +01:00
|
|
|
-webkit-transform: translateZ(1.5em);
|
|
|
|
-moz-transform: translateZ(1.5em);
|
|
|
|
transform: translateZ(1.5em);
|
2014-09-16 14:33:14 +02:00
|
|
|
}
|
|
|
|
.h5p-memory-game .h5p-memory-image {
|
|
|
|
float: left;
|
|
|
|
margin: 0 1em 1em 0;
|
|
|
|
border: 2px solid #d0d0d0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
border-radius: 4px;
|
|
|
|
background: #f0f0f0;
|
2017-01-23 14:12:33 +01:00
|
|
|
width: 6.25em;
|
|
|
|
height: 6.25em;
|
|
|
|
}
|
|
|
|
.h5p-memory-game .h5p-row-break {
|
|
|
|
clear: left;
|
2014-10-27 14:49:41 +01:00
|
|
|
}
|