mirror of
https://github.com/hanzo-apps/longform-essays.git
synced 2026-10-30 19:12:21 +00:00
Vite + React 19 + @hanzo/gui + @hanzo/iam + @hanzo/base, forked from hanzo-starter. Three views (year-grouped index, distraction-free reading column with drop-cap, markdown editor with publish toggle) over an org-scoped essays collection in Hanzo Base. Warm-paper editorial design.
45 lines
1.6 KiB
HTML
45 lines
1.6 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Longform — A Home for Your Writing</title>
|
|
<style>
|
|
/* Paper, not screen. The page background is warm cream so there is never a
|
|
white flash around the app root. */
|
|
html, body { margin: 0; background-color: #FBF7EF; }
|
|
|
|
/* One typographic foundation: the whole app is set in a book serif. Scoped
|
|
to #root (id specificity) so it wins over @hanzo/gui's atomic font class
|
|
deterministically — there is no react-native style prop for a font-family
|
|
stack, so this is the single honest place for it. */
|
|
#root, #root * {
|
|
font-family: Georgia, 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Times New Roman', serif;
|
|
}
|
|
|
|
/* Drop-cap for the opening paragraph of a reading column. A true
|
|
::first-letter effect has no react-native style-prop equivalent, so it
|
|
lives here and is opted into with className="lf-drop". */
|
|
#root .lf-drop { display: block; }
|
|
#root .lf-drop::first-letter {
|
|
float: left;
|
|
font-size: 3.55em;
|
|
line-height: 0.68;
|
|
padding: 0.02em 0.09em 0 0;
|
|
font-weight: 700;
|
|
color: #26221E;
|
|
}
|
|
|
|
/* Reading-column legibility niceties that only CSS expresses. */
|
|
#root .lf-read {
|
|
text-rendering: optimizeLegibility;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|