Skip to content

Commit 2581d6c

Browse files
committed
symmetric root margin
1 parent 11de949 commit 2581d6c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/observable.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
<script type="module">
5555
document.querySelector("#edit-page").href += `/edit/main/docs${location.pathname + (location.pathname.endsWith("/") ? "index" : "")}.html`;
5656
</script>
57-
<footer style="width: 100vw; margin: 2rem calc((100% - 100vw) / 2) -16px; padding-bottom: 16px; background-color: var(--theme-foreground); color: var(--theme-background); font: 12px/normal var(--sans-serif);">
57+
<footer style="width: 100vw; margin: 2rem calc((100% - 100vw) / 2) -32px; padding-bottom: 16px; background-color: var(--theme-foreground); color: var(--theme-background); font: 12px/normal var(--sans-serif);">
5858
<div style="display: flex; flex-wrap: wrap; max-width: var(--max-width); padding: 2rem 1rem; margin: auto; gap: 2rem;">
5959
<div>
6060
<a title="Observable" target="_blank" href="https://observablehq.com/" style="color: inherit;">

src/styles/global.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ html {
1717
-moz-osx-font-smoothing: grayscale;
1818
background: var(--theme-background);
1919
color: var(--theme-foreground);
20-
margin-top: 16px;
20+
margin: 16px 0;
2121
padding: 16px 24px;
2222
}
2323

0 commit comments

Comments
 (0)