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

Commit

Permalink
Fix aside style
Browse files Browse the repository at this point in the history
Fixes #6.
  • Loading branch information
causal-agent committed Sep 3, 2015
1 parent e627e05 commit a922fbc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 3 additions & 7 deletions writ.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,23 +73,19 @@ body > header { text-align: center; }

main, body > footer {
display: block; /* Just in case */
position: relative; /* For aside */
max-width: 78ch;
margin: auto;
}

main figure {
main figure, main aside {
float: right;
margin: 1.5rem 0 0 1ch;
}

main aside {
position: absolute;
left: 100%;
width: 26ch;
margin: 1.5rem 0 0 -1ch;
max-width: 26ch;
border-width: 0 0 0 0.5ch;
padding: 0 1ch;
padding: 0 0 0 0.5ch;
}

/* Copy blocks */
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 a922fbc

Please sign in to comment.