title page with week number
All checks were successful
/ build (push) Successful in 41s

This commit is contained in:
Nycki 2025-11-14 12:50:44 -08:00
parent ce2908f07a
commit c444430f53

View file

@ -5,6 +5,7 @@
<style> <style>
html { html {
background-color: #929591; /*xkcd-grey*/ background-color: #929591; /*xkcd-grey*/
font-family: Arial, Helvetica, sans-serif;
} }
body { body {
margin: 0; margin: 0;
@ -15,12 +16,15 @@
} }
.page { .page {
background-color: white; background-color: white;
font-family: serif;
box-sizing: border-box; box-sizing: border-box;
width: 74mm; width: 74mm;
height: 105mm; height: 105mm;
margin: 4mm; margin: 4mm;
padding: 4mm; padding: 4mm;
position: relative;
text-align: center;
display: flex;
flex-direction: column;
} }
.page :first-child { .page :first-child {
margin-top: 0; margin-top: 0;
@ -35,11 +39,41 @@
@page { @page {
size: 74mm 105mm; size: 74mm 105mm;
} }
.year {
font-weight: bold;
font-size: 20mm;
}
.week {
font-weight: bold;
font-size: 20mm;
}
.date {
font-size: 10mm;
}
.return-addr {
font-weight: bold;
margin: 8mm;
}
.footer {
font-style: italic;
font-size: smaller;
position: absolute;
left: 0;
bottom: 4mm;
width: 100%;
}
</style> </style>
</head> </head>
<body> <body>
<div class="page"> <div class="page">
<h1>page 1</h1> <div class="year" contenteditable>2025</div>
<div class="week" contenteditable>W46</div>
<div class="date" contenteditable>11-09 ... 11-15</div>
<div class="return-addr" contenteditable>
<p>Your Name Here</p>
<p>email@example.com</p>
</div>
<div class="footer">nycki.net/papermod</div>
</div> </div>
<div class="page"> <div class="page">
<h1>page 2</h1> <h1>page 2</h1>