avm99963 | 00a4003 | 2020-05-07 21:02:32 +0200 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <meta charset="utf-8"> |
| 5 | <title>COVID-19 sandbox</title> |
| 6 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 7 | |
| 8 | <style> |
| 9 | body { |
| 10 | font-family: 'Helvetica', 'Arial', sans-serif; |
avm99963 | 0b3b407 | 2020-05-17 02:39:07 +0200 | [diff] [blame] | 11 | padding-bottom: 200px; |
avm99963 | 00a4003 | 2020-05-07 21:02:32 +0200 | [diff] [blame] | 12 | } |
| 13 | |
| 14 | .graphs { |
| 15 | max-width: 100%; |
| 16 | } |
| 17 | |
| 18 | .key-container { |
| 19 | display: inline-block; |
| 20 | position: fixed; |
| 21 | bottom: 8px; |
| 22 | right: 8px; |
| 23 | padding: 8px; |
| 24 | |
| 25 | background: white; |
| 26 | border-radius: 4px; |
| 27 | } |
| 28 | |
| 29 | .key-container h3 { |
| 30 | margin: 8px 0 12px 0; |
| 31 | } |
| 32 | |
| 33 | .key { |
| 34 | border-collapse: collapse; |
| 35 | } |
| 36 | |
| 37 | .key td { |
| 38 | border: solid 1px black; |
| 39 | padding: 2px; |
| 40 | } |
| 41 | |
| 42 | .risk { |
| 43 | width: 40px; |
| 44 | } |
| 45 | |
| 46 | .low-risk { |
| 47 | background-color: #a0ff94; |
| 48 | } |
| 49 | |
| 50 | .intermediate-risk { |
| 51 | background-color: #dbff94; |
| 52 | } |
| 53 | |
| 54 | .intermediate-high-risk { |
| 55 | background-color: #ffe494; |
| 56 | } |
| 57 | |
| 58 | .high-risk { |
| 59 | background-color: #ff9494; |
| 60 | } |
| 61 | </style> |
| 62 | </head> |
| 63 | <body> |
| 64 | <img class="graphs" src="output/graph.svg"> |
| 65 | |
| 66 | <div class="key-container"> |
| 67 | <h3>Llegenda</h3> |
| 68 | <table class="key"> |
| 69 | <tr> |
| 70 | <td class="risk low-risk"></td> |
| 71 | <td>Risc baix</td> |
| 72 | </tr> |
| 73 | <tr> |
| 74 | <td class="risk intermediate-risk"></td> |
avm99963 | 58284b6 | 2020-05-07 21:30:33 +0200 | [diff] [blame] | 75 | <td>Risc mig</td> |
avm99963 | 00a4003 | 2020-05-07 21:02:32 +0200 | [diff] [blame] | 76 | </tr> |
| 77 | <tr> |
| 78 | <td class="risk intermediate-high-risk"></td> |
avm99963 | 58284b6 | 2020-05-07 21:30:33 +0200 | [diff] [blame] | 79 | <td>Risc mig-alt</td> |
avm99963 | 00a4003 | 2020-05-07 21:02:32 +0200 | [diff] [blame] | 80 | </tr> |
| 81 | <tr> |
| 82 | <td class="risk high-risk"></td> |
| 83 | <td>Risc alt</td> |
| 84 | </tr> |
| 85 | </table> |
| 86 | </div> |
| 87 | </body> |
| 88 | </html> |