Added mixins

This commit is contained in:
ポール ウェッブ 2019-02-26 15:53:50 -06:00
parent d7c450cdc5
commit 9d299a7847
5 changed files with 15 additions and 2 deletions

2
dist/index.css.map vendored

File diff suppressed because one or more lines are too long

View file

View file

@ -6,7 +6,7 @@
<link rel="stylesheet" href="https://rsms.me/inter/inter.css"/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/tonsky/FiraCode@master/distr/fira_code.css"/>
<!--/ <link rel="stylesheet" href="../dist/index.css"/> /-->
<!-- <link rel="stylesheet" href="../dist/index.css"/> -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/lbryio/components@master/dist/index.css"/>
<style>

View file

@ -3,6 +3,18 @@
justify-content: space-between;
}
@mixin breakpoint-max($breakpoint) {
@media (max-width: #{$breakpoint}px) {
@content;
}
}
@mixin breakpoint-min($breakpoint) {
@media (min-width: #{$breakpoint}px) {
@content;
}
}
@mixin center {
align-items: center;
display: inline-flex;

View file

@ -1,4 +1,5 @@
drawer-navigation {
// @include navigation(800);
width: 100%; height: 5rem;
display: inline-flex;