novelty.go

Single word (yes/no) site for app engine in go
git clone https://wehaveforgeathome.hates.computer/novelty.go.git
Log | Files | Refs | LICENSE

index.template (723B)


      1 <html>
      2   <head>
      3     <title>{{html .Value}}.</title>
      4     <style>
      5       body {
      6         text-align: center;
      7       }
      8       .answer {
      9         padding: 0;
     10         margin: 0;
     11         font-size: 400px;
     12         line-height: 50%;
     13       }
     14       @media screen and (max-width: 768px) {
     15         .answer {
     16           font-size: 280px;
     17         }
     18       }
     19       @media screen and (max-width: 460px) {
     20         .answer {
     21           font-size: 190px;
     22         }
     23       }
     24       @media screen and (max-width: 320px) {
     25         .answer {
     26           font-size: 160px;
     27         }
     28       }
     29     </style>
     30     <meta name="viewport" content="width=device-width; initial-scale=1.0">
     31   </head>
     32   <body>
     33     <p class="answer">{{html .Value}}.</p>
     34   </body>
     35 </html>