add page numbers to thesis

This commit is contained in:
TopchetoEU 2025-01-28 14:33:34 +02:00
parent 2619e50e9b
commit 2dcfff689a
Signed by: topchetoeu
GPG Key ID: 6531B8583E5F6ED4

View File

@ -8,6 +8,12 @@
@page { @page {
size: A4; size: A4;
} }
@page {
@bottom-right-corner {
text-align: center;
content: counter(page);
}
}
h1 { h1 {
break-before: page; break-before: page;
} }
@ -34,6 +40,7 @@
} }
.page { .page {
height: 100%;
line-height: 1.25; line-height: 1.25;
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
margin: 0; margin: 0;
@ -167,6 +174,7 @@
.page { .page {
height: 100%; height: 100%;
max-height: 100%;
font-size: 12pt; font-size: 12pt;
} }
@ -226,8 +234,6 @@
height: 100%; height: 100%;
} }
.asm-page { .asm-page {
height: 100%;
max-height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
@ -545,6 +551,10 @@
</div> </div>
</div> </div>
<div class="page">
<div>prazna str</div>
</div>
{{content}} {{content}}
<nav> <nav>