Skip to content

Commit 805448e

Browse files
committed
move copyright to footer
1 parent 1866930 commit 805448e

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

public/style.css

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,19 @@ body {
4747
margin: 0;
4848
}
4949

50-
main {
50+
main,
51+
#observablehq-footer {
5152
margin: 2rem auto;
5253
max-width: 1152px;
54+
}
55+
56+
main {
5357
min-height: calc(100vh - 17rem);
54-
padding-bottom: 10rem;
5558
}
5659

57-
#observablehq-center::after {
58-
content: "© 2023 Observable, Inc.";
60+
#observablehq-footer {
5961
display: block;
60-
margin: 2rem auto;
61-
max-width: 1152px;
62+
margin-top: 10rem;
6263
font: 12px var(--sans-serif);
6364
color: var(--theme-foreground-faint);
6465
}

src/render.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ ${
111111
}<div id="observablehq-center">
112112
<main class="observablehq">
113113
${parseResult.html}</main>
114+
<footer id="observablehq-footer">© ${new Date().getUTCFullYear()} Observable, Inc.</footer>
114115
</div>
115116
`;
116117
}

0 commit comments

Comments
 (0)