nycki.net/static/papermod/index.html
nycki fcf56ef66d
All checks were successful
/ build (push) Successful in 40s
dot grid pages
2025-11-14 14:17:24 -08:00

152 lines
No EOL
4.6 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;
}
/* page 1 */
.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%;
}
/* page 2-3 */
.month .landscape {
width: calc(105mm - 8mm);
height: calc(74mm - 8mm);
transform-origin: 0mm 0mm;
transform: rotate(-90deg) translateX(-100%);
}
.month table {
height: 100%;
width: 100%;
table-layout: fixed;
border-collapse: collapse;
}
.month thead {
height: 0.01%;
}
.month td:not(:last-child) {
border: thin solid black;
}
/* page 4-5 */
/* page 6-7 */
.dot-grid {
height: 100%;
width: 100%;
background-image: radial-gradient(circle at .5mm .5mm, black .5px, transparent 0);
background-size: 4mm 4mm;
}
/* page 8 */
</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 month">
<div class="landscape">
<table contenteditable>
<thead><td>mon</td><td>tue</td><td>wed</td><td>thu</td><td>fri</td><td>sat</td><td>sun</td><td></td></thead>
<tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr>
</table>
</div>
</div>
<div class="page month">
<div class="landscape">
<table contenteditable>
<thead><td>mon</td><td>tue</td><td>wed</td><td>thu</td><td>fri</td><td>sat</td><td>sun</td><td></td></thead>
<tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr>
</table>
</div>
</div>
<div class="page">
<h1>page 4</h1>
</div>
<div class="page">
<h1>page 5</h1>
</div>
<div class="page">
<div class="dot-grid"></div>
</div>
<div class="page">
<div class="dot-grid"></div>
</div>
<div class="page">
<h1>page 8</h1>
</div>
</body>
</html>