|
16 | 16 | <!-- htmx is nice --> |
17 | 17 | <script src='https://unpkg.com/htmx.org@latest'></script> |
18 | 18 | <!-- so is syntax highlighting, thanks to highlight js --> |
| 19 | + {% include HighlightJS.html %} |
19 | 20 | <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script> |
20 | 21 | <!-- This site shows source code in a few different languages: --> |
21 | | - |
| 22 | + |
22 | 23 | <!-- html --> |
23 | | - <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/html.min.js"></script> |
| 24 | + {% include HighlightJS.html language="html" %} |
24 | 25 | <!-- svg --> |
25 | | - <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/svg.min.js"></script> |
| 26 | + {% include HighlightJS.html language="svg" %} |
26 | 27 | <!-- css --> |
27 | | - <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/css.min.js"></script> |
| 28 | + {% include HighlightJS.html language="css" %} |
28 | 29 | <!-- powershell --> |
29 | | - <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/powershell.min.js"></script> |
| 30 | + {% include HighlightJS.html language="powershell" %} |
30 | 31 | {% endif %} |
31 | 32 | <link href='https://fonts.googleapis.com/css?family=Abel' rel='stylesheet'> |
32 | 33 | <meta name="viewport" content="width=device-width" /> |
|
163 | 164 | <a href='https://github.com/2bitdesigns/4bitcss'> |
164 | 165 | {% include github-icon.svg %} |
165 | 166 | </a></div> |
166 | | - <div class="centered halfOrWholeWidth flexible centeredFlex" style="margin-top: -5%;"> |
167 | | - <svg viewbox='0 0 200 200' width='33%' height='33%' class='centered'> |
| 167 | + <div class="centered halfOrWholeWidth flexible centeredFlex" style="margin-top: -7%;"> |
| 168 | + <svg viewbox='0 0 100 100' width='50%' height='16%' class='centered'> |
168 | 169 | <a href='/'>{% include 4bitcss.svg %}</a> |
169 | 170 | </svg> |
170 | 171 | </div> |
171 | 172 | {% if page.title %} |
172 | 173 | <h1 class="centered halfOrWholeWidth flexible centered centeredFlex">{{ page.title }}</h1> |
173 | 174 | {% endif %} |
174 | | - <div class="centered centeredFlex" style="margin-top:-5%"> |
175 | | - {{ content }} |
| 175 | + <div class="centered" style="margin-top:-7%" id="PageContent"> |
| 176 | + {{ content }} |
176 | 177 | </div> |
177 | 178 | </body> |
178 | 179 | </html> |
0 commit comments