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

View File

@@ -66,6 +66,6 @@ build the intermediate file only.
</section> </section>
</article> </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> </body>
</html> </html>

View File

@@ -66,6 +66,6 @@ build the intermediate file only.
</section> </section>
</article> </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> </body>
</html> </html>

Binary file not shown.

View File

@@ -24,6 +24,6 @@
<#_BODY_#> <#_BODY_#>
</section> </section>
</article> </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> </body>
</html> </html>

View File

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