Skip to content

Commit

Permalink
make section > p > a > img also center
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Reagle committed Aug 15, 2012
1 parent 65abec1 commit 0046e2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion class.dzslides
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@ $endfor$

/* Center lone (hypertexted) images*/
section > p:last-child > img:only-child,
section > a:last-child > img:only-child {
section > a:last-child > img:only-child,
section > p:last-child > a:only-child > img:only-child {
display: block;
margin-left: auto;
margin-right: auto;
Expand Down
1 change: 0 additions & 1 deletion template.html
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,6 @@ <h1>End!</h1>
/* 750px is needed to keep centered given parent <p>'s margins */
max-width: 750px; max-height: 600px;
margin-left: auto; margin-right: auto;
/* border: 8px solid red; */
}

/* Footer */
Expand Down

0 comments on commit 0046e2e

Please sign in to comment.