Skip to content

Commit 7feebae

Browse files
committed
Update jumbotron
1 parent 5f1f4d1 commit 7feebae

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

lib/jumbotron/demo.jade

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
section.jumbotron
22
h2: img(src='/lib/logos/img/icon-styleguide.svg')
33
h1 Jumbotron
4-
p= description || 'Lorem ipsum dolor sit amet, consectetur adipiscing elit quis risus eget urna mollis.'
4+
p Lorem ipsum dolor sit amet, consectetur adipiscing elit quis risus eget urna mollis consectetur adipiscing elit.
5+
.btn.btn-success.btn-lg Try auth0 for free

lib/jumbotron/index.styl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
background-color: bg-color-dark
99
text-align: center
1010

11+
&.has-header
12+
padding-top: 150px;
13+
1114
+breakpoint("desktop")
1215
margin-bottom: padding-vertical
1316

@@ -36,10 +39,10 @@
3639

3740
p
3841
color: color-text-contrast-light
39-
margin-bottom: (padding-vertical / 2)
42+
margin 0 auto
43+
margin-bottom: (padding-vertical / 1.5)
4044
font-weight: font-weight-normal
4145
max-width 600px
42-
margin 0 auto
4346
font-size 16px
4447
padding: 0 20px
4548

0 commit comments

Comments
 (0)