╭ index.html ───────────────────────────────────────────────────╮ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────────────────────────╯
╭────╮ ╭ clone ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╮ │http│ ssh │ │ ╰────╯ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╯
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="utf-8"> 5 <title>HAXY</title> 6 <style> 7 html { 8 background-color: rgba(0, 50, 70, 1.0); 9 color: rgba(200, 200, 200, 1.0); 10 /* always reserve the vertical scrollbar's space so the usable width 11 is constant whether or not it's showing */ 12 scrollbar-gutter: stable; 13 } 14 15 @font-face { 16 font-family: '3270'; 17 src: url('/term.ttf') format('truetype'); 18 } 19 20 .page { 21 font-family: '3270', monospace; 22 font-size: 22px; 23 line-height: 22px; 24 position: relative; 25 } 26 27 #grid { 28 white-space: pre; 29 } 30 31 /* render each colored cell-run as an inline-block to prevent 32 horizontal seams between rows of the block art. */ 33 #grid span { 34 display: inline-block; 35 vertical-align: top; 36 } 37 38 /* overlay elements share the grid's coordinate system since 39 their parent (.page) is the positioning ancestor and the 40 grid sits at its top-left. */ 41 .page input, 42 .page button { 43 position: absolute; 44 font: inherit; 45 padding: 0; 46 margin: 0; 47 outline: none; 48 box-sizing: border-box; 49 } 50 51 .page input { 52 color: inherit; 53 /* transparent field so the backdrop shows through fully; a dark 54 halo backs just the characters so they stay legible */ 55 background: transparent; 56 text-shadow: 0 0 3px #000, 0 0 5px #000, 0 0 5px #000; 57 border: none; 58 } 59 60 /* the TUI cells under the button render the border + label; 61 the overlay button stays transparent so they show through 62 and just owns the click + form-submit behavior. */ 63 .page button { 64 background: transparent; 65 color: transparent; 66 border: none; 67 cursor: pointer; 68 } 69 70 #grid a { 71 color: inherit; 72 text-decoration: none; 73 } 74 75 #grid .clickable { 76 cursor: pointer; 77 } 78 </style> 79 </head> 80 <body> 81 <div class="page"> 82 <div id="grid">{{{ HAXY_HTML }}}</div> 83 <div id="overlay">{{{ HAXY_OVERLAY }}}</div> 84 </div> 85 <script id="page-data" type="text/plain">{{{ HAXY_JSON }}}</script> 86 <script src="/script.js"></script> 87 </body> 88 </html> 89