Summary Files Commits Branches @commit @diff @stats
path: root / dist
diff options
context:
space:
mode:
Commit7230b02673f2c177e4189add9b71e93acf01e0ed (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-03-11 14:48:29 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-03-11 14:48:29 +0800
Filesdf2e4a584cd70dc0be222fec9925b65ac657f973 /dist
Spectre-Dark-Gruvbox-7230b02673f2c177e4189add9b71e93acf01e0ed.tar
Spectre-Dark-Gruvbox-7230b02673f2c177e4189add9b71e93acf01e0ed.tar.gz
Spectre-Dark-Gruvbox-7230b02673f2c177e4189add9b71e93acf01e0ed.zip
Parenta99162859eb29057cd9d2f1f65699864e89c5654 (diff)
add flexbox layout
1 files changed, 112 insertions, 5 deletions
-rw-r--r--dist/spectre.css117
diff --git a/dist/spectre.css b/dist/spectre.css
index b0a84d8..3673bd7 100644
--- a/dist/spectre.css
+++ b/dist/spectre.css
@@ -382,6 +382,7 @@ ol ol {
}
html {
font-size: 10px;
+ -webkit-tap-highlight-color: transparent;
}
body {
color: #333;
@@ -396,6 +397,8 @@ h4,
h5,
h6 {
font-weight: 300;
+ line-height: 1.1;
+ color: inherit;
}
h1 {
font-size: 5rem;
@@ -496,12 +499,116 @@ ol {
ol ol {
list-style-type: lower-alpha;
}
-.clearfix:before,
-.clearfix:after {
- content: " ";
- display: table;
+.container {
+ margin-left: auto;
+ margin-right: auto;
+ padding-left: 10px;
+ padding-right: 10px;
+}
+.columns {
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ margin-left: -10px;
+ margin-right: -10px;
+}
+.column {
+ -webkit-box-flex: 1;
+ -webkit-flex: 1;
+ -ms-flex: 1;
+ flex: 1;
+ padding: 10px;
+}
+.column.col-12 {
+ -webkit-box-flex: 0;
+ -webkit-flex: none;
+ -ms-flex: none;
+ flex: none;
+ width: 100%;
+}
+.column.col-11 {
+ -webkit-box-flex: 0;
+ -webkit-flex: none;
+ -ms-flex: none;
+ flex: none;
+ width: 91.66666667%;
+}
+.column.col-10 {
+ -webkit-box-flex: 0;
+ -webkit-flex: none;
+ -ms-flex: none;
+ flex: none;
+ width: 83.33333333%;
}
-.clearfix:after {
+.column.col-9 {
+ -webkit-box-flex: 0;
+ -webkit-flex: none;
+ -ms-flex: none;
+ flex: none;
+ width: 75%;
+}
+.column.col-8 {
+ -webkit-box-flex: 0;
+ -webkit-flex: none;
+ -ms-flex: none;
+ flex: none;
+ width: 66.66666667%;
+}
+.column.col-7 {
+ -webkit-box-flex: 0;
+ -webkit-flex: none;
+ -ms-flex: none;
+ flex: none;
+ width: 58.33333333%;
+}
+.column.col-6 {
+ -webkit-box-flex: 0;
+ -webkit-flex: none;
+ -ms-flex: none;
+ flex: none;
+ width: 50%;
+}
+.column.col-5 {
+ -webkit-box-flex: 0;
+ -webkit-flex: none;
+ -ms-flex: none;
+ flex: none;
+ width: 41.66666667%;
+}
+.column.col-4 {
+ -webkit-box-flex: 0;
+ -webkit-flex: none;
+ -ms-flex: none;
+ flex: none;
+ width: 33.33333333%;
+}
+.column.col-3 {
+ -webkit-box-flex: 0;
+ -webkit-flex: none;
+ -ms-flex: none;
+ flex: none;
+ width: 25%;
+}
+.column.col-2 {
+ -webkit-box-flex: 0;
+ -webkit-flex: none;
+ -ms-flex: none;
+ flex: none;
+ width: 16.66666667%;
+}
+.column.col-1 {
+ -webkit-box-flex: 0;
+ -webkit-flex: none;
+ -ms-flex: none;
+ flex: none;
+ width: 8.33333333%;
+}
+.clearfix::after,
+.container::after,
+.columns::after {
+ content: "";
+ display: table;
clear: both;
}
.pull-left {