Skip to content

Commit

Permalink
Fix spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
jgthms committed Apr 4, 2018
1 parent a831fd9 commit 3eecaa6
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 35 deletions.
6 changes: 3 additions & 3 deletions docs/_includes/index/intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ <h1 class="title intro-title">
</div>
</div>

<div class="intro-columns is-partners">
<div class="intro-column is-sponsor">
<div class="intro-partners">
<div class="intro-sponsor">
{% include sponsor.html %}
</div>
<div class="intro-column is-carbon">
<div class="intro-carbon">
{% include carbon.html %}
</div>
</div>
Expand Down
23 changes: 10 additions & 13 deletions docs/_sass/index.sass
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,12 @@
&:hover
opacity: 1

.intro-partners
margin-top: 6rem

.intro-carbon
margin-top: 0.5rem

+mobile
.intro-buttons
.button
Expand All @@ -162,29 +168,20 @@
justify-content: space-between

+touch
.intro-column.is-video,
.intro-column.is-carbon
.intro-column.is-video
margin-top: 3rem
.intro-columns.is-partners
margin-top: 6rem

+desktop
.intro-columns
display: flex
justify-content: center
&.is-partners
align-items: center
margin-top: 3rem
.intro-column
width: calc(50% - 1.5rem)
&.is-content,
&.is-sponsor
&.is-content
margin-right: 1.5rem
&.is-video,
&.is-carbon
&.is-video
margin-left: 1.5rem
.intro-content,
.bd-sponsor
.intro-content
max-width: 440px
.intro-title
margin-top: -11px
Expand Down
7 changes: 5 additions & 2 deletions docs/_sass/sponsors.sass
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
align-items: center
display: flex
justify-content: center
margin: 0 10px 20px
width: 200px
margin: 1rem
width: 160px
img
max-height: 60px
width: auto

36 changes: 19 additions & 17 deletions docs/css/bulma-docs.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3eecaa6

Please sign in to comment.