Skip to content
This repository has been archived by the owner on Mar 2, 2018. It is now read-only.

Commit

Permalink
Add Logo Section
Browse files Browse the repository at this point in the history
  • Loading branch information
Magnus-G committed Jun 3, 2016
1 parent db981d5 commit 1a68e0a
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 0 deletions.
8 changes: 8 additions & 0 deletions source/_logo_section.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<ul class="logo-section">
<li><img class="wide-logo" src="https://raw.githubusercontent.com/thoughtbot/refills/master/source/images/placeholder_wide.png" alt=""></li>
<li><img class="square-logo" src="https://raw.githubusercontent.com/thoughtbot/refills/49db8c0f2f8066c2c3a275781503fe3303a1a9fc/source/images/placeholder.png" alt=""></li>
<li><img class="square-logo" src="https://raw.githubusercontent.com/thoughtbot/refills/49db8c0f2f8066c2c3a275781503fe3303a1a9fc/source/images/placeholder.png" alt=""></li>
<li><img class="wider-logo" src="https://raw.githubusercontent.com/thoughtbot/refills/master/source/images/placeholder_wider.png" alt=""></li>
<li><img class="square-logo" src="https://raw.githubusercontent.com/thoughtbot/refills/49db8c0f2f8066c2c3a275781503fe3303a1a9fc/source/images/placeholder.png" alt=""></li>
<li><img class="wide-logo" src="https://raw.githubusercontent.com/thoughtbot/refills/master/source/images/placeholder_wide.png" alt=""></li>
</ul>
7 changes: 7 additions & 0 deletions source/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,13 @@ title: Patterns
<div class="refill-snippet"><%= code_for("maps") %></div>
</section>

<section id="logo-section" class="refill">
<div class="refills-wrapper">
<div class="line-behind-text"><h6>Logo Section</h6></div>
<%= partial "logo_section" %>
</div>
</section>

<section id="navigation" class="refill">
<div class="refills-wrapper">
<div class="line-behind-text"><h6>Navigation</h6></div>
Expand Down
1 change: 1 addition & 0 deletions source/stylesheets/all.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
@import "refills/grid-items-lines";
@import "refills/hero";
@import "refills/icon-bullet-points";
@import "refills/logo-section";
@import "refills/maps";
@import "refills/navigation";
@import "refills/scroll-on-page";
Expand Down
25 changes: 25 additions & 0 deletions source/stylesheets/refills/_logo-section.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
.logo-section {
display: flex;
flex-wrap: wrap;
justify-content: center;
padding: 1em;

li {
align-self: center;
list-style: none;
padding: 2em;
text-align: center;

.square-logo {
max-height: 5em;
}

.wide-logo {
max-width: 10em;
}

.wider-logo {
max-width: 15em;
}
}
}

0 comments on commit 1a68e0a

Please sign in to comment.