aboutsummaryrefslogtreecommitdiff
path: root/themes/hugo-pt2021/assets/bulma-0.9.3/sass/elements/icon.sass
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2021-10-14 12:47:50 -0400
committerPaul Duncan <pabs@pablotron.org>2021-10-14 12:47:50 -0400
commit4b6c0e31385f5f27a151088c0a2b614495c4e589 (patch)
tree12243cdcd00704bc1a9d94ac9cc128459417370c /themes/hugo-pt2021/assets/bulma-0.9.3/sass/elements/icon.sass
downloadpablotron.org-4b6c0e31385f5f27a151088c0a2b614495c4e589.tar.bz2
pablotron.org-4b6c0e31385f5f27a151088c0a2b614495c4e589.zip
initial commit, including theme
Diffstat (limited to 'themes/hugo-pt2021/assets/bulma-0.9.3/sass/elements/icon.sass')
-rw-r--r--themes/hugo-pt2021/assets/bulma-0.9.3/sass/elements/icon.sass46
1 files changed, 46 insertions, 0 deletions
diff --git a/themes/hugo-pt2021/assets/bulma-0.9.3/sass/elements/icon.sass b/themes/hugo-pt2021/assets/bulma-0.9.3/sass/elements/icon.sass
new file mode 100644
index 0000000..0befe2b
--- /dev/null
+++ b/themes/hugo-pt2021/assets/bulma-0.9.3/sass/elements/icon.sass
@@ -0,0 +1,46 @@
+$icon-dimensions: 1.5rem !default
+$icon-dimensions-small: 1rem !default
+$icon-dimensions-medium: 2rem !default
+$icon-dimensions-large: 3rem !default
+$icon-text-spacing: 0.25em !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
+
+.icon-text
+ align-items: flex-start
+ color: inherit
+ display: inline-flex
+ flex-wrap: wrap
+ line-height: $icon-dimensions
+ vertical-align: top
+ .icon
+ flex-grow: 0
+ flex-shrink: 0
+ &:not(:last-child)
+ +ltr
+ margin-right: $icon-text-spacing
+ +rtl
+ margin-left: $icon-text-spacing
+ &:not(:first-child)
+ +ltr
+ margin-left: $icon-text-spacing
+ +rtl
+ margin-right: $icon-text-spacing
+
+div.icon-text
+ display: flex