This commit is contained in:
Giorgio Croci 2017-05-26 23:36:14 +02:00
commit a3940ad75d
7 changed files with 11 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: 47 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 {
@ -37,9 +39,13 @@
}
td {
background: white;
font-size: 12px;
font-weight: : 700;
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 +54,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/prova1.png");
background-size: 180% 300%;
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"