Merge branch 'master' into release

pull/10/head
Frode Petterson 2016-03-21 10:01:34 +01:00
commit ea359e3f8c
2 changed files with 9 additions and 7 deletions

View File

@ -5,6 +5,7 @@ html .h5p-memory-game > ul {
list-style: none; list-style: none;
padding: 0; padding: 0;
margin: 0; margin: 0;
overflow: hidden;
} }
.h5p-memory-game .h5p-memory-card, .h5p-memory-game .h5p-memory-card,
.h5p-memory-game .h5p-memory-card .h5p-back, .h5p-memory-game .h5p-memory-card .h5p-back,
@ -140,10 +141,11 @@ html .h5p-memory-game > ul {
.h5p-memory-game .h5p-status { .h5p-memory-game .h5p-status {
clear: left; clear: left;
padding: 0 1em; padding: 0 1em;
margin: 0.25em 0 1em 0;
} }
.h5p-memory-game .h5p-status > dt { .h5p-memory-game .h5p-status > dt {
float: left; float: left;
margin-right: 1em; margin: 0 1em 0 0;
font-weight: bold; font-weight: bold;
} }
.h5p-memory-game .h5p-status > dt:after { .h5p-memory-game .h5p-status > dt:after {
@ -159,7 +161,7 @@ html .h5p-memory-game > ul {
padding: 1em; padding: 1em;
width: 20em; width: 20em;
position: absolute; position: absolute;
top: 4em; top: 2em;
left: 50%; left: 50%;
margin-left: -10em; margin-left: -10em;
box-shadow: 0 0 1em #666; box-shadow: 0 0 1em #666;

View File

@ -23,7 +23,7 @@
* @param {function} done * @param {function} done
*/ */
self.show = function (desc, $img, done) { self.show = function (desc, $img, done) {
$desc.text(desc); $desc.html(desc);
$img.appendTo($image.html('')); $img.appendTo($image.html(''));
$popup.show(); $popup.show();
closed = done; closed = done;