Skip to content

Commit ff7c791

Browse files
author
James Brundage
committed
style: Adjusting layout margins
1 parent 2eb0b79 commit ff7c791

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

docs/_layouts/default.html

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,18 @@
1616
<!-- htmx is nice -->
1717
<script src='https://unpkg.com/htmx.org@latest'></script>
1818
<!-- so is syntax highlighting, thanks to highlight js -->
19+
{% include HighlightJS.html %}
1920
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
2021
<!-- This site shows source code in a few different languages: -->
21-
22+
2223
<!-- 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" %}
2425
<!-- 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" %}
2627
<!-- 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" %}
2829
<!-- 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" %}
3031
{% endif %}
3132
<link href='https://fonts.googleapis.com/css?family=Abel' rel='stylesheet'>
3233
<meta name="viewport" content="width=device-width" />
@@ -163,16 +164,16 @@
163164
<a href='https://github.com/2bitdesigns/4bitcss'>
164165
{% include github-icon.svg %}
165166
</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'>
168169
<a href='/'>{% include 4bitcss.svg %}</a>
169170
</svg>
170171
</div>
171172
{% if page.title %}
172173
<h1 class="centered halfOrWholeWidth flexible centered centeredFlex">{{ page.title }}</h1>
173174
{% endif %}
174-
<div class="centered centeredFlex" style="margin-top:-5%">
175-
{{ content }}
175+
<div class="centered" style="margin-top:-7%" id="PageContent">
176+
{{ content }}
176177
</div>
177178
</body>
178179
</html>

0 commit comments

Comments
 (0)