Skip to content

Commit

Permalink
Add multiple headers support
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadim Makeev committed Feb 11, 2019
1 parent 96e1456 commit 97fc8a3
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
20 changes: 20 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ <h2>Slide Header</h2>
<p class="note">Echo Park 8-bit sustainable umami deep v Kickstarter.</p>
</section>

<section class="slide">
<h2>First Slide Header</h2>
<p>Echo Park 8-bit sustainable umami deep v Kickstarter. DIY cliche typewriter brunch, Odd Future sriracha pickled aesthetic.</p>
<h2>Second Slide Header</h2>
<p>Whatever authentic disrupt, you probably haven’t heard of them direct trade mlkshk Etsy. Gluten-free roof party plaid four loko quinoa.</p>
</section>

<section class="slide">
<h2><a href="">Linked Header</a></h2>
<p>Retro meh brunch aesthetic Cosby sweater Shoreditch. Banksy Tumblr sriracha, flexitarian pug chia master cleanse vinyl wayfarers fanny pack bespoke Helvetica roof party. Messenger bag retro cred Portland next level. Yr stumptown Schlitz Carles deep v small batch. Echo Park 8-bit sustainable umami deep v Kickstarter. Hella sustainable messenger bag, leggings skateboard literally bicycle rights H₂0 mumblecore banh mi DIY VHS. Semiotics four loko street art asymmetrical.</p>
Expand Down Expand Up @@ -218,6 +225,19 @@ <h2>Four Lists</h2>
</div>
</section>

<section class="slide">
<div class="columns two">
<div>
<h2>Column One</h2>
<p>Retro meh brunch aesthetic Cosby sweater Shoreditch. Banksy Tumblr sriracha, flexitarian pug chia master cleanse vinyl wayfarers fanny pack bespoke Helvetica roof party. Messenger bag retro cred Portland next level.</p>
</div>
<div>
<h2>Column Two</h2>
<p>Yr stumptown Schlitz Carles deep v small batch. Echo Park 8-bit sustainable umami deep v Kickstarter. Hella sustainable messenger bag, leggings skateboard literally bicycle rights H₂0 mumblecore banh.</p>
</div>
</div>
</section>

<section class="slide">
<h2>Simple Table</h2>
<table>
Expand Down
6 changes: 5 additions & 1 deletion styles/slide/content/basic.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
/* Basic */

.slide h2 {
margin-top: 0;
margin-top: 6px;
margin-bottom: 34px;
color: var(--color-grey);
font: bold 50px/1 'PT Sans Narrow', sans-serif;
}

.slide * + h2 {
margin-top: 41px;
}

.slide p {
margin-top: 0;
margin-bottom: 1em;
Expand Down
2 changes: 1 addition & 1 deletion styles/slide/slide.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
z-index: 0;
overflow: hidden;
box-sizing: border-box;
padding: 81px 100px 0;
padding: 75px 100px 0;
width: var(--slide-width);
height: var(--slide-height);
background: #ffffff;
Expand Down

0 comments on commit 97fc8a3

Please sign in to comment.