Skip to content

Commit

Permalink
aesthetic tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Reagle committed Jun 25, 2012
1 parent 2a6d5d0 commit 10daa68
Showing 1 changed file with 24 additions and 6 deletions.
30 changes: 24 additions & 6 deletions class.dzslides
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ $endfor$
section, .view head > title {
/* The font from Google */
font-family: 'Oswald', arial, serif;
font-size: 40px;
font-size: 35px;
}

.view section:after {
Expand All @@ -73,7 +73,7 @@ $endfor$
margin: 1em 0 1em 0;
}

/* h1 and h2 are "centered" (180px down) Takahashi style */
/* h1 and h2 are "centered" (Xpx down) Takahashi style */
h1, h2 {
padding-top: 150px;
text-align: center;
Expand All @@ -87,7 +87,9 @@ $endfor$
}
/* h1 can take children and become a traditional slide */
h1:not(:only-child) {
margin-top: -150px; /* at top of slide */
margin-top: -120px; /* at top of slide */
margin-bottom: 20px;
font-size: 60px; /* give slide a little more room */
}

h3 {
Expand All @@ -96,13 +98,29 @@ $endfor$

p {
margin: 25px;
font-size: 40px;
}

ol {
margin: 5px 0px 5px 100px;
font-size: 90%;
}
ul {
margin: 50px 0px 0px 100px;
margin: 5px 0px 5px 50px;
font-size: 90%;
}
dl {
margin: 5px 0px 5px 40px;
padding: 0;
}

dt {
font-weight: bold;
}

dd {
font-size: 90%;
margin: 0 0 10px 15px;
padding: 0;
}

/* vertically "center" only children */
section > p:only-child, section > ul:only-child, section > ol:only-child,
Expand Down

0 comments on commit 10daa68

Please sign in to comment.