This commit is contained in:
Jina Anne 2018-12-27 16:43:43 -08:00
parent 66f3526bd5
commit 92d9baf850
7 changed files with 9 additions and 16 deletions

View File

@ -32,11 +32,4 @@
}
&--info { background: $sl-color--midnight-blue; }
.sl-u-display--inline-flex {
margin: {
top: 0;
bottom: 0;
};
}
}

View File

@ -14,7 +14,12 @@
ul {
position: relative;
right: -(sl-px-to-rem(16px));
margin: 0 -1rem !important;
@include sl-breakpoint--medium {
right: -(sl-px-to-rem(16px));
margin: 0 !important;
}
}
a {

View File

@ -19,4 +19,6 @@
&--small {
max-width: sl-px-to-rem(960px);
}
.sl-l-container { padding: 0; }
}

View File

@ -35,5 +35,3 @@
'components/railroad',
'components/sass-syntax-switcher',
'components/tables';
// 'utilities/display';

View File

@ -1 +0,0 @@
.sl-u-display--inline-flex { display: inline-flex; }

View File

@ -61,7 +61,7 @@
= link_to '/' do
= image_tag 'logos/logo.svg', alt: 'Sass', height: '48'
%nav.sl-c-banner__navigation.sl-l-grid__column.sl-js-navigation-target.sl-l-large-grid.sl-l-large-grid__column--auto-size.sl-c-list-horizontal-wrapper(itemtype='http://schema.org/SiteNavigationElement' itemscope='itemscope' role='navigation')
%nav.sl-c-banner__navigation.sl-l-grid__column.sl-l-large-grid.sl-l-large-grid__column--auto-size.sl-c-list-horizontal-wrapper(itemtype='http://schema.org/SiteNavigationElement' itemscope='itemscope' role='navigation')
:markdown
- [Install](/install)
- [Learn Sass](/guide)
@ -69,9 +69,6 @@
- [Documentation](/documentation/)
- [Get Involved](/community)
%button.sl-c-banner__toggle.sl-js-navigation-toggle(type='button')
%span.sl-c-banner__toggle-icon
%main.content(itemprop='mainContentOfPage' role='main')
%h1.sl-l-container
- if current_page.data.h1?

View File

@ -35,7 +35,6 @@ otherwise.
much simpler set:
- `c-` is for **components**. Example: `sl-c-card`.
- `l-` is for **layouts**. Example: `sl-l-grid`.
- `u-` is for **utilities**. Example: `sl-u-display--inline-flex`. (More on
this double-dash syntax in a bit).
- `is-` and `has-` for states. Example: `sl-is-active`.
- `js-` is for classes specifically created for JavaScript targeting.