Skip to content

Commit

Permalink
some fixes for css
Browse files Browse the repository at this point in the history
  • Loading branch information
billbrod committed Jul 2, 2024
1 parent c87221d commit 2771e69
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions site/assets/flatiron-slides.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ body {
height: inherit;
flex-direction: column;
}
.reveal .slides section:has(> .column) {
display: block !important;
}
.landing {
font-family: 'Open Sans', Arial, Helvetica, sans-serif;
font-weight: normal;
Expand Down Expand Up @@ -81,7 +84,7 @@ body {
margin-top: 20%;
}

.reveal h2:not(:has(+ p, + div, + ul, + ol, + dl)):not(h1 + h2, h2 + h2) {
.reveal h2:not(:has(~ p, ~ div, ~ ul, ~ ol, ~ dl)):not(h1 + h2, h2 + h2) {
text-shadow: none;
margin-bottom: 5%;
margin-top: 20%;
Expand Down Expand Up @@ -310,8 +313,8 @@ body {
}

/* slide titles are almost always h2 */
.reveal h2 + div:has(> svg),
.reveal h2 + p:has(> img) {
.reveal h2 ~ div:has(> svg),
.reveal h2 ~ p:has(> img) {
margin-top: 0;
display: flex;
align-items: start;
Expand Down

0 comments on commit 2771e69

Please sign in to comment.