Merge branch 'master' of https://github.com/praticamentetilde/goBug
This commit is contained in:
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
BIN
static/Immagine.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3 KiB |
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
BIN
static/cellaVerde.png
Normal file
BIN
static/cellaVerde.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 48 KiB |
BIN
static/prova1.png
Normal file
BIN
static/prova1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 47 KiB |
|
@ -4,6 +4,8 @@
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon">
|
<link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon">
|
||||||
<link rel="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">
|
<link href="https://fonts.googleapis.com/css?family=Hammersmith+One" rel="stylesheet">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
body {
|
body {
|
||||||
|
@ -37,9 +39,13 @@
|
||||||
}
|
}
|
||||||
td {
|
td {
|
||||||
background: white;
|
background: white;
|
||||||
|
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);
|
||||||
|
color: black;
|
||||||
|
font-weight: bold;
|
||||||
min-height: calc(((100vw - 4em) / {{.altezza}}) - 8px);
|
min-height: calc(((100vw - 4em) / {{.altezza}}) - 8px);
|
||||||
height: 3em;
|
height: 3em;
|
||||||
}
|
}
|
||||||
|
@ -48,11 +54,13 @@
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
}
|
}
|
||||||
.razza1 {
|
.razza1 {
|
||||||
background: #00ff00;
|
background-image: url("/static/cellaVerde.png");
|
||||||
|
background-size: 200% 400%;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
}
|
}
|
||||||
.razza2 {
|
.razza2 {
|
||||||
background: #FF0000;
|
background-image: url("/static/prova1.png");
|
||||||
|
background-size: 180% 300%;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
}
|
}
|
||||||
div.tabella {
|
div.tabella {
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
{{range $cella := $riga}}
|
{{range $cella := $riga}}
|
||||||
<td {{ if not $cella }}
|
<td {{ if not $cella }}
|
||||||
class="vuoto"> </td>
|
class="vuoto"></td>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ if $cella.IsFood }}
|
{{ if $cella.IsFood }}
|
||||||
class="cibo"
|
class="cibo"
|
||||||
|
|
Reference in a new issue