... | ... |
@@ -43,15 +43,18 @@ img { |
43 | 43 |
border-bottom: 1px $color-text solid; |
44 | 44 |
} |
45 | 45 |
|
46 |
-.ta_left { |
|
46 |
+.ta_left, |
|
47 |
+.-text-align-left { |
|
47 | 48 |
text-align: left; |
48 | 49 |
} |
49 | 50 |
|
50 |
-.ta_right { |
|
51 |
+.ta_right, |
|
52 |
+.-text-align-right { |
|
51 | 53 |
text-align: right; |
52 | 54 |
} |
53 | 55 |
|
54 |
-.ta_center { |
|
56 |
+.ta_center, |
|
57 |
+.-text-align-center { |
|
55 | 58 |
text-align: center; |
56 | 59 |
} |
57 | 60 |
.fl_left { |
... | ... |
@@ -1002,4 +1002,17 @@ p.info { |
1002 | 1002 |
opacity: 0; |
1003 | 1003 |
@include transform(translateX(0) scale(1)); |
1004 | 1004 |
} |
1005 |
-} |
|
1006 | 1005 |
\ No newline at end of file |
1006 |
+} |
|
1007 |
+ |
|
1008 |
+/** |
|
1009 |
+ * Text Positioning |
|
1010 |
+ */ |
|
1011 |
+ |
|
1012 |
+@mixin text-position-wrapper { |
|
1013 |
+ display: flex; |
|
1014 |
+ align-items: center; |
|
1015 |
+ justify-content: center; |
|
1016 |
+} |
|
1017 |
+@mixin text-position($horizontal: 'center', $vertical: 'middle') { |
|
1018 |
+ @if($horizontal = '') |
|
1019 |
+} |