nycki.net/static/papermod/index.html
nycki c444430f53
All checks were successful
/ build (push) Successful in 41s
title page with week number
2025-11-14 12:50:44 -08:00

100 lines
No EOL
2.3 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>Nycki's Papermod</title>
<style>
html {
background-color: #929591; /*xkcd-grey*/
font-family: Arial, Helvetica, sans-serif;
}
body {
margin: 0;
display: flex;
flex-wrap: wrap;
/* break after fourth page on large monitors */
max-width: calc((74mm + 8mm) * 4);
}
.page {
background-color: white;
box-sizing: border-box;
width: 74mm;
height: 105mm;
margin: 4mm;
padding: 4mm;
position: relative;
text-align: center;
display: flex;
flex-direction: column;
}
.page :first-child {
margin-top: 0;
}
@media print {
.page {
height: 100%;
margin: 0;
break-after: page;
}
}
@page {
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>
</head>
<body>
<div class="page">
<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 class="page">
<h1>page 2</h1>
</div>
<div class="page">
<h1>page 3</h1>
</div>
<div class="page">
<h1>page 4</h1>
</div>
<div class="page">
<h1>page 5</h1>
</div>
<div class="page">
<h1>page 6</h1>
</div>
<div class="page">
<h1>page 7</h1>
</div>
<div class="page">
<h1>page 8</h1>
</div>
</body>
</html>