refactor: centralize body base styles in theme.css
Move font-family, background, color, margin, and transition from duplicated inline <style> blocks in each dev target into the CSS generator (base-css). Dev pages now only set page-specific padding. Also fixes hiccup target rendering the wrong font due to hiccup2 HTML-escaping quotes inside <style> tags, and adds missing <!DOCTYPE>.
This commit is contained in:
@@ -5,14 +5,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="stylesheet" href="/theme.css" />
|
||||
<style>
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
||||
padding: 2rem;
|
||||
background: var(--bg-0);
|
||||
color: var(--fg-0);
|
||||
margin: 0;
|
||||
transition: background-color 0.2s, color 0.2s;
|
||||
}
|
||||
body { padding: 2rem; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user