First commit.

This commit is contained in:
Fredrik Jonsson 2017-03-09 14:26:46 +01:00
commit b7977e1c28
3 changed files with 28081 additions and 0 deletions

View file

@ -0,0 +1,19 @@
// Divider
//
// Can be used as an `<hr>`, an empty `<div>` or as a container.
//
// Markup: divider.twig
//
// Style guide: components.divider
.divider,
%divider {
@include margin(1 0);
border: 0;
border-top: 1px solid color(border);
// If used as a container, add a top margin to the first child.
> :first-child {
@include margin-top(1);
}
}

View file

@ -0,0 +1,3 @@
{
"content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
}

View file

@ -0,0 +1,11 @@
<div class="divider {{modifier_class}}"></div>
<p>{{content}}</p>
<div class="divider {{modifier_class}}">
<p>{{content}}</p>
</div>
<hr class="divider {{modifier_class}}">
<p>{{content}}</p>