Skip to content

Commit

Permalink
content now top justified unless given .center class
Browse files Browse the repository at this point in the history
  • Loading branch information
marrero984 committed Dec 17, 2015
1 parent 417b616 commit c2d8f13
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions public/css/showoff.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,6 @@
z-index: 2147483647; /* max, see http://www.puidokas.com/max-z-index/ */
text-align: center;
}
.content {
position: relative;
/* for some reason, setting top to 50% is pushing the content too far down, no idea why */
top: 42%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}

/* prevent large images from getting too out of hand */
.content img {
Expand All @@ -84,6 +76,12 @@

.slide .center {
text-align: center;
position: relative;
/* for some reason, setting top to 50% is pushing the content too far down, no idea why */
top: 42%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}

/* plain (non-bullet) text */
Expand Down

0 comments on commit c2d8f13

Please sign in to comment.