face update

This commit is contained in:
Ruben 2016-09-19 01:08:28 +01:00
parent 36a47aea44
commit 03162cfd28

View file

@ -150,7 +150,10 @@ margin-top:1%;
}
svg{
margin-top:1%;
border-top: 1em solid rgb(153, 153, 153);
margin: 0px -0.5em;
width: 100%;
padding: 0.5em;
width:100%;
}
@ -189,6 +192,9 @@ padding:0.5%;
.currentHit h3 span{
color:yellow;
}
.currentHit h3 .last{color:red;}
.currentHit h3 .vs{background:none;color:black;padding-left:0.5em;padding-right:0.5em;}
.currentHit h3 .perfect{}
ul{
font-size:80%;
@ -214,6 +220,12 @@ color:red;
.currentHit li .diff.positive{
color:green;
}
.currentHit p {
margin: 0 -0.5em 1% -0.5em;
border-bottom: solid 1em #999;
padding: 0.5em;
text-align: center;
}
</style>
<body>
@ -270,8 +282,8 @@ echo "</div>"; // .mouth
echo "<div class='currentHit'>";
echo "<h3><span>last</span><span>vs</span><span>perfect</span></h3>";
echo "<p>".\PrettyDateTime\PrettyDateTime::parse($currentHit->getGame()->getOriginalGameAt())."</p>";
echo "<h3><span class='last'>last</span><span class='vs'>vs</span><span class='perfect'>perfect</span></h3>";
// echo "<p>".\PrettyDateTime\PrettyDateTime::parse($currentHit->getGame()->getOriginalGameAt())."</p>";
echo "<p>aim: {$currentHit->getTarget()->getScore()}% ".$currentHit->getTarget()->getEmotion()->getName()."</p>";
echo "<ul>";
$expressions = array_keys($currentHit->getExpressions()::$EXPRESSIONS_2ND_PERSON);