summaryrefslogtreecommitdiff
path: root/_sass/common/components/_image.scss
diff options
context:
space:
mode:
authorKarl Hallsby <karl@hallsby.com>2020-09-27 14:31:36 -0500
committerKarl Hallsby <karl@hallsby.com>2020-09-27 14:32:00 -0500
commit61b34a5f260db45575d448d766ea29c0fb273ed3 (patch)
tree4ac84fa917df0c69fb0fc6d587750514e7d0d813 /_sass/common/components/_image.scss
parentc3cafe3c3817f52d4c588b5b0d6e71e07e06145e (diff)
Add jekyll-text-theme YAML files
Diffstat (limited to '_sass/common/components/_image.scss')
-rw-r--r--_sass/common/components/_image.scss19
1 files changed, 19 insertions, 0 deletions
diff --git a/_sass/common/components/_image.scss b/_sass/common/components/_image.scss
new file mode 100644
index 0000000..9d1a220
--- /dev/null
+++ b/_sass/common/components/_image.scss
@@ -0,0 +1,19 @@
+.image {
+ max-width: 100%;
+ @extend .image--md;
+}
+.image--md {
+ width: map-get($image, width);
+}
+.image--xl {
+ width: map-get($image, width-xl);
+}
+.image--lg {
+ width: map-get($image, width-lg);
+}
+.image--sm {
+ width: map-get($image, width-sm);
+}
+.image--xs {
+ width: map-get($image, width-xs);
+}