Improve positioning of description dialog
parent
6d1ceccecd
commit
e8622a3f42
|
@ -173,13 +173,12 @@
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
width: 20em;
|
width: 20em;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 2em;
|
top: 50%;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
margin-left: -10em;
|
|
||||||
box-shadow: 0 0 1em #666;
|
box-shadow: 0 0 1em #666;
|
||||||
-webkit-transform: translateZ(1.5em);
|
-webkit-transform: translate(-50%,-50%);
|
||||||
-moz-transform: translateZ(1.5em);
|
-moz-transform: translate(-50%,-50%);
|
||||||
transform: translateZ(1.5em);
|
transform: translate(-50%,-50%);
|
||||||
}
|
}
|
||||||
.h5p-memory-game .h5p-memory-image {
|
.h5p-memory-game .h5p-memory-image {
|
||||||
float: left;
|
float: left;
|
||||||
|
|
Loading…
Reference in New Issue