diff options
author | 53hornet <53hornet@gmail.com> | 2019-03-30 18:05:20 -0400 |
---|---|---|
committer | 53hornet <53hornet@gmail.com> | 2019-03-30 18:05:20 -0400 |
commit | 7f69e616dd181ce6d46d42a7dfde14dfeae7e247 (patch) | |
tree | 3324c42ae878b1e68717d56270d81015d7d6de6b /_sass/elements/icon.sass | |
download | cobalt-site-7f69e616dd181ce6d46d42a7dfde14dfeae7e247.tar.xz cobalt-site-7f69e616dd181ce6d46d42a7dfde14dfeae7e247.zip |
Initial commit.
Diffstat (limited to '_sass/elements/icon.sass')
-rw-r--r-- | _sass/elements/icon.sass | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/_sass/elements/icon.sass b/_sass/elements/icon.sass new file mode 100644 index 0000000..988546c --- /dev/null +++ b/_sass/elements/icon.sass @@ -0,0 +1,21 @@ +$icon-dimensions: 1.5rem !default +$icon-dimensions-small: 1rem !default +$icon-dimensions-medium: 2rem !default +$icon-dimensions-large: 3rem !default + +.icon + align-items: center + display: inline-flex + justify-content: center + height: $icon-dimensions + width: $icon-dimensions + // Sizes + &.is-small + height: $icon-dimensions-small + width: $icon-dimensions-small + &.is-medium + height: $icon-dimensions-medium + width: $icon-dimensions-medium + &.is-large + height: $icon-dimensions-large + width: $icon-dimensions-large |