Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
Commit25802f303f13a53781a6ad2c533faac4327c44c2 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-04-09 11:03:33 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-04-09 11:03:33 +0800
Files3114575f041a58a4276a44de93317ab013a3cdeb /src
Spectre-Dark-Gruvbox-25802f303f13a53781a6ad2c533faac4327c44c2.tar
Spectre-Dark-Gruvbox-25802f303f13a53781a6ad2c533faac4327c44c2.tar.gz
Spectre-Dark-Gruvbox-25802f303f13a53781a6ad2c533faac4327c44c2.zip
Parenta99c5ae371476ac71519f2259a321b254453ec05 (diff)
cleanup codes
2 files changed, 49 insertions, 46 deletions
-rw-r--r--src/typography.less46
-rw-r--r--src/utilities.less49
diff --git a/src/typography.less b/src/typography.less
index b18fa43..d996890 100644
--- a/src/typography.less
+++ b/src/typography.less
@@ -85,52 +85,6 @@ ol {
background-color: #fff5b7;
}
-.text-left {
- text-align: left;
-}
-.text-right {
- text-align: right;
-}
-.text-center {
- text-align: center;
-}
-.text-justify {
- text-align: justify;
-}
-
-.text-lowercase {
- text-transform: lowercase;
-}
-.text-uppercase {
- text-transform: uppercase;
-}
-.text-capitalize {
- text-transform: capitalize;
-}
-
-.text-bold {
- font-weight: bold;
-}
-.text-italic {
- font-style: italic;
-}
-
-.text-ellipsis {
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
-}
-.text-clip {
- white-space: nowrap;
- overflow: hidden;
- text-overflow: clip;
-}
-.text-break {
- word-break: break-word;
- word-wrap: break-word;
- hyphens: auto;
-}
-
// Code
pre {
margin-top: 1em;
diff --git a/src/utilities.less b/src/utilities.less
index e925600..a030104 100644
--- a/src/utilities.less
+++ b/src/utilities.less
@@ -80,9 +80,58 @@
.flex {
display: flex;
}
+.inline-flex {
+ display: inline-flex;
+}
.hide {
display: none !important;
}
+// Text
+.text-left {
+ text-align: left;
+}
+.text-right {
+ text-align: right;
+}
+.text-center {
+ text-align: center;
+}
+.text-justify {
+ text-align: justify;
+}
+
+.text-lowercase {
+ text-transform: lowercase;
+}
+.text-uppercase {
+ text-transform: uppercase;
+}
+.text-capitalize {
+ text-transform: capitalize;
+}
+
+.text-bold {
+ font-weight: bold;
+}
+.text-italic {
+ font-style: italic;
+}
+
+.text-ellipsis {
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+.text-clip {
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: clip;
+}
+.text-break {
+ word-break: break-word;
+ word-wrap: break-word;
+ hyphens: auto;
+}
// Shadow
.shadow {