Skip to main content

max / makenotwork

1.7 KB · 36 lines History Blame Raw
1 <style>
2 /* Platform chrome for custom pages. Lives outside the user canvas, so creator
3 CSS (scoped to .user-canvas / .item-canvas) can never restyle or hide it.
4 Deliberately minimal and theme-independent. */
5 html, body { margin: 0; padding: 0; }
6 body { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
7 .mnw-chrome, .mnw-chrome-footer {
8 background: #161616; color: #e9e9e9; font-size: .85rem; line-height: 1.4;
9 }
10 .mnw-chrome {
11 display: flex; justify-content: space-between; align-items: center;
12 gap: 1rem; padding: .55rem 1rem; border-bottom: 1px solid #2c2c2c;
13 }
14 .mnw-chrome a, .mnw-chrome-footer a { color: #e9e9e9; text-decoration: none; }
15 .mnw-chrome a:hover, .mnw-chrome-footer a:hover { text-decoration: underline; }
16 .mnw-chrome-brand { font-weight: 600; letter-spacing: .01em; }
17 .mnw-chrome-actions { display: flex; gap: 1rem; }
18 .mnw-chrome-footer {
19 padding: 1rem; text-align: center; border-top: 1px solid #2c2c2c;
20 color: #9a9a9a;
21 }
22 /* Canvas baseline so an unstyled page is still readable. */
23 .user-canvas, .item-canvas { min-height: 50vh; padding: 1rem; box-sizing: border-box; }
24 /* System slots: visible defaults the creator can restyle but not remove. */
25 .mnw-buy, .mnw-item {
26 margin: 1.5rem 0; padding: 1rem; border: 1px solid currentColor; border-radius: 4px;
27 }
28 .mnw-buy-cta, .mnw-item-cta {
29 display: inline-block; margin-top: .5rem; padding: .4rem .9rem;
30 border: 1px solid currentColor; border-radius: 4px; font-weight: 600;
31 }
32 .mnw-files { margin: 1.5rem 0; padding: 0; list-style: none; }
33 .mnw-files li { padding: .35rem 0; border-bottom: 1px solid currentColor; }
34 .mnw-price { font-weight: 600; }
35 </style>
36