diff --git a/assets/css/style.css b/assets/css/style.css index a5c5458..dfb2035 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -24,17 +24,8 @@ html, body { html { box-sizing: border-box; } *, *::before, *::after { box-sizing: inherit; } -/* Screen preview: render a page at exact CSS inches and center it */ +/* Screen preview: render a page at exact CSS inches */ @media screen { - body { - background: #eeeeee; - display: flex; - align-items: flex-start; - justify-content: center; - padding: 1rem; - box-sizing: border-box; - } - #page { width: var(--page-w, 5.5in); height: var(--page-h, 8.5in); diff --git a/pages/bouba.html b/pages/bouba.html index bf95f5e..54657e4 100644 --- a/pages/bouba.html +++ b/pages/bouba.html @@ -5,7 +5,5 @@
-

bouba

- This is a test kiki.
\ No newline at end of file diff --git a/pages/cover.html b/pages/cover.html index 260dccd..9bfdc2f 100644 --- a/pages/cover.html +++ b/pages/cover.html @@ -5,6 +5,5 @@
-

Smart Bar

welcome to smart bar
\ No newline at end of file diff --git a/templates/index.gohtml b/templates/index.gohtml index 1de664d..9ab3362 100644 --- a/templates/index.gohtml +++ b/templates/index.gohtml @@ -11,7 +11,7 @@ .main { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 1rem; box-sizing: border-box; } .thumb { display: flex; flex-direction: column; align-items: center; } .label { font: 12px/1.2 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; color: #555; margin: 0.25rem 0; } - .thumb iframe { width: var(--page-w, 5.5in); height: var(--page-h, 8.5in); border: 0; background: white; box-shadow: 0 0 0 1px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.18); } + .thumb iframe { display:block; width: var(--page-w, 5.5in); height: var(--page-h, 8.5in); border: 0; background: white; box-shadow: 0 0 0 1px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.18); }