Skip to content
This repository has been archived by the owner on Feb 14, 2020. It is now read-only.

Commit

Permalink
Apply main width to body>footer
Browse files Browse the repository at this point in the history
Closes #1.
  • Loading branch information
causal-agent committed Sep 3, 2015
1 parent f6c0f02 commit 07f2f85
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions reference.html
Expand Up @@ -300,6 +300,10 @@ <h2>Figure & Aside</h2>

</main>

<footer>
<p>Some footer text.</p>
</footer>

<div style="position: fixed; top: 0.25em; right: 1ch;">
<label>
<input type="checkbox" checked> CSS
Expand Down
2 changes: 1 addition & 1 deletion writ.css
Expand Up @@ -71,7 +71,7 @@ body { margin: 1.5rem 1ch; }

body > header { text-align: center; }

main {
main, body > footer {
display: block; /* Just in case */
position: relative; /* For aside */
max-width: 78ch;
Expand Down
2 changes: 1 addition & 1 deletion writ.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 07f2f85

Please sign in to comment.