aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html23
-rw-r--r--templates/index.html35
2 files changed, 39 insertions, 19 deletions
diff --git a/templates/base.html b/templates/base.html
index 585237f..b80eced 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -25,18 +25,6 @@
25 --header-border-width: 2px; 25 --header-border-width: 2px;
26 } 26 }
27 27
28 /*@media (prefers-color-scheme: dark) {
29 :root {
30 --base-background: black;
31 --base-color: white;
32 --link-color: white;
33 --primary-color: white;
34 --secondary-color: white;
35 --code-color: black;
36 --header-color: black;
37 }
38 }*/
39
40 * { box-sizing: border-box; } 28 * { box-sizing: border-box; }
41 29
42 html { scroll-padding-top: 1.5em; } 30 html { scroll-padding-top: 1.5em; }
@@ -46,9 +34,14 @@
46 table td, table th { text-align: left; padding: 0.3em 0.5em; } 34 table td, table th { text-align: left; padding: 0.3em 0.5em; }
47 table tbody tr { border-bottom: var(--border-width) solid var(--primary-color); vertical-align: middle; } 35 table tbody tr { border-bottom: var(--border-width) solid var(--primary-color); vertical-align: middle; }
48 table tr td:first-child { width: var(--first-child-width); } 36 table tr td:first-child { width: var(--first-child-width); }
37 table.normal tr td:first-child { width: auto; }
49 table td.tags { display: flex; gap: 0.5em; justify-content: flex-end; align-items: center; } 38 table td.tags { display: flex; gap: 0.5em; justify-content: flex-end; align-items: center; }
50 table td.tags mark { padding: 0 0.4em; background: var(--primary-color); font-size: small; } 39 table td.tags mark { padding: 0 0.4em; background: var(--primary-color); font-size: small; }
51 40
41 .left { text-align: left }
42 .center { text-align: center }
43 .right { text-align: right }
44
52 a { color: var(--link-color); text-decoration: none; } 45 a { color: var(--link-color); text-decoration: none; }
53 a:hover { text-decoration: underline; } 46 a:hover { text-decoration: underline; }
54 47
@@ -80,9 +73,9 @@
80 article iframe { margin: 0!important; } 73 article iframe { margin: 0!important; }
81 pre code span { display: initial !important; } 74 pre code span { display: initial !important; }
82 75
83 /*@media only screen and (max-width: 860px) { 76 @media print {
84 .hide-on-mobile { display: none; } 77 header, footer { display: none }
85 }*/ 78 }
86 </style> 79 </style>
87 <script defer src="https://app.tinyanalytics.io/pixel/isfRNEahfHiS2Ttp"></script> 80 <script defer src="https://app.tinyanalytics.io/pixel/isfRNEahfHiS2Ttp"></script>
88 </head> 81 </head>
diff --git a/templates/index.html b/templates/index.html
index c124804..f979c7f 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -39,9 +39,36 @@
39</section> 39</section>
40 40
41<section> 41<section>
42 <h2>Visualizations and exploration of binary files</h2> 42 <h2>Tools / Experiments</h2>
43 <a href="https://mitjafelicijan.github.io/binary-visualization/" target="_blank"> 43 <table class="normal">
44 <img src="/assets/general/trigraphs.gif" class="no-border"> 44 <thead>
45 </a> 45 <tr>
46 <th>Title</th>
47 <th></th>
48 </tr>
49 </thead>
50 <tbody>
51 <tr>
52 <td>Visualizations and exploration of binary files</td>
53 <td class="right"><a target="_blank" href="https://mitjafelicijan.github.io/binary-visualization/">https://mitjafelicijan.github.io/binary-visualization/</a></td>
54 </tr>
55 <tr>
56 <td>Easy convert between HEX to RGBA</td>
57 <td class="right"><a target="_blank" href="https://mitjafelicijan.github.io/hextorgba/">https://mitjafelicijan.github.io/hextorgba/</a></td>
58 </tr>
59 <tr>
60 <td>Unicode symbol explorer</td>
61 <td class="right"><a target="_blank" href="https://mitjafelicijan.github.io/symbols/">https://mitjafelicijan.github.io/symbols/</a></td>
62 </tr>
63 <tr>
64 <td>GGUF model list &amp; tools</td>
65 <td class="right"><a target="_blank" href="https://mitjafelicijan.github.io/gguf-list/">https://mitjafelicijan.github.io/gguf-list/</a></td>
66 </tr>
67 <tr>
68 <td>Maps of DOOM and other well known WADS</td>
69 <td class="right"><a target="_blank" href="https://mitjafelicijan.github.io/mapsofdoom/">https://mitjafelicijan.github.io/mapsofdoom/</a></td>
70 </tr>
71 </tbody>
72 </table>
46</section> 73</section>
47{{ end }} 74{{ end }}