immagine aggiunta

This commit is contained in:
Davide999 2017-05-26 23:05:01 +02:00
parent e4e9298317
commit cdd0351158
7 changed files with 9 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

BIN
static/Immagine.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

View file

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

BIN
static/cellaVerde.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

BIN
static/prova1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

View file

@ -4,6 +4,8 @@
<meta charset="UTF-8">
<link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon">
<link rel="icon" href="/static/favicon.ico" type="image/x-icon">
<!--<img src="/static/CellaVerde.png">
<img src="/static/cellaRossa.png">-->
<link href="https://fonts.googleapis.com/css?family=Hammersmith+One" rel="stylesheet">
<style type="text/css">
body {
@ -40,6 +42,8 @@
text-align: center;
vertical-align: middle;
width: calc((70vw / {{.larghezza}}) - 3px);
color: black;
font-weight: bold;
min-height: calc(((100vw - 4em) / {{.altezza}}) - 8px);
height: 3em;
}
@ -48,11 +52,13 @@
padding: 0px;
}
.razza1 {
background: #00ff00;
background-image: url("/static/cellaVerde.png");
background-size: 200% 400%;
padding: 0px;
}
.razza2 {
background: #FF0000;
background-image: url("/static/cellaRossa.png");
background-size: 200% 400%;
padding: 0px;
}
div.tabella {

View file

@ -3,7 +3,7 @@
<tr>
{{range $cella := $riga}}
<td {{ if not $cella }}
class="vuoto"> </td>
class="vuoto"></td>
{{ else }}
{{ if $cella.IsFood }}
class="cibo"