aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/widgets/image-widget.module.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/organisms/widgets/image-widget.module.scss')
-rw-r--r--src/components/organisms/widgets/image-widget.module.scss43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/components/organisms/widgets/image-widget.module.scss b/src/components/organisms/widgets/image-widget.module.scss
new file mode 100644
index 0000000..78c0d26
--- /dev/null
+++ b/src/components/organisms/widgets/image-widget.module.scss
@@ -0,0 +1,43 @@
+@use "@styles/abstracts/functions" as fun;
+
+.img {
+ max-height: fun.convert-px(350);
+ margin: 0;
+}
+
+.txt {
+ padding: var(--spacing-sm);
+}
+
+.widget {
+ &--left {
+ .img {
+ margin-right: auto;
+ }
+
+ .txt {
+ text-align: left;
+ }
+ }
+
+ &--center {
+ .img {
+ margin-left: auto;
+ margin-right: auto;
+ }
+
+ .txt {
+ text-align: center;
+ }
+ }
+
+ &--right {
+ .img {
+ margin-left: auto;
+ }
+
+ .txt {
+ text-align: right;
+ }
+ }
+}