+ *
*
*
- *
@@ -44,12 +44,12 @@
*/
.flag {
- display: table;
- width: 100%;
+ display: table;
+ width: 100%;
}
-.flag__image,
-.flag__body {
+.flag--image,
+.flag--body {
display: table-cell;
vertical-align: middle;
@@ -63,7 +63,7 @@
}
-.flag__image {
+.flag--image {
padding-right: 10px;
> img {
@@ -78,7 +78,7 @@
}
-.flag__body {
+.flag--body {
width: 100%;
}
diff --git a/sass/_vertical_align.scss b/sass/_vertical_align.scss
new file mode 100644
index 0000000..c425f78
--- /dev/null
+++ b/sass/_vertical_align.scss
@@ -0,0 +1,46 @@
+/*
+ VERTICAL ALIGN
+*/
+
+.v-base { vertical-align: baseline; }
+.v-sub { vertical-align: sub; }
+.v-sup { vertical-align: super; }
+.v-txt-top { vertical-align: text-top; }
+.v-txt-btm { vertical-align: text-bottom; }
+.v-mid { vertical-align: middle; }
+.v-top { vertical-align: top; }
+.v-btm { vertical-align: bottom; }
+
+@include break(not-small) {
+ .v-base-ns { vertical-align: baseline; }
+ .v-sub-ns { vertical-align: sub; }
+ .v-sup-ns { vertical-align: super; }
+ .v-txt-top-ns { vertical-align: text-top; }
+ .v-txt-btm-ns { vertical-align: text-bottom; }
+ .v-mid-ns { vertical-align: middle; }
+ .v-top-ns { vertical-align: top; }
+ .v-btm-ns { vertical-align: bottom; }
+}
+
+@include break(medium) {
+ .v-base-m { vertical-align: baseline; }
+ .v-sub-m { vertical-align: sub; }
+ .v-sup-m { vertical-align: super; }
+ .v-txt-top-m { vertical-align: text-top; }
+ .v-txt-btm-m { vertical-align: text-bottom; }
+ .v-mid-m { vertical-align: middle; }
+ .v-top-m { vertical-align: top; }
+ .v-btm-m { vertical-align: bottom; }
+}
+
+@include break(large) {
+ .v-base-l { vertical-align: baseline; }
+ .v-sub-l { vertical-align: sub; }
+ .v-sup-l { vertical-align: super; }
+ .v-txt-top-l { vertical-align: text-top; }
+ .v-txt-btm-l { vertical-align: text-bottom; }
+ .v-mid-l { vertical-align: middle; }
+ .v-top-l { vertical-align: top; }
+ .v-btm-l { vertical-align: bottom; }
+}
+
diff --git a/sass/i.scss b/sass/i.scss
index 56e44f4..d603795 100644
--- a/sass/i.scss
+++ b/sass/i.scss
@@ -36,5 +36,6 @@
@import "widths";
@import "word_spacing";
@import "styles";
+@import "vertical_align";
@import "debug";