Browse Source

demo page padding tweaks

master
Lokesh Dhakar 6 years ago
parent
commit
fb434fc05c
3 changed files with 7 additions and 5 deletions
  1. +1
    -1
      css/screen.css
  2. +1
    -1
      index.html
  3. +5
    -3
      sass/screen.sass

+ 1
- 1
css/screen.css
File diff suppressed because it is too large
View File


+ 1
- 1
index.html View File

@@ -131,7 +131,7 @@
<footer>
<div class="container">
<p>
Lightbox is created by Lokesh Dhakar<br />
Created by Lokesh Dhakar<br />
<a href="https://twitter.com/lokesh" class="button button-minor">Follow me on Twitter</a>
</p>
</div>


+ 5
- 3
sass/screen.sass View File

@@ -81,6 +81,7 @@ h1

h2
color: $section-heading-color
margin-top: 0
margin-bottom: 1.5rem
font-size: 1.5rem
text-transform: uppercase
@@ -109,6 +110,7 @@ p

.lead
max-width: 45rem
margin-bottom: 1.25rem
font-size: 1.25rem

@@ -167,13 +169,13 @@ body
section
border-top: 2px solid $border-color
text-align: center
padding: 1.5rem 0
padding: 2rem 0
&:first-of-type
border-top: none

@media (min-width: 40rem)
section
padding: 2rem 0
padding: 4rem 0

.container
margin: 0 auto
@@ -195,7 +197,7 @@ header

@media (min-width: 40rem)
header
padding: 2rem 0
padding: 3rem 0


/* -- Examples -- */


Loading…
Cancel
Save