This commit is contained in:
Giorgio Croci 2017-05-27 01:16:24 +02:00
commit c86942007d
4 changed files with 12 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
static/cibo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
static/prova1 - Copia.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

View file

@ -40,7 +40,6 @@
td { td {
background: white; background: white;
font-size: 12px; font-size: 12px;
font-weight: : 700;
text-align: center; text-align: center;
vertical-align: middle; vertical-align: middle;
width: calc((70vw / {{.larghezza}}) - 3px); width: calc((70vw / {{.larghezza}}) - 3px);
@ -50,7 +49,8 @@
height: 3em; height: 3em;
} }
.cibo { .cibo {
background: #FFFF33; background-image: url("/static/cibo.png");
background-size: 100% 100%;
padding: 0px; padding: 0px;
} }
.razza1 { .razza1 {
@ -89,6 +89,13 @@
height: 1em; height: 1em;
display: inline-block; display: inline-block;
} }
img{
height: 100%
}
img.batteri{
height: 100%
}
</style> </style>
<script> <script>
reload = function() { reload = function() {
@ -114,9 +121,9 @@
<div id="tb" class="tabella"></div> <div id="tb" class="tabella"></div>
<div class="legenda"> <div class="legenda">
<h1>legenda</h1> <h1>legenda</h1>
<div class="colorsample" style="background-color:#FFFF33"></div>&nbsp;Cibo<br> <div class="colorsample"><img src="/static/cibo.png"></div>&nbsp;Cibo<br>
<div class="colorsample" style="background-color:#00ff00"></div>&nbsp;Razza 1<br> <div class="colorsample"><img class="batteri" src="/static/cellaVerde - Copia.png"></div>&nbsp;Razza 1<br>
<div class="colorsample" style="background-color:#F00"></div>&nbsp;Razza 2 <div class="colorsample"><img class="batteri" src="/static/prova1 - Copia.png"></div>&nbsp;Razza 2
</div> </div>
</main> </main>