Improve the image style.

This commit is contained in:
Cotes Chung
2020-09-02 18:25:57 +08:00
parent d78f034f5d
commit 9dcab7ac1f
3 changed files with 18 additions and 20 deletions

View File

@@ -98,3 +98,11 @@
font-weight: $font-weight;
font-family: 'Roboto Condensed', 'Microsoft Yahei', sans-serif;
}
@mixin align-center {
position: relative;
left: 50%;
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
}