fix template

This commit is contained in:
relikd
2021-07-05 16:22:43 +02:00
parent f6541d235b
commit 0dd676d6a1
7 changed files with 5 additions and 6 deletions

0
Makefile Normal file → Executable file
View File

View File

@@ -18,7 +18,6 @@ div.topnav {
position: sticky;
top: 0;
z-index: 1;
padding-right: 1em;
background-color: white;
overflow: hidden;
width: max-content;
@@ -57,6 +56,6 @@ h2, h3 {
/* for now, until toggle works */
display: block;
width: 90%;
margin: 2rem auto;
margin: 2rem 5%;
}
}

View File

@@ -66,6 +66,6 @@ build the intermediate file only.
</section>
</article>
<button class= "button" onclick="window.scrollTo(0, 0)">back to top</button>
<button class="button" onclick="window.scrollTo({top: 0, behavior: 'smooth'})">back to top</button>
</body>
</html>

View File

@@ -66,6 +66,6 @@ build the intermediate file only.
</section>
</article>
<button class= "button" onclick="window.scrollTo(0, 0)">back to top</button>
<button class="button" onclick="window.scrollTo({top: 0, behavior: 'smooth'})">back to top</button>
</body>
</html>

Binary file not shown.

View File

@@ -24,6 +24,6 @@
<#_BODY_#>
</section>
</article>
<button class="button" onclick="window.scrollTo(0, 0)">back to top</button>
<button class="button" onclick="window.scrollTo({top: 0, behavior: 'smooth'})">back to top</button>
</body>
</html>

View File

@@ -22,7 +22,7 @@ BoldFont = {Roboto-Bold},
ItalicFont = {Roboto-Italic},
BoldItalicFont = {Roboto-BoldItalic}
]{Roboto-Regular}
\setsansfont[
\setmonofont[
Path = fonts/,
BoldFont = {iosevka-ss04-bold},
ItalicFont = {iosevka-ss04-italic},