You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by cx...@apache.org on 2017/03/29 07:57:24 UTC
[4/9] incubator-weex-site git commit: Site updated: 2017-03-29
15:57:11
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1b2a58e5/content/css/animation.css
----------------------------------------------------------------------
diff --git a/content/css/animation.css b/content/css/animation.css
new file mode 100644
index 0000000..0874d6d
--- /dev/null
+++ b/content/css/animation.css
@@ -0,0 +1,196 @@
+.solar {
+ margin: 250px auto 350px;
+ height: 50px;
+ width: 50px;
+ background: orange;
+ border-radius: 25px;
+ position: relative;
+ -webkit-animation: glow 1.5s linear infinite;
+ -moz-animation: glow 1.5s linear infinite; }
+
+.solar i {
+ border-radius: 250px;
+ display: block;
+ position: absolute;
+ border: 1px solid rgba(255, 255, 255, 0.15);
+ box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ -webkit-transform-origin: 50% 50%;
+ -moz-transform-origin: 50% 50%; }
+
+.solar i:before {
+ content: '';
+ border-radius: 25px;
+ background: black;
+ display: block;
+ position: absolute;
+ top: -5px;
+ right: 45%; }
+
+.solar i.mercury {
+ width: 80px;
+ height: 80px;
+ margin-left: -40px;
+ left: 50%;
+ top: 50%;
+ margin-top: -40px;
+ -webkit-animation: orbit .5s linear infinite;
+ -moz-animation: orbit .5s linear infinite; }
+
+.solar i.mercury:before {
+ background: #6F5F5F;
+ height: 7px;
+ width: 7px; }
+
+.solar i.venus {
+ width: 110px;
+ height: 110px;
+ margin-left: -55px;
+ left: 50%;
+ top: 50%;
+ margin-top: -55px;
+ -webkit-animation: orbit 1s linear infinite;
+ -moz-animation: orbit 1s linear infinite; }
+
+.solar i.venus:before {
+ background: #E7A71F;
+ height: 10px;
+ width: 10px; }
+
+.solar i.earth {
+ width: 140px;
+ height: 140px;
+ margin-left: -70px;
+ left: 50%;
+ top: 50%;
+ margin-top: -70px;
+ -webkit-animation: orbit 1.5s linear infinite;
+ -moz-animation: orbit 1.5s linear infinite; }
+
+.solar i.earth:before {
+ background: #63BEE2;
+ height: 10px;
+ width: 10px; }
+
+.solar i.mars {
+ width: 170px;
+ height: 170px;
+ margin-left: -85px;
+ left: 50%;
+ top: 50%;
+ margin-top: -85px;
+ -webkit-animation: orbit 2s linear infinite;
+ -moz-animation: orbit 2s linear infinite; }
+
+.solar i.mars:before {
+ background: red;
+ height: 10px;
+ width: 10px; }
+
+.solar i.belt {
+ box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ border-width: 25px;
+ width: 240px;
+ height: 240px;
+ margin-left: -120px;
+ border-color: rgba(36, 35, 35, 0.21);
+ left: 50%;
+ top: 50%;
+ margin-top: -120px; }
+
+.solar i.jupiter {
+ width: 260px;
+ height: 260px;
+ margin-left: -130px;
+ left: 50%;
+ top: 50%;
+ margin-top: -130px;
+ -webkit-animation: orbit 2.5s linear infinite;
+ -moz-animation: orbit 2.5s linear infinite; }
+
+.solar i.jupiter:before {
+ background: #CF9B2B;
+ top: -15px;
+ height: 30px;
+ width: 30px; }
+
+.solar i.saturn {
+ width: 320px;
+ height: 320px;
+ margin-left: -160px;
+ left: 50%;
+ top: 50%;
+ margin-top: -160px;
+ -webkit-animation: orbit 3s linear infinite;
+ -moz-animation: orbit 3s linear infinite; }
+
+.solar i.saturn:before {
+ background: #CF7A2B;
+ top: -10px;
+ height: 20px;
+ width: 20px; }
+
+.solar i.saturn:after {
+ background: #fff;
+ width: 30px;
+ height: 1px;
+ content: '';
+ position: absolute;
+ display: block;
+ background: #FFF;
+ width: 30px;
+ height: 1px;
+ content: '';
+ right: 43.5%;
+ -webkit-transform: rotate(20deg);
+ -moz-transform: rotate(20deg); }
+
+.solar i.uranus {
+ width: 360px;
+ height: 360px;
+ margin-left: -180px;
+ left: 50%;
+ top: 50%;
+ margin-top: -180px;
+ -webkit-animation: orbit 3.5s linear infinite;
+ -moz-animation: orbit 3.5s linear infinite; }
+
+.solar i.uranus:before {
+ background: #10C593;
+ top: -8px;
+ height: 15px;
+ width: 15px; }
+
+.solar i.neptune {
+ width: 400px;
+ height: 400px;
+ margin-left: -200px;
+ left: 50%;
+ top: 50%;
+ margin-top: -200px;
+ -webkit-animation: orbit 4s linear infinite;
+ -moz-animation: orbit 4s linear infinite; }
+
+.solar i.neptune:before {
+ background: #1470E4;
+ top: -8px;
+ height: 15px;
+ width: 15px; }
+
+@-webkit-keyframes orbit {
+ 0% {
+ -webkit-transform: rotate(0deg); }
+ 50% {
+ -webkit-transform: rotate(-180deg); }
+ 100% {
+ -webkit-transform: rotate(-360deg); } }
+
+@-webkit-keyframes glow {
+ 0% {
+ box-shadow: none; }
+ 50% {
+ background: #FFEB00;
+ box-shadow: 0 0 20px orange; }
+ 100% {
+ box-shadow: none; } }
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1b2a58e5/content/css/animation.scss
----------------------------------------------------------------------
diff --git a/content/css/animation.scss b/content/css/animation.scss
deleted file mode 100644
index 09c6ca8..0000000
--- a/content/css/animation.scss
+++ /dev/null
@@ -1,250 +0,0 @@
-.solar {
- margin: 250px auto 350px;
- height: 50px;
- width: 50px;
- background: orange;
- border-radius: 25px;
- position: relative;
- -webkit-animation: glow 1.5s linear infinite;
- -moz-animation: glow 1.5s linear infinite;
-}
-
-.solar i {
- border-radius: 250px;
- display: block;
- position: absolute;
- border: 1px solid rgba(255, 255, 255, 0.15);
- box-sizing: border-box;
- -moz-box-sizing: border-box;
- -webkit-transform-origin: 50% 50%;
- -moz-transform-origin: 50% 50%;
-}
-
-.solar i:before {
- content: '';
- border-radius: 25px;
- background: black;
- display: block;
- position: absolute;
- top: -5px;
- right: 45%;
-}
-
-.solar i.mercury {
- width: 80px;
- height: 80px;
- margin-left: -40px;
- left: 50%;
- top: 50%;
- margin-top: -40px;
- -webkit-animation: orbit .5s linear infinite;
- -moz-animation: orbit .5s linear infinite;
-}
-
-.solar i.mercury:before {
- background: #6F5F5F;
- height: 7px;
- width: 7px;
-}
-
-.solar i.venus {
- width: 110px;
- height: 110px;
- margin-left: -55px;
- left: 50%;
- top: 50%;
- margin-top: -55px;
- -webkit-animation: orbit 1s linear infinite;
- -moz-animation: orbit 1s linear infinite;
-}
-
-.solar i.venus:before {
- background: #E7A71F;
- height: 10px;
- width: 10px;
-}
-
-.solar i.earth {
- width: 140px;
- height: 140px;
- margin-left: -70px;
- left: 50%;
- top: 50%;
- margin-top: -70px;
- -webkit-animation: orbit 1.5s linear infinite;
- -moz-animation: orbit 1.5s linear infinite;
-}
-
-.solar i.earth:before {
- background: #63BEE2;
- height: 10px;
- width: 10px;
-}
-
-.solar i.mars {
- width: 170px;
- height: 170px;
- margin-left: -85px;
- left: 50%;
- top: 50%;
- margin-top: -85px;
- -webkit-animation: orbit 2s linear infinite;
- -moz-animation: orbit 2s linear infinite;
-}
-
-.solar i.mars:before {
- background: red;
- height: 10px;
- width: 10px;
-}
-
-.solar i.belt {
- box-sizing: border-box;
- -moz-box-sizing: border-box;
- border-width: 25px;
- width: 240px;
- height: 240px;
- margin-left: -120px;
- border-color: rgba(36, 35, 35, 0.21);
- left: 50%;
- top: 50%;
- margin-top: -120px;
-}
-
-.solar i.jupiter {
- width: 260px;
- height: 260px;
- margin-left: -130px;
- left: 50%;
- top: 50%;
- margin-top: -130px;
- -webkit-animation: orbit 2.5s linear infinite;
- -moz-animation: orbit 2.5s linear infinite;
-}
-
-.solar i.jupiter:before {
- background: #CF9B2B;
- top: -15px;
- height: 30px;
- width: 30px;
-}
-
-.solar i.saturn {
- width: 320px;
- height: 320px;
- margin-left: -160px;
- left: 50%;
- top: 50%;
- margin-top: -160px;
- -webkit-animation: orbit 3s linear infinite;
- -moz-animation: orbit 3s linear infinite;
-}
-
-.solar i.saturn:before {
- background: #CF7A2B;
- top: -10px;
- height: 20px;
- width: 20px;
-}
-
-.solar i.saturn:after {
- background: #fff;
- width: 30px;
- height: 1px;
- content: '';
- position: absolute;
- display: block;
- background: #FFF;
- width: 30px;
- height: 1px;
- content: '';
- right: 43.5%;
- -webkit-transform: rotate(20deg);
- -moz-transform: rotate(20deg);
-}
-
-.solar i.uranus {
- width: 360px;
- height: 360px;
- margin-left: -180px;
- left: 50%;
- top: 50%;
- margin-top: -180px;
- -webkit-animation: orbit 3.5s linear infinite;
- -moz-animation: orbit 3.5s linear infinite;
-}
-
-.solar i.uranus:before {
- background: #10C593;
- top: -8px;
- height: 15px;
- width: 15px;
-}
-
-.solar i.neptune {
- width: 400px;
- height: 400px;
- margin-left: -200px;
- left: 50%;
- top: 50%;
- margin-top: -200px;
- -webkit-animation: orbit 4s linear infinite;
- -moz-animation: orbit 4s linear infinite;
-}
-
-.solar i.neptune:before {
- background: #1470E4;
- top: -8px;
- height: 15px;
- width: 15px;
-}
-
-@-webkit-keyframes orbit {
- 0% {
- -webkit-transform: rotate(0deg);
- }
- 50% {
- -webkit-transform: rotate(-180deg);
- }
- 100% {
- -webkit-transform: rotate(-360deg);
- }
-}
-
-@-webkit-keyframes glow {
- 0% {
- box-shadow: none;
- }
- 50% {
- background: #FFEB00;
- box-shadow: 0 0 20px orange;
- }
- 100% {
- box-shadow: none;
- }
-}
-
-@-moz-keyframes orbit {
- 0% {
- -moz-transform: rotate(0deg);
- }
- 50% {
- -moz-transform: rotate(-180deg);
- }
- 100% {
- -moz-transform: rotate(-360deg);
- }
-}
-
-@-moz-keyframes glow {
- 0% {
- box-shadow: none;
- }
- 50% {
- background: #FFEB00;
- box-shadow: 0 0 20px orange;
- }
- 100% {
- box-shadow: none;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1b2a58e5/content/css/atom-one-dark.css
----------------------------------------------------------------------
diff --git a/content/css/atom-one-dark.css b/content/css/atom-one-dark.css
new file mode 100644
index 0000000..c663e2b
--- /dev/null
+++ b/content/css/atom-one-dark.css
@@ -0,0 +1,83 @@
+/*
+
+Atom One Dark by Daniel Gamage
+Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax
+
+base: #282c34
+mono-1: #abb2bf
+mono-2: #818896
+mono-3: #5c6370
+hue-1: #56b6c2
+hue-2: #61aeee
+hue-3: #c678dd
+hue-4: #98c379
+hue-5: #e06c75
+hue-5-2: #be5046
+hue-6: #d19a66
+hue-6-2: #e6c07b
+
+*/
+.hljs {
+ display: block;
+ overflow-x: auto;
+ padding: 0.5em;
+ color: #abb2bf;
+ background: #282c34; }
+
+.hljs-comment,
+.hljs-quote {
+ color: #5c6370;
+ font-style: italic; }
+
+.hljs-doctag,
+.hljs-keyword,
+.hljs-formula {
+ color: #c678dd; }
+
+.hljs-section,
+.hljs-name,
+.hljs-selector-tag,
+.hljs-deletion,
+.hljs-subst {
+ color: #e06c75; }
+
+.hljs-literal {
+ color: #56b6c2; }
+
+.hljs-string,
+.hljs-regexp,
+.hljs-addition,
+.hljs-attribute,
+.hljs-meta-string {
+ color: #98c379; }
+
+.hljs-built_in,
+.hljs-class .hljs-title {
+ color: #e6c07b; }
+
+.hljs-attr,
+.hljs-variable,
+.hljs-template-variable,
+.hljs-type,
+.hljs-selector-class,
+.hljs-selector-attr,
+.hljs-selector-pseudo,
+.hljs-number {
+ color: #d19a66; }
+
+.hljs-symbol,
+.hljs-bullet,
+.hljs-link,
+.hljs-meta,
+.hljs-selector-id,
+.hljs-title {
+ color: #61aeee; }
+
+.hljs-emphasis {
+ font-style: italic; }
+
+.hljs-strong {
+ font-weight: bold; }
+
+.hljs-link {
+ text-decoration: underline; }
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1b2a58e5/content/css/atom-one-dark.scss
----------------------------------------------------------------------
diff --git a/content/css/atom-one-dark.scss b/content/css/atom-one-dark.scss
deleted file mode 100644
index 1616aaf..0000000
--- a/content/css/atom-one-dark.scss
+++ /dev/null
@@ -1,96 +0,0 @@
-/*
-
-Atom One Dark by Daniel Gamage
-Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax
-
-base: #282c34
-mono-1: #abb2bf
-mono-2: #818896
-mono-3: #5c6370
-hue-1: #56b6c2
-hue-2: #61aeee
-hue-3: #c678dd
-hue-4: #98c379
-hue-5: #e06c75
-hue-5-2: #be5046
-hue-6: #d19a66
-hue-6-2: #e6c07b
-
-*/
-
-.hljs {
- display: block;
- overflow-x: auto;
- padding: 0.5em;
- color: #abb2bf;
- background: #282c34;
-}
-
-.hljs-comment,
-.hljs-quote {
- color: #5c6370;
- font-style: italic;
-}
-
-.hljs-doctag,
-.hljs-keyword,
-.hljs-formula {
- color: #c678dd;
-}
-
-.hljs-section,
-.hljs-name,
-.hljs-selector-tag,
-.hljs-deletion,
-.hljs-subst {
- color: #e06c75;
-}
-
-.hljs-literal {
- color: #56b6c2;
-}
-
-.hljs-string,
-.hljs-regexp,
-.hljs-addition,
-.hljs-attribute,
-.hljs-meta-string {
- color: #98c379;
-}
-
-.hljs-built_in,
-.hljs-class .hljs-title {
- color: #e6c07b;
-}
-
-.hljs-attr,
-.hljs-variable,
-.hljs-template-variable,
-.hljs-type,
-.hljs-selector-class,
-.hljs-selector-attr,
-.hljs-selector-pseudo,
-.hljs-number {
- color: #d19a66;
-}
-
-.hljs-symbol,
-.hljs-bullet,
-.hljs-link,
-.hljs-meta,
-.hljs-selector-id,
-.hljs-title {
- color: #61aeee;
-}
-
-.hljs-emphasis {
- font-style: italic;
-}
-
-.hljs-strong {
- font-weight: bold;
-}
-
-.hljs-link {
- text-decoration: underline;
-}
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1b2a58e5/content/css/blog.css
----------------------------------------------------------------------
diff --git a/content/css/blog.css b/content/css/blog.css
new file mode 100644
index 0000000..4b35661
--- /dev/null
+++ b/content/css/blog.css
@@ -0,0 +1,26 @@
+/***********************
+* Variable
+***********************/
+/***********************
+* Mixin
+***********************/
+.blog-wrapper {
+ position: relative;
+ width: 100%;
+ margin: 120px auto 90px;
+ max-width: 900px;
+ min-height: 100%; }
+ .blog-wrapper .article-excerpt.article {
+ margin: 0; }
+ .blog-wrapper .article-excerpt > h1 {
+ display: none; }
+ .blog-wrapper .article-excerpt .weex-version {
+ display: none; }
+ .blog-wrapper .blog-article-inner {
+ padding: 0 1.45em;
+ margin-bottom: 50px; }
+ .blog-wrapper .more-link {
+ display: block;
+ color: #999; }
+ .blog-wrapper .more-link:hover {
+ color: #777; }
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1b2a58e5/content/css/blog.scss
----------------------------------------------------------------------
diff --git a/content/css/blog.scss b/content/css/blog.scss
deleted file mode 100644
index 7e2cd9d..0000000
--- a/content/css/blog.scss
+++ /dev/null
@@ -1,36 +0,0 @@
-@import "variable.scss";
-
-.blog-wrapper {
- position: relative;
- width: 100%;
- margin: 120px auto 90px;
- max-width: 900px;
- min-height: 100%;
-
- .article-excerpt {
- &.article {
- margin: 0;
- }
-
- > h1 {
- display: none;
- }
-
- .weex-version {
- display: none;
- }
- }
-
- .blog-article-inner {
- padding: 0 1.45em;
- margin-bottom: 50px;
- }
-
- .more-link {
- display: block;
- color: $text-gray;
- &:hover {
- color: #777;
- }
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1b2a58e5/content/css/common.css
----------------------------------------------------------------------
diff --git a/content/css/common.css b/content/css/common.css
new file mode 100644
index 0000000..c036278
--- /dev/null
+++ b/content/css/common.css
@@ -0,0 +1,215 @@
+/***********************
+* Variable
+***********************/
+/***********************
+* Mixin
+***********************/
+/***********************
+* Reset
+***********************/
+*, *:before, *:after {
+ box-sizing: border-box; }
+
+html, body {
+ width: 100%;
+ height: 100%;
+ /*overflow-x: hidden;
+ overflow-y: auto;*/
+ margin: 0;
+ padding: 0; }
+
+body {
+ background: #f5f5f5;
+ font-family: "PingFang SC","Helvetica Neue",Arial,STHeiti,"Microsoft YaHei","Source Han Sans SC","Noto Sans CJK SC","Source Han Sans CN","Noto Sans SC","Noto Sans CJK TC",SimSun,sans-serif;
+ font-size: 14px;
+ line-height: 1.2;
+ color: #363539;
+ -webkit-tap-highlight-color: transparent; }
+
+@font-face {
+ font-family: "iconfont";
+ src: url("//at.alicdn.com/t/font_i0r1euwhok5oecdi.eot?t=1481812721653");
+ /* IE9*/
+ src: url("//at.alicdn.com/t/font_i0r1euwhok5oecdi.eot?t=1481812721653#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_i0r1euwhok5oecdi.woff?t=1481812721653") format("woff"), url("//at.alicdn.com/t/font_i0r1euwhok5oecdi.ttf?t=1481812721653") format("truetype"), url("//at.alicdn.com/t/font_i0r1euwhok5oecdi.svg?t=1481812721653#iconfont") format("svg");
+ /* iOS 4.1- */ }
+
+.iconfont {
+ font-family: "iconfont" !important;
+ font-size: 20px;
+ font-style: normal;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale; }
+
+.icon-nav:before {
+ content: "\e60c"; }
+
+.icon-github:before {
+ content: "\e69f"; }
+
+.icon-search:before {
+ content: "\e605"; }
+
+.icon-arrow:before {
+ content: "\e623"; }
+
+.icon-close:before {
+ content: "\e780"; }
+
+.icon-arrow-small:before {
+ content: "\e67c"; }
+
+.icon-baichuan:before {
+ content: "\e602"; }
+
+.icon-back2top:before {
+ content: "\e604"; }
+
+a {
+ cursor: pointer;
+ color: #363539;
+ text-decoration: none; }
+ a:hover {
+ color: #999; }
+
+img {
+ max-width: 100%;
+ vertical-align: middle; }
+
+h1, h2, h3, h4, h5, h6, p {
+ font-weight: normal;
+ margin: 0 0 1em; }
+
+h1 {
+ font-size: 2em; }
+
+h2 {
+ font-size: 1.75em; }
+
+h3 {
+ font-size: 1.5em; }
+
+h4 {
+ font-size: 1.25em; }
+
+h5 {
+ font-size: 1.1em; }
+
+blockquote {
+ margin: 0;
+ padding: 1em 0 1px 20px;
+ border-left: 5px solid #ddd; }
+
+/***********************
+* Common style
+***********************/
+.button {
+ display: inline-block;
+ font-size: 1.05em;
+ width: 10em;
+ height: 2.5em;
+ line-height: 2.5em;
+ text-align: center;
+ color: #fff;
+ background: #ff3e33;
+ border: #ff3e33 1px solid;
+ border-radius: 2em;
+ box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.16); }
+ .button:hover {
+ background: #d63f36;
+ border: #d63f36 1px solid; }
+
+.clearfix:before, .clearfix:after {
+ display: table;
+ content: " "; }
+
+.clearfix:after {
+ clear: both; }
+
+.imgbox {
+ width: 100%;
+ height: 100%; }
+ .imgbox img {
+ width: 100%; }
+
+.dropdown {
+ position: relative; }
+ .dropdown .dropdown-toggle {
+ display: block;
+ font-size: 14px;
+ text-align: center;
+ color: #363539;
+ text-decoration: none; }
+ .dropdown .dropdown-menu {
+ display: none;
+ position: absolute;
+ top: 100%;
+ left: 0;
+ z-index: 999;
+ float: left;
+ padding: 5px 0;
+ margin: 0;
+ font-size: 14px;
+ text-align: left;
+ list-style: none;
+ background-color: #fff;
+ background-clip: padding-box;
+ border: 1px solid #999ba4;
+ box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1); }
+ .dropdown .dropdown-menu > li > a {
+ display: block;
+ padding: 3px 20px;
+ clear: both;
+ font-weight: 400;
+ line-height: 1.42857143;
+ color: #363539;
+ white-space: nowrap; }
+ .dropdown .dropdown-menu > li > a:hover {
+ color: #363539;
+ text-decoration: none;
+ background-color: #f5f5f5; }
+ .dropdown:hover .dropdown-menu {
+ display: block; }
+
+a.current {
+ border-bottom: 0.2em solid #00BDFF; }
+
+.scrollbar-measure {
+ position: absolute;
+ top: -9999px;
+ width: 50px;
+ height: 50px;
+ overflow: scroll; }
+
+.show {
+ display: block !important; }
+
+.hide {
+ display: none !important; }
+
+table {
+ display: table;
+ width: 100%;
+ border-collapse: collapse;
+ border-spacing: 0;
+ overflow: auto; }
+
+table td, table th {
+ padding: 6px 13px;
+ border: 1px solid #ddd; }
+
+table tr {
+ background-color: #fff;
+ border-top: 1px solid #ccc; }
+
+table tr:nth-child(2n) {
+ background-color: #f8f8f8; }
+
+table th {
+ font-weight: 700; }
+
+.api-version {
+ font-size: 12px;
+ padding: 1px 7px;
+ background: #00BDFF;
+ color: #fff;
+ border-radius: 20px; }
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1b2a58e5/content/css/common.scss
----------------------------------------------------------------------
diff --git a/content/css/common.scss b/content/css/common.scss
deleted file mode 100644
index d9701b8..0000000
--- a/content/css/common.scss
+++ /dev/null
@@ -1,250 +0,0 @@
-@import "variable.scss";
-
-/***********************
-* Reset
-***********************/
-*, *:before, *:after {
- box-sizing: border-box;
-}
-
-html, body {
- width: 100%;
- height: 100%;
- /*overflow-x: hidden;
- overflow-y: auto;*/
- margin: 0;
- padding: 0;
-}
-
-body {
- background: $bg-gray;
- font-family: "PingFang SC","Helvetica Neue",Arial,STHeiti,"Microsoft YaHei","Source Han Sans SC","Noto Sans CJK SC","Source Han Sans CN","Noto Sans SC","Noto Sans CJK TC",SimSun,sans-serif;
- font-size: 14px;
- line-height: 1.2;
- color: $text-light-black;
- -webkit-tap-highlight-color: transparent;
-}
-
-
-@font-face {font-family: "iconfont";
- src: url('//at.alicdn.com/t/font_i0r1euwhok5oecdi.eot?t=1481812721653'); /* IE9*/
- src: url('//at.alicdn.com/t/font_i0r1euwhok5oecdi.eot?t=1481812721653#iefix') format('embedded-opentype'), /* IE6-IE8 */
- url('//at.alicdn.com/t/font_i0r1euwhok5oecdi.woff?t=1481812721653') format('woff'), /* chrome, firefox */
- url('//at.alicdn.com/t/font_i0r1euwhok5oecdi.ttf?t=1481812721653') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
- url('//at.alicdn.com/t/font_i0r1euwhok5oecdi.svg?t=1481812721653#iconfont') format('svg'); /* iOS 4.1- */
-}
-
-.iconfont {
- font-family:"iconfont" !important;
- font-size: 20px;
- font-style:normal;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
-}
-
-.icon-nav:before { content: "\e60c"; }
-
-.icon-github:before { content: "\e69f"; }
-
-.icon-search:before { content: "\e605"; }
-
-.icon-arrow:before { content: "\e623"; }
-
-.icon-close:before { content: "\e780"; }
-
-.icon-arrow-small:before { content: "\e67c"; }
-
-.icon-baichuan:before { content: "\e602"; }
-
-.icon-back2top:before { content: "\e604"; }
-
-a {
- cursor: pointer;
- color: $text-light-black;
- text-decoration: none;
- &:hover {
- color: $text-gray;
- }
-}
-
-img {
- max-width: 100%;
- vertical-align:middle;
-}
-
-h1,h2,h3,h4,h5,h6,p {
- font-weight: normal;
- margin: 0 0 1em;
-}
-
-h1 {
- font-size: 2em;
-}
-
-h2 {
- font-size: 1.75em;
-}
-
-h3 {
- font-size: 1.5em;
-}
-
-h4 {
- font-size: 1.25em;
-}
-
-h5 {
- font-size: 1.1em;
-}
-
-blockquote {
- margin: 0;
- padding: 1em 0 1px 20px;
- border-left: 5px solid #ddd;
-}
-/***********************
-* Common style
-***********************/
-.button {
- display: inline-block;
- font-size: 1.05em;
- width: 10em;
- height: 2.5em;
- line-height: 2.5em;
- text-align: center;
- color: #fff;
- background: #ff3e33;
- border: #ff3e33 1px solid;
- border-radius: 2em;
- box-shadow: 2px 2px 4px rgba(0, 0, 0, .16);
-
- &:hover {
- background: #d63f36;
- border: #d63f36 1px solid;
- }
-}
-
-.clearfix {
- &:before, &:after {
- display: table;
- content: " "
- }
-
- &:after {
- clear: both
- }
-}
-
-.imgbox {
- width: 100%;
- height: 100%;
-
- img {
- width: 100%;
- }
-}
-
-.dropdown {
- position: relative;
-
- .dropdown-toggle {
- display: block;
- font-size: 14px;
- text-align: center;
- color: $text-light-black;
- text-decoration: none;
- }
-
- .dropdown-menu {
- display: none;
- position: absolute;
- top: 100%;
- left: 0;
- z-index: 999;
- float: left;
- padding: 5px 0;
- margin: 0;
- font-size: 14px;
- text-align: left;
- list-style: none;
- background-color: #fff;
- background-clip: padding-box;
- border: 1px solid #999ba4;
- box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1);
-
- & > li > a {
- display: block;
- padding: 3px 20px;
- clear: both;
- font-weight: 400;
- line-height: 1.42857143;
- color: $text-light-black;
- white-space: nowrap;
-
- &:hover {
- color: $text-light-black;
- text-decoration: none;
- background-color: #f5f5f5;
- }
- }
- }
-
- &:hover .dropdown-menu {
- display: block;
- }
-}
-
-
-a.current {
- border-bottom: .2em solid $text-blue;
-}
-
-.scrollbar-measure {
- position: absolute;
- top: -9999px;
- width: 50px;
- height: 50px;
- overflow: scroll;
-}
-
-.show {
- display: block !important;
-}
-
-.hide {
- display: none !important;
-}
-
-table {
- display: table;
- width: 100%;
- border-collapse: collapse;
- border-spacing: 0;
- overflow: auto
-}
-
-table td, table th {
- padding: 6px 13px;
- border: 1px solid #ddd
-}
-
-table tr {
- background-color: #fff;
- border-top: 1px solid #ccc
-}
-
-table tr:nth-child(2n) {
- background-color: #f8f8f8
-}
-
-table th {
- font-weight: 700
-}
-
-.api-version {
- font-size: 12px;
- padding: 1px 7px;
- background: $text-blue;
- color: #fff;
- border-radius: 20px;
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1b2a58e5/content/css/example.css
----------------------------------------------------------------------
diff --git a/content/css/example.css b/content/css/example.css
new file mode 100644
index 0000000..65d3b97
--- /dev/null
+++ b/content/css/example.css
@@ -0,0 +1,95 @@
+.example-wrapper {
+ width: 1120px;
+ margin: 100px auto;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-flex-direction: row;
+ -ms-flex-direction: row;
+ flex-direction: row; }
+ .example-wrapper .horizontal {
+ -webkit-flex: 1;
+ -ms-flex: 1;
+ flex: 1;
+ padding: 20px;
+ position: relative;
+ max-width: 620px;
+ height: 600px; }
+ .example-wrapper .highlight {
+ height: 580px;
+ overflow-y: auto; }
+ .example-wrapper .phone {
+ -webkit-flex: 0 0 300px;
+ -ms-flex: 0 0 300px;
+ flex: 0 0 300px; }
+ .example-wrapper .mock-phone {
+ margin: 0 auto;
+ margin-top: 20px;
+ position: relative;
+ z-index: 25;
+ width: 297px;
+ height: 590px;
+ border: 2px solid #0088fb;
+ border-radius: 30px; }
+ .example-wrapper .camera {
+ position: absolute;
+ width: 14px;
+ height: 14px;
+ border-radius: 14px;
+ background: #afddff;
+ border: 1px solid #0088fb;
+ top: 23px;
+ left: 94px; }
+ .example-wrapper .earpiece {
+ position: absolute;
+ width: 70px;
+ height: 8px;
+ border-radius: 8px;
+ background: #afddff;
+ border: 1px solid #0088fb;
+ top: 26px;
+ left: 124px; }
+ .example-wrapper .home-btn {
+ position: absolute;
+ width: 56px;
+ height: 56px;
+ border-radius: 56px;
+ background: #afddff;
+ border: 1px solid #0088fb;
+ bottom: 14px;
+ left: 50%;
+ margin-left: -28px; }
+ .example-wrapper .inner {
+ position: absolute;
+ top: 60px;
+ z-index: 26;
+ left: 12px;
+ width: 267px;
+ height: 441px;
+ overflow: hidden;
+ border: 1px solid #0088fb; }
+ .example-wrapper iframe {
+ margin: 0;
+ width: 750px;
+ height: 1248px;
+ background: #fff;
+ -webkit-transform: scaleY(0.35333);
+ -ms-transform: scaleY(0.35333);
+ transform: scaleY(0.35333);
+ -webkit-transform: scale(0.35333, 0.35333);
+ -ms-transform: scale(0.35333, 0.35333);
+ transform: scale(0.35333, 0.35333);
+ -webkit-transform-origin: top left;
+ -ms-transform-origin: top left;
+ transform-origin: top left; }
+ .example-wrapper .qrcode {
+ -webkit-flex: 0 0 150px;
+ -ms-flex: 0 0 150px;
+ flex: 0 0 150px; }
+ .example-wrapper .qrcode p {
+ text-align: center;
+ margin: 1em 0; }
+ .example-wrapper #qrcode-img {
+ padding: 0;
+ width: 150px;
+ height: 150px; }
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1b2a58e5/content/css/example.scss
----------------------------------------------------------------------
diff --git a/content/css/example.scss b/content/css/example.scss
deleted file mode 100644
index 164040a..0000000
--- a/content/css/example.scss
+++ /dev/null
@@ -1,103 +0,0 @@
-.example-wrapper {
- width: 1120px;
- margin: 100px auto;
- display: flex;
- flex-direction: row;
-
- .horizontal {
- flex: 1;
- padding: 20px;
- position: relative;
- max-width: 620px;
- height: 600px;
- }
-
- .highlight {
- height: 580px;
- overflow-y: auto;
- }
-
- .phone {
- flex: 0 0 300px;
- }
-
- .mock-phone {
- margin: 0 auto;
- margin-top: 20px;
- position: relative;
- z-index: 25;
- width: 297px;
- height: 590px;
- border: 2px solid #0088fb;
- border-radius: 30px;
- }
-
- .camera {
- position: absolute;
- width: 14px;
- height: 14px;
- border-radius: 14px;
- background: #afddff;
- border: 1px solid #0088fb;
- top: 23px;
- left: 94px;
- }
-
- .earpiece {
- position: absolute;
- width: 70px;
- height: 8px;
- border-radius: 8px;
- background: #afddff;
- border: 1px solid #0088fb;
- top: 26px;
- left: 124px;
- }
-
- .home-btn {
- position: absolute;
- width: 56px;
- height: 56px;
- border-radius: 56px;
- background: #afddff;
- border: 1px solid #0088fb;
- bottom: 14px;
- left: 50%;
- margin-left: -28px;
- }
-
- .inner {
- position: absolute;
- top: 60px;
- z-index: 26;
- left: 12px;
- width: 267px;
- height: 441px;
- overflow: hidden;
- border: 1px solid #0088fb;
- }
-
- iframe {
- margin: 0;
- width: 750px;
- height: 1248px;
- background: #fff;
- transform: scaleY(0.35333333);
- transform: scale(0.35333333, 0.353333333);
- transform-origin: top left;
- }
-
- .qrcode {
- flex: 0 0 150px;
- p {
- text-align: center;
- margin: 1em 0;
- }
- }
-
- #qrcode-img {
- padding: 0;
- width: 150px;
- height: 150px;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1b2a58e5/content/css/index.css
----------------------------------------------------------------------
diff --git a/content/css/index.css b/content/css/index.css
new file mode 100644
index 0000000..8e5c48e
--- /dev/null
+++ b/content/css/index.css
@@ -0,0 +1,492 @@
+/***********************
+* Variable
+***********************/
+/***********************
+* Mixin
+***********************/
+.scene-container {
+ max-width: 1680px;
+ height: 100%;
+ margin: 0 auto;
+ overflow: hidden;
+ position: relative; }
+
+.scene {
+ position: relative;
+ height: 100%;
+ height: calc(100% - 72px); }
+ .scene:nth-child(even) {
+ background: #f5f5f5;
+ color: #00BDFF; }
+ .scene:nth-child(odd) {
+ background: #00BDFF;
+ color: #fff; }
+ .scene h2 {
+ font-family: "Gill Sans";
+ font-weight: 400;
+ font-size: 2.64em;
+ margin: .7em 0;
+ text-align: center; }
+ .scene ul, .scene li, .scene ol {
+ margin: 0;
+ padding: 0;
+ list-style-type: none; }
+
+.horizon .scene-container, .edge .scene-container {
+ max-width: 900px;
+ padding-bottom: 2em;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-flex-direction: column;
+ -ms-flex-direction: column;
+ flex-direction: column;
+ -webkit-align-content: space-around;
+ -ms-flex-line-pack: distribute;
+ align-content: space-around; }
+
+.horizon .textbox {
+ -webkit-flex: 2;
+ -ms-flex: 2;
+ flex: 2;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-flex-direction: column;
+ -ms-flex-direction: column;
+ flex-direction: column;
+ -webkit-justify-content: center;
+ -ms-flex-pack: center;
+ justify-content: center;
+ padding: 0 1em; }
+
+.horizon .textbox p {
+ width: 70%;
+ margin: 0 auto;
+ text-align: center; }
+
+.horizon .sketch-content {
+ padding: 0 7em;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-flex: 3;
+ -ms-flex: 3;
+ flex: 3;
+ -webkit-align-items: stretch;
+ -ms-flex-align: stretch;
+ align-items: stretch; }
+
+.horizon .inner-box {
+ -webkit-flex: 1;
+ -ms-flex: 1;
+ flex: 1;
+ padding: 0 2em; }
+
+.header {
+ height: 100%;
+ position: relative; }
+ .header #slider {
+ margin-top: 73px;
+ height: 100%;
+ height: calc(100% - 72px); }
+ .header .swiper-container {
+ max-width: 900px;
+ height: 100%; }
+ .header .swiper-controller {
+ max-width: 900px;
+ height: 100%;
+ margin: auto;
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0; }
+ .header .swiper-button-next, .header .swiper-button-prev {
+ background: transparent !important;
+ color: #fff;
+ line-height: 44px; }
+ .header .swiper-button-next {
+ -webkit-transform: rotate(180deg);
+ -ms-transform: rotate(180deg);
+ transform: rotate(180deg); }
+ .header .slide-content {
+ max-width: 900px;
+ margin: auto;
+ height: 100%; }
+ .header .slide-content .page-title {
+ font-size: 2.3em;
+ font-family: "Gill Sans";
+ width: 500px;
+ text-align: center;
+ position: absolute;
+ top: 70px;
+ left: 50%;
+ margin-left: -250px; }
+ .header .slide-content .btn-group {
+ position: absolute;
+ bottom: 30%;
+ left: 50%;
+ margin-left: -11.222em; }
+ .header .slide-content .btn-group > .button:nth-child(2) {
+ margin-left: 20px; }
+ .header .galaxy {
+ height: 560px;
+ width: 560px;
+ position: absolute;
+ top: 45%;
+ margin-top: -230px; }
+ .header .left {
+ left: -40px; }
+ .header .right {
+ top: 55%;
+ right: -110px; }
+
+.edge .scene-container .textbox {
+ -webkit-flex: 3;
+ -ms-flex: 3;
+ flex: 3;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-flex-direction: row;
+ -ms-flex-direction: row;
+ flex-direction: row;
+ -webkit-align-items: flex-end;
+ -ms-flex-align: end;
+ align-items: flex-end;
+ -webkit-justify-content: center;
+ -ms-flex-pack: center;
+ justify-content: center; }
+
+.edge .scene-container .sketch-content {
+ padding: 2em 7em;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-flex: 5;
+ -ms-flex: 5;
+ flex: 5;
+ -webkit-flex-direction: row;
+ -ms-flex-direction: row;
+ flex-direction: row;
+ -webkit-align-items: flex-start;
+ -ms-flex-align: start;
+ align-items: flex-start; }
+
+.edge .inner-box {
+ -webkit-flex: 1;
+ -ms-flex: 1;
+ flex: 1;
+ text-align: center;
+ padding: 0 1em; }
+ .edge .inner-box img {
+ width: 78px;
+ height: 78px;
+ color: #363539; }
+ .edge .inner-box h3 {
+ margin: .4em;
+ font-size: 1.5em;
+ color: #363539; }
+ .edge .inner-box .underline {
+ display: inline-block;
+ background: #00BDFF;
+ width: 80px;
+ height: 3px;
+ margin: 0 0 20px; }
+ .edge .inner-box p {
+ font-size: 1em;
+ color: #363539; }
+
+.feature .feature-content {
+ height: 100%;
+ max-width: 900px;
+ margin: 0 auto;
+ position: relative;
+ overflow: hidden; }
+
+.feature .left-text {
+ position: relative;
+ padding: 15px 20px;
+ z-index: 99; }
+
+.feature .left-text h2 {
+ width: 300px;
+ text-align: left; }
+
+.feature .left-text p {
+ width: 220px;
+ line-height: 1.7;
+ text-align: left; }
+
+.feature .right-box {
+ width: 660px;
+ height: 405px;
+ position: absolute;
+ top: 30%;
+ right: 0px;
+ z-index: 1; }
+ .feature .right-box .imgbox {
+ position: absolute; }
+ .feature .right-box .level1 {
+ width: 660px;
+ height: 405px;
+ background: url("../images/level1.png") 50% 50%/contain no-repeat;
+ background-origin: content-box;
+ z-index: 9;
+ top: 0;
+ left: 660px; }
+ .feature .right-box .level2 {
+ width: 660px;
+ height: 405px;
+ background: url("../images/level2.png") 50% 50%/contain no-repeat;
+ background-origin: content-box;
+ z-index: 99;
+ top: -30px;
+ left: 660px; }
+ .feature .right-box .level3 {
+ width: 660px;
+ height: 405px;
+ background: url("../images/level3.png") 50% 50%/contain no-repeat;
+ background-origin: content-box;
+ z-index: 99;
+ top: -60px;
+ left: 660px; }
+ .feature .right-box .level4 {
+ width: 660px;
+ height: 405px;
+ background: url("../images/level4.png") 50% 50%/contain no-repeat;
+ background-origin: content-box;
+ z-index: 999;
+ top: -85px;
+ left: 660px; }
+
+.feature .right-img {
+ width: 70%;
+ position: absolute;
+ top: 40px;
+ right: 0; }
+
+.cross-platform .sketch-content {
+ -webkit-flex: 5;
+ -ms-flex: 5;
+ flex: 5; }
+
+.cross-platform .imgbox {
+ height: auto; }
+ .cross-platform .imgbox.ios {
+ padding: 0 30px;
+ background: url("../images/ios.png") 50% 50%/contain no-repeat;
+ background-size: contain;
+ background-position: left 50% bottom 0px;
+ background-origin: content-box; }
+ .cross-platform .imgbox.android {
+ background: url("../images/android.png") 50% 50%/contain no-repeat;
+ background-size: contain;
+ background-position: left 50% bottom 0px;
+ background-origin: content-box; }
+ .cross-platform .imgbox.h5 {
+ -webkit-flex: 1.16;
+ -ms-flex: 1.16;
+ flex: 1.16;
+ background: url("../images/web.png") 50% 50%/contain no-repeat;
+ background-position: left 50% bottom 0px;
+ background-size: contain;
+ background-origin: content-box; }
+
+.cross-platform .textbox p {
+ color: #363539; }
+
+.supporting-vue {
+ color: #fff; }
+ .supporting-vue .sketch-content.imgbox {
+ background: url("../images/vue.png") 50% 50%/contain no-repeat;
+ background-origin: content-box;
+ position: relative; }
+ .supporting-vue .sketch-content.imgbox .imgbox {
+ width: 100%;
+ height: 104px;
+ background: url("../images/vue-logo.png") 50% 50%/contain no-repeat;
+ position: absolute;
+ top: -50px;
+ left: 0;
+ right: 0; }
+
+.schematic .textbox p {
+ color: #363539; }
+
+.schematic .sketch-content.imgbox {
+ background: url("../images/flow.png") 50% 50%/contain no-repeat;
+ background-origin: content-box; }
+
+.users .sketch-content {
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-flex-flow: row wrap;
+ -ms-flex-flow: row wrap;
+ flex-flow: row wrap;
+ -webkit-justify-content: center;
+ -ms-flex-pack: center;
+ justify-content: center;
+ -webkit-align-content: flex-start;
+ -ms-flex-line-pack: start;
+ align-content: flex-start; }
+ .users .sketch-content .user-logo {
+ width: 150px;
+ height: 150px;
+ margin: 1px;
+ overflow: hidden;
+ position: relative;
+ transition-duration: .3s;
+ transition-property: box-shadow; }
+ .users .sketch-content .user-logo h3 {
+ font-size: 1em;
+ margin-top: 30px;
+ text-align: center;
+ margin-top: 125px; }
+ .users .sketch-content .user-logo:hover {
+ position: relative;
+ z-index: 999;
+ box-shadow: 0px 1px 12px 0 rgba(0, 0, 0, 0.54); }
+ .users .sketch-content .user-logo:hover .user-info {
+ opacity: .9; }
+ .users .sketch-content .tmall-logo {
+ background: #23CEFD url("../images/tmall.png") 50% 50%/64px 64px no-repeat;
+ background-origin: content-box; }
+ .users .sketch-content .aliyun-logo {
+ background: #23CEFD url("../images/aliyun.png") 50% 50%/64px 64px no-repeat;
+ background-origin: content-box; }
+ .users .sketch-content .taobao-logo {
+ background: #23CEFD url("../images/taobao.png") 50% 50%/64px 64px no-repeat;
+ background-origin: content-box; }
+ .users .sketch-content .alibaba-logo {
+ background: #23CEFD url("../images/alibaba.png") 50% 50%/64px 64px no-repeat;
+ background-origin: content-box; }
+ .users .sketch-content .cainiao-logo {
+ background: #23CEFD url("../images/cainiao.png") 50% 50%/64px 64px no-repeat;
+ background-origin: content-box; }
+ .users .sketch-content .xiami-logo {
+ background: #23CEFD url("../images/xiami.png") 50% 50%/64px 64px no-repeat;
+ background-origin: content-box; }
+ .users .sketch-content .youku-logo {
+ background: #23CEFD url("../images/youku.png") 50% 50%/64px 64px no-repeat;
+ background-origin: content-box; }
+ .users .sketch-content .ding-logo {
+ background: #23CEFD url("../images/ding.png") 50% 50%/64px 64px no-repeat;
+ background-origin: content-box; }
+
+.users .user-info {
+ opacity: 0;
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ padding: 1em;
+ background: #23CEFD;
+ text-align: center;
+ color: #363539;
+ transition-duration: .4s;
+ transition-property: opacity; }
+ .users .user-info h4 {
+ font-size: 1em;
+ margin-bottom: .98em; }
+ .users .user-info p {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ display: -webkit-box;
+ -webkit-line-clamp: 6;
+ -webkit-box-orient: vertical;
+ font-size: .8em; }
+
+.users .more {
+ -webkit-flex: 1;
+ -ms-flex: 1;
+ flex: 1;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-justify-content: center;
+ -ms-flex-pack: center;
+ justify-content: center;
+ -webkit-align-items: center;
+ -ms-flex-align: center;
+ align-items: center; }
+ .users .more a {
+ margin-top: 1em;
+ color: #fff;
+ text-decoration: underline;
+ font-weight: lighter; }
+
+.feedback .sketch-content {
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-flex-flow: row wrap;
+ -ms-flex-flow: row wrap;
+ flex-flow: row wrap;
+ -webkit-justify-content: center;
+ -ms-flex-pack: center;
+ justify-content: center;
+ -webkit-align-content: space-around;
+ -ms-flex-line-pack: distribute;
+ align-content: space-around; }
+
+.feedback .user-feedback {
+ -webkit-flex: 1 0 200px;
+ -ms-flex: 1 0 200px;
+ flex: 1 0 200px;
+ margin: 0;
+ text-align: center;
+ color: #363539;
+ padding: 10px; }
+ .feedback .user-feedback .avatar {
+ width: 66px;
+ height: 66px;
+ border-radius: 100%; }
+ .feedback .user-feedback .user-name {
+ font-weight: bold;
+ font-size: 1em;
+ margin: 10px 0 0; }
+ .feedback .user-feedback .user-title {
+ font-size: .8em;
+ margin: 5px 0 10px;
+ color: #999; }
+ .feedback .user-feedback .user-say {
+ margin: 1em 0; }
+
+.feedback .scene-container .go-2-doc {
+ -webkit-flex: 1;
+ -ms-flex: 1;
+ flex: 1;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-justify-content: center;
+ -ms-flex-pack: center;
+ justify-content: center;
+ -webkit-align-items: flex-start;
+ -ms-flex-align: start;
+ align-items: flex-start;
+ margin-top: -30px; }
+
+.back2top {
+ display: none;
+ width: 68px;
+ height: 68px;
+ border-radius: 100%;
+ background: #F3C3C1;
+ position: fixed;
+ bottom: 180px;
+ right: 10px;
+ text-align: center;
+ line-height: 68px;
+ -webkit-transform: rotate(90deg);
+ -ms-transform: rotate(90deg);
+ transform: rotate(90deg);
+ color: #fff;
+ z-index: 99; }
+ .back2top:hover {
+ background: #FF3E33;
+ color: #fff; }
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1b2a58e5/content/css/index.scss
----------------------------------------------------------------------
diff --git a/content/css/index.scss b/content/css/index.scss
deleted file mode 100644
index 8eb4e76..0000000
--- a/content/css/index.scss
+++ /dev/null
@@ -1,540 +0,0 @@
-@import "variable.scss";
-
-.scene-container {
- max-width: 1680px;
- height: 100%;
- margin: 0 auto;
- overflow: hidden;
- position: relative;
-}
-
-.scene {
- position: relative;
- height: 100%;
- height: calc(100% - 72px);
-
- &:nth-child(even) {
- background: $bg-gray;
- color: $text-blue;
- }
-
- &:nth-child(odd) {
- background: $bg-blue;
- color: $text-white;
- }
-
- h2 {
- font-family: "Gill Sans";
- font-weight: 400;
- font-size: 2.64em;
- margin: .7em 0;
- text-align: center;
- }
-
- ul, li , ol {
- margin: 0;
- padding: 0;
- list-style-type: none;
- }
-}
-
-.horizon .scene-container, .edge .scene-container {
- max-width: $content-max-width;
- padding-bottom: 2em;
- display: flex;
- flex-direction: column;
- align-content: space-around;
-}
-
-.horizon{
- .textbox {
- flex: 2;
- display: flex;
- flex-direction: column;
- justify-content: center;
- padding: 0 1em;
- }
-
- .textbox p {
- width: 70%;
- margin: 0 auto;
- text-align: center;
- }
-
- .sketch-content {
- padding: 0 7em;
- display: flex;
- flex: 3;
- align-items: stretch;
- }
-
- .inner-box {
- flex: 1;
- padding: 0 2em;
- }
-}
-
-.header {
- height: 100%;
- position: relative;
-
- #slider {
- margin-top: 73px;
- height: 100%;
- height: calc(100% - 72px);
- }
-
- .swiper-container {
- max-width: $content-max-width;
- height: 100%;
- }
-
- .swiper-controller {
- max-width: $content-max-width;
- height: 100%;
- margin: auto;
- position: absolute;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- }
-
- .swiper-button-next, .swiper-button-prev {
- background: transparent !important;
- color: $text-white;
- line-height: 44px;
- }
-
- .swiper-button-next {
- transform: rotate(180deg);
- }
-
- .slide-content {
- max-width: $content-max-width;
- margin: auto;
- height: 100%;
-
- .page-title {
- font-size: 2.3em;
- font-family: "Gill Sans";
- width: 500px;
- text-align: center;
- position: absolute;
- top: 70px;
- left: 50%;
- margin-left: -250px;
- }
-
- .btn-group {
- position: absolute;
- bottom: 30%;
- left: 50%;
- margin-left: -11.222em;
-
- & > .button:nth-child(2) {
- margin-left: 20px;
- }
- }
- }
-
- .galaxy {
- height: 560px;
- width: 560px;
- position: absolute;
- top: 45%;
- margin-top: -230px;
- }
-
- .left {
- left: -40px;
- }
-
- .right {
- top: 55%;
- right: -110px;
- }
-}
-
-.edge {
-
- .scene-container {
- .textbox {
- flex: 3;
- display: flex;
- flex-direction: row;
- align-items: flex-end;
- justify-content: center;
- }
-
- .sketch-content {
- padding: 2em 7em;
- display: flex;
- flex: 5;
- flex-direction: row;
- align-items: flex-start;
- }
- }
-
- .inner-box {
- flex: 1;
- text-align: center;
- padding: 0 1em;
-
- img {
- width: 78px;
- height: 78px;
- color: $text-light-black;
- }
-
- h3 {
- margin: .4em;
- font-size: 1.5em;
- color: $text-light-black;
- }
-
- .underline {
- display: inline-block;
- background: $bg-blue;
- width: 80px;
- height: 3px;
- margin: 0 0 20px;
- }
-
- p {
- font-size: 1em;
- color: $text-light-black;
- }
- }
-}
-
-.feature {
- .feature-content {
- height: 100%;
- max-width: $content-max-width;
- margin: 0 auto;
- position: relative;
- overflow: hidden;
- }
-
- .left-text {
- position: relative;
- padding: 15px 20px;
- z-index: 99;
- }
-
- .left-text h2 {
- width: 300px;
- text-align: left;
- }
-
- .left-text p {
- width: 220px;
- line-height: 1.7;
- text-align: left;
- }
-
- .right-box {
- width: 660px;
- height: 405px;
- position: absolute;
- top: 30%;
- right: 0px;
- // right: -100%;
- z-index: 1;
- .imgbox {
- position: absolute;
- // transform: translateX(1000px);
- }
- .level1 {
- width: 660px;
- height: 405px;
- background: url("../images/level1.png") 50% 50% / contain no-repeat;
- background-origin: content-box;
- z-index: 9;
- top: 0;
- left: 660px;
- }
- .level2 {
- width: 660px;
- height: 405px;
- background: url("../images/level2.png") 50% 50% / contain no-repeat;
- background-origin: content-box;
- z-index: 99;
- top: -30px;
- left: 660px;
- }
- .level3 {
- width: 660px;
- height: 405px;
- background: url("../images/level3.png") 50% 50% / contain no-repeat;
- background-origin: content-box;
- z-index: 99;
- top: -60px;
- left: 660px;
- }
- .level4 {
- width: 660px;
- height: 405px;
- background: url("../images/level4.png") 50% 50% / contain no-repeat;
- background-origin: content-box;
- z-index: 999;
- top: -85px;
- // left: -15px;
- left: 660px;
- }
- }
- .right-img {
- width: 70%;
- position: absolute;
- top: 40px;
- right: 0;
- }
-}
-
-.cross-platform {
- .sketch-content {
- flex: 5;
- }
- .imgbox{
- height: auto;
- &.ios {
- padding: 0 30px;
- background: url("../images/ios.png") 50% 50% / contain no-repeat;
- background-size: contain;
- background-position: left 50% bottom 0px;
- background-origin: content-box;
- }
-
- &.android {
- background: url("../images/android.png") 50% 50% / contain no-repeat;
- background-size: contain;
- background-position: left 50% bottom 0px;
- background-origin: content-box;
- }
-
- &.h5 {
- flex: 1.16;
- background: url("../images/web.png") 50% 50% / contain no-repeat;
- background-position: left 50% bottom 0px;
- background-size: contain;
- background-origin: content-box;
- }
- }
-
- .textbox p {
- color: $text-light-black;
- }
-}
-
-.supporting-vue {
- color: #fff;
-
- .sketch-content.imgbox {
- background: url("../images/vue.png") 50% 50% / contain no-repeat;
- background-origin: content-box;
- position: relative;
-
- .imgbox {
- width: 100%;
- height: 104px;
- background: url("../images/vue-logo.png") 50% 50% / contain no-repeat;
- position: absolute;
- top: -50px;
- left: 0;
- right: 0;
- }
- }
-}
-
-.schematic {
- .textbox p {
- color: $text-light-black;
- }
-
- .sketch-content.imgbox {
- background: url("../images/flow.png") 50% 50% / contain no-repeat;
- background-origin: content-box;
- }
-}
-
-.users {
- .sketch-content {
- display: flex;
- flex-flow: row wrap;
- justify-content: center;
- align-content: flex-start;
-
- .user-logo {
- width: 150px;
- height: 150px;
- margin: 1px;
- overflow: hidden;
- position: relative;
- transition-duration: .3s;
- transition-property: box-shadow;
-
- h3 {
- font-size: 1em;
- margin-top: 30px;
- text-align: center;
- margin-top: 125px;
- }
-
- &:hover {
- position: relative;
- z-index: 999;
- box-shadow: 0px 1px 12px 0 rgba(0,0,0,0.54);
- }
-
- &:hover .user-info {
- opacity: .9;
- }
- }
-
- .tmall-logo {
- background: $bg-light-blue url("../images/tmall.png") 50% 50% / 64px 64px no-repeat;
- background-origin: content-box;
- }
-
- .aliyun-logo {
- background: $bg-light-blue url("../images/aliyun.png") 50% 50% / 64px 64px no-repeat;
- background-origin: content-box;
- }
-
- .taobao-logo {
- background: $bg-light-blue url("../images/taobao.png") 50% 50% / 64px 64px no-repeat;
- background-origin: content-box;
- }
-
- .alibaba-logo {
- background: $bg-light-blue url("../images/alibaba.png") 50% 50% / 64px 64px no-repeat;
- background-origin: content-box;
- }
-
- .cainiao-logo {
- background: $bg-light-blue url("../images/cainiao.png") 50% 50% / 64px 64px no-repeat;
- background-origin: content-box;
- }
-
- .xiami-logo {
- background: $bg-light-blue url("../images/xiami.png") 50% 50% / 64px 64px no-repeat;
- background-origin: content-box;
- }
-
- .youku-logo {
- background: $bg-light-blue url("../images/youku.png") 50% 50% / 64px 64px no-repeat;
- background-origin: content-box;
- }
-
- .ding-logo {
- background: $bg-light-blue url("../images/ding.png") 50% 50% / 64px 64px no-repeat;
- background-origin: content-box;
- }
- }
-
- .user-info {
- opacity: 0;
- position: absolute;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- padding: 1em;
- background: $bg-light-blue;
- text-align: center;
- color: $text-light-black;
- transition-duration: .4s;
- transition-property: opacity;
-
- h4 {
- font-size: 1em;
- margin-bottom: .98em;
- }
-
- p {
- @include lines(6);
- font-size: .8em;
- }
- }
-
- .more {
- flex: 1;
- display: flex;
- justify-content: center;
- align-items: center;
- a {
- margin-top: 1em;
- color: $text-white;
- text-decoration: underline;
- font-weight: lighter;
- }
- }
-}
-
-.feedback {
- .sketch-content {
- display: flex;
- flex-flow: row wrap;
- justify-content: center;
- align-content: space-around;
- }
-
- .user-feedback {
- flex: 1 0 200px;
- margin: 0;
- text-align: center;
- color: $text-light-black;
- padding: 10px;
-
- .avatar {
- width: 66px;
- height: 66px;
- border-radius: 100%;
- }
-
- .user-name {
- font-weight: bold;
- font-size: 1em;
- margin: 10px 0 0;
- }
-
- .user-title {
- font-size: .8em;
- margin: 5px 0 10px;
- color: #999;
- }
-
- .user-say {
- margin: 1em 0;
- }
- }
-
- .scene-container .go-2-doc {
- flex: 1;
- display: flex;
- justify-content: center;
- align-items: flex-start;
- margin-top: -30px;
- }
-}
-
-.back2top {
- display: none;
- width: 68px;
- height: 68px;
- border-radius: 100%;
- background: #F3C3C1;
- position: fixed;
- bottom: 180px;
- right: 10px;
- text-align: center;
- line-height: 68px;
- transform: rotate(90deg);
- color: #fff;
- z-index: 99;
- &:hover {
- background: #FF3E33;
- color: #fff;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1b2a58e5/content/css/media-queries.css
----------------------------------------------------------------------
diff --git a/content/css/media-queries.css b/content/css/media-queries.css
new file mode 100644
index 0000000..fc9597d
--- /dev/null
+++ b/content/css/media-queries.css
@@ -0,0 +1,138 @@
+/***********************
+* Variable
+***********************/
+/***********************
+* Mixin
+***********************/
+@media screen and (max-width: 900px) {
+ /***********************************************
+ * Global
+ **********************************************/
+ body {
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ font-size: 13px; }
+ #header .navbar {
+ display: none !important; }
+ #header #mobile-nav {
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex; }
+ #sidebar {
+ display: block !important;
+ -webkit-transform: translateX(-320px);
+ -ms-transform: translateX(-320px);
+ transform: translateX(-320px);
+ transition: all .3s ease; }
+ #sidebar.open {
+ -webkit-transform: translateX(0);
+ -ms-transform: translateX(0);
+ transform: translateX(0); }
+ #footer {
+ padding: 0 20px; }
+ #footer .select-lang {
+ display: block; }
+ /***********************************************
+ * Index
+ **********************************************/
+ .header .galaxy {
+ display: none; }
+ .edge .scene-container .textbox {
+ -webkit-flex: 2;
+ -ms-flex: 2;
+ flex: 2; }
+ .edge .scene-container .inner-box:nth-child(3) {
+ -webkit-flex: 0 0 240px;
+ -ms-flex: 0 0 240px;
+ flex: 0 0 240px; }
+ .edge .scene-container .sketch-content {
+ /*flex-direction: column;
+ align-items: center;*/ }
+ .horizon .sketch-content {
+ padding: 0 5em; }
+ .horizon .sketch-content .inner-box {
+ padding: 0 2em; }
+ .users .scene-container .textbox {
+ -webkit-flex: 1;
+ -ms-flex: 1;
+ flex: 1; }
+ .feedback .sketch-content {
+ -webkit-align-content: center;
+ -ms-flex-line-pack: center;
+ align-content: center; }
+ .feedback .scene-container .textbox {
+ -webkit-flex: 1;
+ -ms-flex: 1;
+ flex: 1; }
+ /***********************************************
+ * Post
+ **********************************************/
+ .article-wrapper .doc-nav {
+ display: none; }
+ .article-wrapper .article {
+ margin-left: 0; } }
+
+@media screen and (max-width: 700px) {
+ /***********************************************
+ * Index
+ **********************************************/
+ .edge .scene-container .textbox {
+ -webkit-flex: 1;
+ -ms-flex: 1;
+ flex: 1; }
+ .edge .scene-container .sketch-content {
+ -webkit-flex-direction: column;
+ -ms-flex-direction: column;
+ flex-direction: column;
+ -webkit-align-items: center;
+ -ms-flex-align: center;
+ align-items: center; }
+ .scene.overlength {
+ height: auto;
+ min-height: 100%;
+ min-height: calc(100% - 72px); }
+ .horizon .textbox {
+ -webkit-flex: 4;
+ -ms-flex: 4;
+ flex: 4; }
+ .horizon .sketch-content {
+ padding: 0 1em; }
+ .horizon .sketch-content .inner-box {
+ padding: 0 1em; }
+ .horizon .textbox p {
+ width: 100%; }
+ .header .slide-content .page-title {
+ width: 320px;
+ margin-left: -160px; }
+ .header .slide-content .btn-group {
+ bottom: 10%; }
+ .feature .right-box {
+ width: 500px;
+ height: 245.45px;
+ top: 50%;
+ right: -65px; }
+ .feature .right-box .level1, .feature .right-box .level2, .feature .right-box .level3, .feature .right-box .level4 {
+ width: 500px;
+ height: 245.45px; }
+ .cross-platform .sketch-content {
+ height: 200px; }
+ .supporting-vue .sketch-content.imgbox .imgbox {
+ background-size: 80px; }
+ .users .sketch-content .user-logo {
+ width: 140px;
+ height: 140px;
+ background-size: 45px; }
+ .users .sketch-content .user-info p {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ display: -webkit-box;
+ -webkit-line-clamp: 3;
+ -webkit-box-orient: vertical; }
+ .users .sketch-content .user-logo h3 {
+ margin-top: 110px; }
+ .feedback .user-feedback {
+ /*flex: 1 0 140px;*/ }
+ .feedback .scene-container .go-2-doc {
+ margin-top: 0; } }
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1b2a58e5/content/css/media-queries.scss
----------------------------------------------------------------------
diff --git a/content/css/media-queries.scss b/content/css/media-queries.scss
deleted file mode 100644
index f461e84..0000000
--- a/content/css/media-queries.scss
+++ /dev/null
@@ -1,193 +0,0 @@
-@import "variable.scss";
-
-@media screen and (max-width: $content-max-width) {
-
- /***********************************************
- * Global
- **********************************************/
- body {
- user-select: none;
- font-size: 13px;
- }
-
- #header {
- .navbar {
- display: none !important;
- }
-
- #mobile-nav {
- display: flex;
- }
- }
-
- #sidebar {
- display: block !important;
- transform: translateX(-320px);
- transition: all .3s ease;
- &.open {
- transform: translateX(0);
- }
- }
-
- #footer {
- padding: 0 20px;
- .select-lang {
- display: block;
- }
- }
-
- /***********************************************
- * Index
- **********************************************/
- .header .galaxy {
- display: none;
- }
-
- .edge .scene-container {
- .textbox {
- flex: 2;
- }
-
- .inner-box:nth-child(3) {
- flex: 0 0 240px;
- }
- .sketch-content {
- /*flex-direction: column;
- align-items: center;*/
- }
- }
-
- .horizon .sketch-content {
- padding: 0 5em;
- }
-
- .horizon .sketch-content .inner-box {
- padding: 0 2em;
- }
-
- .users .scene-container .textbox {
- flex: 1;
- }
-
- .feedback .sketch-content {
- align-content: center;
- }
-
- .feedback .scene-container .textbox {
- flex: 1;
- }
-
- /***********************************************
- * Post
- **********************************************/
- .article-wrapper .doc-nav {
- display: none;
- }
-
- .article-wrapper .article {
- margin-left: 0;
- }
-}
-
-@media screen and (max-width: 700px) {
- /***********************************************
- * Index
- **********************************************/
-
- .edge .scene-container {
- .textbox {
- flex: 1;
- }
- .sketch-content {
- flex-direction: column;
- align-items: center;
- }
- }
-
- .scene.overlength {
- height: auto;
- min-height: 100%;
- min-height: calc(100% - 72px);
- }
-
- .horizon .textbox {
- flex: 4;
- }
-
- .horizon .sketch-content {
- padding: 0 1em;
- }
-
- .horizon .sketch-content .inner-box {
- padding: 0 1em;
- }
-
- .horizon .textbox p {
- width: 100%;
- }
-
- .header {
-
- .slide-content {
- .page-title {
- width: 320px;
- margin-left: -160px;
- }
- .btn-group {
- bottom: 10%;
- }
- }
- }
-
- .feature {
-
- .right-box {
- width: 500px;
- height: 245.45px;
- top: 50%;
- right: -65px;
-
- .level1, .level2, .level3, .level4 {
- width: 500px;
- height: 245.45px;
- }
- }
- }
-
- .cross-platform {
- .sketch-content {
- height: 200px;
- }
- }
-
- .supporting-vue {
- .sketch-content.imgbox .imgbox {
- background-size: 80px;
- }
- }
-
- .users .sketch-content {
- .user-logo {
- width: 140px;
- height: 140px;
- background-size: 45px;
- }
-
- .user-info p {
- @include lines(3);
- }
-
- .user-logo h3 {
- margin-top: 110px;
- }
- }
-
- .feedback {
- .user-feedback {
- /*flex: 1 0 140px;*/
- }
- .scene-container .go-2-doc {
- margin-top: 0;
- }
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1b2a58e5/content/css/partial/article-title.css
----------------------------------------------------------------------
diff --git a/content/css/partial/article-title.css b/content/css/partial/article-title.css
new file mode 100644
index 0000000..b5ec827
--- /dev/null
+++ b/content/css/partial/article-title.css
@@ -0,0 +1,23 @@
+/***********************
+* Variable
+***********************/
+/***********************
+* Mixin
+***********************/
+.article-header {
+ position: relative;
+ padding-bottom: 10px;
+ border-bottom: 1px solid #ddd;
+ margin-bottom: 3.5em; }
+ .article-header h1 {
+ font-size: 2em;
+ color: #333;
+ margin: 0; }
+ .article-header h1 .article-title:hover {
+ color: #00BDFF; }
+ .article-header .article-date {
+ position: absolute;
+ bottom: -25px;
+ left: 0px;
+ font-size: .9em;
+ color: #999; }
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1b2a58e5/content/css/partial/article-title.scss
----------------------------------------------------------------------
diff --git a/content/css/partial/article-title.scss b/content/css/partial/article-title.scss
deleted file mode 100644
index 45b0786..0000000
--- a/content/css/partial/article-title.scss
+++ /dev/null
@@ -1,28 +0,0 @@
-@import "../variable.scss";
-
-.article-header {
- position: relative;
- padding-bottom: 10px;
- border-bottom: 1px solid $border-light;
- margin-bottom: 3.5em;
-
- h1 {
- font-size: 2em;
- color: #333;
- margin: 0;
-
- .article-title {
- &:hover {
- color: $text-blue;
- }
- }
- }
-
- .article-date {
- position: absolute;
- bottom: -25px;
- left: 0px;
- font-size: .9em;
- color: $text-gray;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1b2a58e5/content/css/partial/article.css
----------------------------------------------------------------------
diff --git a/content/css/partial/article.css b/content/css/partial/article.css
new file mode 100644
index 0000000..0de2890
--- /dev/null
+++ b/content/css/partial/article.css
@@ -0,0 +1,50 @@
+/***********************
+* Variable
+***********************/
+/***********************
+* Mixin
+***********************/
+.article {
+ max-width: 900px;
+ margin: 0 0 0 300px;
+ position: relative;
+ line-height: 1.6;
+ overflow-y: auto; }
+ .article.article-type-article {
+ margin-left: 0; }
+ .article .article-entry {
+ margin-bottom: 90px; }
+ .article h2 {
+ font-size: 1.75em;
+ margin: 1.7em 0 .5em; }
+ .article h3 {
+ font-size: 1.5em;
+ margin: 1.5em 0 .5em; }
+ .article h4 {
+ font-size: 1.25em;
+ margin: 1.2em 0 .5em; }
+ .article h5 {
+ font-size: 1.1em;
+ margin: 1.1em 0 .5em; }
+ .article img[alt="mobile_preview"] {
+ width: 200px; }
+ .article a {
+ color: #4078c0; }
+ .article a:hover {
+ text-decoration: underline; }
+ .article .weex-version {
+ display: inline-block;
+ padding: .3em .8em;
+ color: #fff;
+ background: #23CEFD;
+ border-radius: 2em;
+ line-height: 1.2;
+ position: absolute;
+ top: 15px;
+ right: 20px; }
+
+#blog .article {
+ margin-left: 0; }
+
+#faq .article {
+ margin-left: 0; }
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1b2a58e5/content/css/partial/article.scss
----------------------------------------------------------------------
diff --git a/content/css/partial/article.scss b/content/css/partial/article.scss
deleted file mode 100644
index 9afcc5e..0000000
--- a/content/css/partial/article.scss
+++ /dev/null
@@ -1,68 +0,0 @@
-@import "../variable.scss";
-
-.article {
- max-width: 900px;
- margin: 0 0 0 300px;
- position: relative;
- line-height: 1.6;
- overflow-y: auto;
-
- &.article-type-article {
- margin-left: 0;
- }
-
- .article-entry {
- margin-bottom: 90px;
- }
-
- h2 {
- font-size: 1.75em;
- margin: 1.7em 0 .5em;
- }
-
- h3 {
- font-size: 1.5em;
- margin: 1.5em 0 .5em;
- }
-
- h4 {
- font-size: 1.25em;
- margin: 1.2em 0 .5em;
- }
-
- h5 {
- font-size: 1.1em;
- margin: 1.1em 0 .5em;
- }
-
- img[alt="mobile_preview"] {
- width: 200px;
- }
-
- a {
- color: #4078c0;
- &:hover {
- text-decoration: underline;
- }
- }
-
- .weex-version {
- display: inline-block;
- padding: .3em .8em;
- color: #fff;
- background: $bg-light-blue;
- border-radius: 2em;
- line-height: 1.2;
- position: absolute;
- top: 15px;
- right: 20px;
- }
-}
-
-#blog .article {
- margin-left: 0;
-}
-
-#faq .article {
- margin-left: 0;
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1b2a58e5/content/css/partial/footer.css
----------------------------------------------------------------------
diff --git a/content/css/partial/footer.css b/content/css/partial/footer.css
new file mode 100644
index 0000000..5cff748
--- /dev/null
+++ b/content/css/partial/footer.css
@@ -0,0 +1,51 @@
+/***********************
+* Variable
+***********************/
+/***********************
+* Mixin
+***********************/
+#footer {
+ width: 100%;
+ padding: 20px 65px;
+ margin: 0;
+ background: #fff;
+ border-top: 1px solid #DDDDDD; }
+ #footer .ali-logo {
+ width: 83px;
+ height: 41px;
+ float: left; }
+ #footer .ali-logo img {
+ width: 100%; }
+ #footer .select-lang {
+ display: none;
+ width: 105px;
+ height: 25px;
+ line-height: 25px;
+ float: right; }
+ #footer .select-lang .dropdown-toggle {
+ color: #00293D;
+ border: 1px solid #999ba4; }
+ #footer .select-lang .dropdown-menu {
+ width: 105px;
+ border: 1px solid #999ba4; }
+ #footer .row {
+ font-size: 14px;
+ margin: 8px 0; }
+ #footer .row span {
+ color: #999; }
+ #footer .row .icon-baichuan {
+ font-size: 14px;
+ color: #363539; }
+ #footer .row .cell {
+ float: left;
+ color: #999;
+ margin: 0 20px 10px 0; }
+ #footer .caret {
+ display: inline-block;
+ margin-left: 2px;
+ width: 0;
+ height: 0;
+ vertical-align: middle;
+ border-left: 4px solid transparent;
+ border-right: 4px solid transparent;
+ border-top: 4px solid #999ba4; }
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1b2a58e5/content/css/partial/footer.scss
----------------------------------------------------------------------
diff --git a/content/css/partial/footer.scss b/content/css/partial/footer.scss
deleted file mode 100644
index 3c4d976..0000000
--- a/content/css/partial/footer.scss
+++ /dev/null
@@ -1,63 +0,0 @@
-@import "../variable.scss";
-
-#footer {
- width: 100%;
- padding: 20px 65px;
- margin: 0;
- background: $bg-white;
- border-top: 1px solid #DDDDDD;
-
- .ali-logo {
- width: 83px;
- height: 41px;
- float: left;
-
- img {
- width: 100%;
- }
- }
-
- .select-lang {
- display: none;
- width: 105px;
- height: 25px;
- line-height: 25px;
- float: right;
- }
-
- .select-lang .dropdown-toggle {
- color: #00293D;
- border: 1px solid $border-gray;
- }
-
- .select-lang .dropdown-menu {
- width: 105px;
- border: 1px solid $border-gray;
- }
-
- .row {
- font-size: 14px;
- margin: 8px 0;
- }
-
- .row span {
- color: $text-gray;
- }
-
- .row .icon-baichuan {
- font-size: 14px;
- color: $text-light-black;
- }
-
- .row .cell {
- float: left;
- color: $text-gray;
- margin: 0 20px 10px 0;
- }
-
- .caret {
- display: inline-block;
- margin-left: 2px;
- @include triangle-down($border-gray, 4px);
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1b2a58e5/content/css/partial/header.css
----------------------------------------------------------------------
diff --git a/content/css/partial/header.css b/content/css/partial/header.css
new file mode 100644
index 0000000..1f088c4
--- /dev/null
+++ b/content/css/partial/header.css
@@ -0,0 +1,104 @@
+/***********************
+* Variable
+***********************/
+/***********************
+* Mixin
+***********************/
+#header {
+ width: 100%;
+ height: 72px;
+ padding: 0 65px;
+ position: fixed;
+ background-color: rgba(255, 255, 255, 0.95);
+ box-shadow: 3px 2px 4px 0 rgba(0, 0, 0, 0.12);
+ top: 0;
+ left: 0;
+ right: 0;
+ z-index: 9999; }
+ #header ul, #header li, #header ol {
+ margin: 0;
+ padding: 0;
+ list-style-type: none; }
+ #header #logo {
+ display: block; }
+ #header #logo img {
+ width: 110px;
+ height: 60px; }
+ #header .navbar {
+ height: 72px;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-justify-content: space-between;
+ -ms-flex-pack: justify;
+ justify-content: space-between;
+ -webkit-align-items: center;
+ -ms-flex-align: center;
+ align-items: center; }
+ #header #mobile-nav {
+ display: none;
+ height: 72px;
+ -webkit-align-items: center;
+ -ms-flex-align: center;
+ align-items: center; }
+ #header #mobile-nav #logo {
+ margin: 0 auto; }
+ #header #mobile-nav .btn-menu {
+ position: absolute;
+ left: 20px;
+ top: 25px; }
+ #header .main-nav {
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-justify-content: space-between;
+ -ms-flex-pack: justify;
+ justify-content: space-between; }
+ #header .main-nav > ul {
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-justify-content: space-between;
+ -ms-flex-pack: justify;
+ justify-content: space-between;
+ height: 72px;
+ line-height: 72px; }
+ #header .main-nav li > a {
+ font-size: 1.3em;
+ color: #363539; }
+ #header .links > li > a:hover {
+ border-bottom: 0.2em solid #00BDFF; }
+ #header .links > li + li {
+ margin-left: 40px; }
+ #header .info li {
+ margin-left: 40px; }
+ #header .tools > li {
+ margin-left: 30px;
+ position: relative; }
+ #header .tools .search-form {
+ width: 120px; }
+ #header .dropdown .dropdown-menu {
+ width: 200px;
+ left: -60%;
+ top: 98%;
+ border: none;
+ padding: 10px 0; }
+ #header .dropdown .dropdown-menu a {
+ font-size: 15px;
+ padding: 5px 10px; }
+ #header .select-lang {
+ width: 90px; }
+ #header .select-lang .dropdown-toggle {
+ color: #00293D; }
+ #header .select-lang .dropdown-menu {
+ width: 105px;
+ left: 0; }
+ #header .caret {
+ display: inline-block;
+ margin-left: 2px;
+ width: 0;
+ height: 0;
+ vertical-align: middle;
+ border-left: 4px solid transparent;
+ border-right: 4px solid transparent;
+ border-top: 4px solid #999ba4; }
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1b2a58e5/content/css/partial/header.scss
----------------------------------------------------------------------
diff --git a/content/css/partial/header.scss b/content/css/partial/header.scss
deleted file mode 100644
index f109404..0000000
--- a/content/css/partial/header.scss
+++ /dev/null
@@ -1,128 +0,0 @@
-@import "../variable.scss";
-
-#header {
- width: 100%;
- height: 72px;
- padding: 0 65px;
- position: fixed;
- background-color: rgba(255, 255, 255, .95);
- box-shadow: 3px 2px 4px 0 rgba(0,0,0,0.12);
- top: 0;
- left: 0;
- right: 0;
- z-index: 9999;
-
- ul, li , ol {
- margin: 0;
- padding: 0;
- list-style-type: none;
- }
-
- #logo {
- display: block;
-
- img {
- width: 110px;
- height: 60px;
- }
- }
-
- .navbar {
- height: 72px;
- display: flex;
- justify-content: space-between;
- align-items: center;
-
- }
-
- #mobile-nav {
- display: none;
- height: 72px;
- align-items: center;
-
- #logo {
- margin: 0 auto;
- }
-
- .btn-menu {
- position: absolute;
- left: 20px;
- top: 25px;
- }
- }
-
- .main-nav {
- display: flex;
- justify-content: space-between;
-
- & > ul {
- display: flex;
- justify-content: space-between;
- height: 72px;
- line-height: 72px;
- }
-
- li > a {
- font-size: 1.3em;
- color: $text-light-black;
- }
- }
-
- .links {
- & > li > a:hover {
- border-bottom: .2em solid $text-blue;
- }
-
- > li + li {
- margin-left: 40px;
- }
- }
-
- .info li {
- margin-left: 40px;
- }
-
- .tools {
- > li {
- margin-left: 30px;
- position: relative;
- }
- .search-form {
- width: 120px;
- }
- }
-
- .dropdown {
- .dropdown-menu {
- width: 200px;
- left: -60%;
- top: 98%;
- border: none;
- padding: 10px 0;
-
- a {
- font-size: 15px;
- padding: 5px 10px;
- }
- }
- }
-
- .select-lang {
- width: 90px;
- }
-
- .select-lang .dropdown-toggle {
- color: #00293D;
- }
-
- .select-lang .dropdown-menu {
- width: 105px;
- left: 0;
- }
-
- .caret {
- display: inline-block;
- margin-left: 2px;
- @include triangle-down($border-gray, 4px);
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1b2a58e5/content/css/partial/highlight.css
----------------------------------------------------------------------
diff --git a/content/css/partial/highlight.css b/content/css/partial/highlight.css
new file mode 100644
index 0000000..3dd6b25
--- /dev/null
+++ b/content/css/partial/highlight.css
@@ -0,0 +1,87 @@
+code, pre {
+ font-family: Source Code Pro,Monaco,Menlo,Consolas,monospace;
+ color: #abb2bf;
+ font-size: 14px; }
+
+code {
+ color: #e06c75;
+ background: #eaeaea;
+ padding: 0 5px; }
+
+pre {
+ padding: 10px 15px;
+ overflow-x: auto;
+ line-height: 22px; }
+
+pre code {
+ border: none;
+ background: #353639;
+ display: block;
+ padding: 0;
+ -moz-tab-size: 2;
+ tab-size: 2; }
+
+.highlight, pre {
+ background: #353639;
+ padding: 10px 15px;
+ color: #abb2bf;
+ overflow: auto;
+ margin: 20px 0;
+ border-radius: 5px; }
+
+.highlight table {
+ margin: 0 !important;
+ border: 0; }
+
+.highlight table td, .highlight table th, .highlight tr {
+ background: #353639;
+ border: 0;
+ padding: 0; }
+
+.highlight figcaption {
+ margin: -5px 0 5px;
+ font-size: .9em;
+ color: #abb2bf; }
+
+.highlight figcaption:after, .highlight figcaption:before {
+ content: "";
+ display: table; }
+
+.highlight figcaption:after {
+ clear: both; }
+
+.highlight figcaption a {
+ float: right; }
+
+.highlight pre {
+ padding: 0;
+ border: none;
+ background: none;
+ margin: 0; }
+
+.highlight .line {
+ height: 22px; }
+
+pre .comment, pre .title {
+ color: #5c6370; }
+
+pre .attribute, pre .css .class, pre .css .id, pre .css .pseudo, pre .html .doctype, pre .regexp, pre .ruby .constant, pre .tag, pre .variable, pre .xml .doctype, pre .xml .pi, pre .xml .tag .title {
+ color: #e06c75; }
+
+pre .built_in, pre .constant, pre .literal, pre .number, pre .params, pre .preprocessor {
+ color: #d19a66; }
+
+pre .class, pre .css .rules .attribute, pre .header, pre .inheritance, pre .ruby .class .title, pre .ruby .symbol, pre .string, pre .value, pre .xml .cdata {
+ color: #98c379; }
+
+pre .css .hexcolor {
+ color: #3e999f; }
+
+pre .coffeescript .title, pre .function, pre .javascript .title, pre .perl .sub, pre .python .decorator, pre .python .title, pre .ruby .function .title, pre .ruby .title .keyword {
+ color: #c678dd; }
+
+pre .javascript .function, pre .keyword {
+ color: #c678dd; }
+
+pre .attr {
+ color: #61afef; }
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1b2a58e5/content/css/partial/highlight.scss
----------------------------------------------------------------------
diff --git a/content/css/partial/highlight.scss b/content/css/partial/highlight.scss
deleted file mode 100644
index 521357a..0000000
--- a/content/css/partial/highlight.scss
+++ /dev/null
@@ -1,108 +0,0 @@
-code, pre {
- font-family: Source Code Pro,Monaco,Menlo,Consolas,monospace;
- color: #abb2bf;
- font-size: 14px;
-}
-
-code {
- color: #e06c75;
- background: #eaeaea;
- padding: 0 5px;
-}
-
-pre {
- padding: 10px 15px;
- overflow-x: auto;
- line-height: 22px;
-}
-
-pre code {
- border: none;
- background: #353639;
- display: block;
- padding: 0;
- -moz-tab-size: 2;
- tab-size: 2;
-}
-
-.highlight, pre {
- background: #353639;
- padding: 10px 15px;
- color: #abb2bf;
- overflow: auto;
- margin: 20px 0;
- border-radius: 5px;
-}
-
-.highlight table {
- margin: 0!important;
- border: 0;
-}
-
-.highlight table td,.highlight table th, .highlight tr {
- background: #353639;
- border: 0;
- padding: 0;
-}
-
-.highlight figcaption {
- margin: -5px 0 5px;
- font-size: .9em;
- color: #abb2bf;
-}
-
-.highlight figcaption:after,.highlight figcaption:before {
- content: "";
- display: table;
-}
-
-.highlight figcaption:after {
- clear: both;
-}
-
-.highlight figcaption a {
- float: right;
-}
-
-.highlight pre {
- padding: 0;
- border: none;
- background: none;
- margin: 0;
-}
-
-.highlight .line {
- height: 22px;
-}
-
-pre .comment,pre .title {
- color: #5c6370;
-}
-
-pre .attribute,pre .css .class,pre .css .id,pre .css .pseudo,pre .html .doctype,pre .regexp,pre .ruby .constant,pre .tag,pre .variable,pre .xml .doctype,pre .xml .pi,pre .xml .tag .title {
- color: #e06c75;
-}
-
-pre .built_in,pre .constant,pre .literal,pre .number,pre .params,pre .preprocessor {
- color: #d19a66;
-}
-
-pre .class,pre .css .rules .attribute,pre .header,pre .inheritance,pre .ruby .class .title,pre .ruby .symbol,pre .string,pre .value,pre .xml .cdata {
- color: #98c379;
-}
-
-pre .css .hexcolor {
- color: #3e999f;
-}
-
-pre .coffeescript .title,pre .function,pre .javascript .title,pre .perl .sub,pre .python .decorator,pre .python .title,pre .ruby .function .title,pre .ruby .title .keyword {
- color: #c678dd;
-}
-
-pre .javascript .function,pre .keyword {
- color: #c678dd;
-}
-
-pre .attr {
- color: #61afef;
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1b2a58e5/content/css/partial/search-form.css
----------------------------------------------------------------------
diff --git a/content/css/partial/search-form.css b/content/css/partial/search-form.css
new file mode 100644
index 0000000..44f2a53
--- /dev/null
+++ b/content/css/partial/search-form.css
@@ -0,0 +1,61 @@
+/***********************
+* Variable
+***********************/
+/***********************
+* Mixin
+***********************/
+.search {
+ position: relative; }
+ .search .search-form {
+ width: 100%;
+ position: relative; }
+ .search .search-input {
+ width: 100%;
+ height: 30px;
+ line-height: 30px;
+ font-size: 1em;
+ padding: 6px 35px 6px 10px;
+ border: 1px solid #ddd;
+ border-radius: 20px;
+ margin: 10px 0;
+ -webkit-appearance: none; }
+ .search .search-input:focus {
+ border: 1px solid #00BDFF;
+ outline: none; }
+ .search .icon-search {
+ position: absolute;
+ font-size: 14px;
+ line-height: 30px;
+ top: 50%;
+ margin-top: -14px;
+ right: 15px;
+ color: #999; }
+
+.results-panel {
+ display: none;
+ position: absolute;
+ width: 400px;
+ height: 300px;
+ overflow-x: hidden;
+ overflow-y: auto;
+ background: #fff;
+ right: -66px;
+ top: 100%;
+ padding: 20px;
+ line-height: 1.5;
+ box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); }
+ .results-panel .matching-post {
+ border-bottom: 1px solid #ddd; }
+ .results-panel .matching-post h2 {
+ font-size: 17px;
+ margin: 10px 0; }
+ .results-panel .matching-post p {
+ font-size: 14px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ display: -webkit-box;
+ -webkit-line-clamp: 2;
+ -webkit-box-orient: vertical; }
+ .results-panel .search-keyword {
+ font-style: normal;
+ color: #00BDFF; }
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1b2a58e5/content/css/partial/search-form.scss
----------------------------------------------------------------------
diff --git a/content/css/partial/search-form.scss b/content/css/partial/search-form.scss
deleted file mode 100644
index 1f18e6c..0000000
--- a/content/css/partial/search-form.scss
+++ /dev/null
@@ -1,71 +0,0 @@
-@import "../variable.scss";
-
-.search {
- position: relative;
-
- .search-form {
- width: 100%;
- position: relative;
- }
-
- .search-input {
- width: 100%;
- height: 30px;
- line-height: 30px;
- font-size: 1em;
- padding: 6px 35px 6px 10px;
- border: 1px solid $border-light;
- border-radius: 20px;
- margin: 10px 0;
- -webkit-appearance: none;
-
- &:focus {
- border: 1px solid $border-blue;
- outline: none;
- }
- }
-
- .icon-search {
- position: absolute;
- font-size: 14px;
- line-height: 30px;
- top: 50%;
- margin-top: -14px;
- right: 15px;
- color: $text-gray;
- }
-}
-
-.results-panel {
- display: none;
- position: absolute;
- width: 400px;
- height: 300px;
- overflow-x: hidden;
- overflow-y: auto;
- background: #fff;
- right: -66px;
- top: 100%;
- padding: 20px;
- line-height: 1.5;
- box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
-
- .matching-post {
- border-bottom: 1px solid #ddd;
- h2 {
- font-size: 17px;
- margin: 10px 0;
- }
-
- p {
- font-size: 14px;
- @include lines(2);
- }
- }
-
- .search-keyword {
- font-style: normal;
- color: $text-blue;
- }
-
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1b2a58e5/content/css/partial/sidebar.css
----------------------------------------------------------------------
diff --git a/content/css/partial/sidebar.css b/content/css/partial/sidebar.css
new file mode 100644
index 0000000..fb6779b
--- /dev/null
+++ b/content/css/partial/sidebar.css
@@ -0,0 +1,60 @@
+/***********************
+* Variable
+***********************/
+/***********************
+* Mixin
+***********************/
+#sidebar {
+ display: none;
+ height: 100%;
+ width: 300px;
+ position: fixed;
+ top: 0;
+ left: 0;
+ z-index: 999;
+ padding: 90px 20px 10px;
+ background: #fff;
+ box-shadow: -3px 0 20px rgba(0, 0, 0, 0.2);
+ overflow-x: hidden;
+ overflow-y: auto;
+ -webkit-overflow-scrolling: touch; }
+ #sidebar .sidebar-menu {
+ z-index: 999;
+ overflow-y: auto; }
+ #sidebar .sidebar-menu .btn-close-sidebar {
+ cursor: pointer;
+ display: block;
+ font-size: 1.5em;
+ position: absolute;
+ top: 18px;
+ left: 18px;
+ background: transparent;
+ border: none; }
+ #sidebar .sidebar-menu .btn-close-sidebar:hover {
+ border: none;
+ color: #777; }
+ #sidebar .main-nav {
+ font-size: 1.3em;
+ border-bottom: 1px solid #DDDDDD;
+ overflow: hidden;
+ margin: 0;
+ padding: 0;
+ list-style-type: none; }
+ #sidebar .main-nav li {
+ margin-bottom: 25px;
+ color: #333; }
+ #sidebar .main-nav a {
+ color: #333; }
+ #sidebar .main-nav a:hover {
+ border-bottom: 0.2em solid #00BDFF; }
+ #sidebar .main-nav .subnav {
+ font-size: .8em;
+ list-style: none;
+ padding-left: 20px; }
+ #sidebar .summary {
+ display: block;
+ margin-top: 20px; }
+ #sidebar .results-panel {
+ width: 300px;
+ left: -20px;
+ right: 0; }
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1b2a58e5/content/css/partial/sidebar.scss
----------------------------------------------------------------------
diff --git a/content/css/partial/sidebar.scss b/content/css/partial/sidebar.scss
deleted file mode 100644
index 6e681b1..0000000
--- a/content/css/partial/sidebar.scss
+++ /dev/null
@@ -1,75 +0,0 @@
-@import "../variable.scss";
-
-#sidebar {
- display: none;
- height: 100%;
- width: 300px;
- position: fixed;
- top: 0;
- left: 0;
- z-index: 999;
- padding: 90px 20px 10px;
- background: #fff;
- box-shadow: -3px 0 20px rgba(0, 0, 0, .2);
- overflow-x: hidden;
- overflow-y: auto;
- -webkit-overflow-scrolling: touch;
-
- .sidebar-menu {
- z-index: 999;
- overflow-y: auto;
-
- .btn-close-sidebar {
- cursor: pointer;
- display: block;
- font-size: 1.5em;
- position: absolute;
- top: 18px;
- left: 18px;
- background: transparent;
- border: none;
- &:hover {
- border: none;
- color: #777;
- }
- }
- }
-
- .main-nav {
- font-size: 1.3em;
- border-bottom: 1px solid #DDDDDD;
- overflow: hidden;
- margin: 0;
- padding: 0;
- list-style-type: none;
-
- li {
- margin-bottom: 25px;
- color: $text-black;
- }
-
- a {
- color: $text-black;
- &:hover {
- border-bottom: .2em solid $text-blue;
- }
- }
-
- .subnav {
- font-size: .8em;
- list-style: none;
- padding-left: 20px;
- }
- }
-
- .summary {
- display: block;
- margin-top: 20px;
- }
-
- .results-panel {
- width: 300px;
- left: -20px;
- right: 0;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1b2a58e5/content/css/partial/summary.css
----------------------------------------------------------------------
diff --git a/content/css/partial/summary.css b/content/css/partial/summary.css
new file mode 100644
index 0000000..9ff909f
--- /dev/null
+++ b/content/css/partial/summary.css
@@ -0,0 +1,35 @@
+/***********************
+* Variable
+***********************/
+/***********************
+* Mixin
+***********************/
+.summary {
+ overflow-x: hidden;
+ overflow-y: auto;
+ -webkit-overflow-scrolling: touch; }
+ .summary ul, .summary li, .summary ol {
+ margin: 0;
+ padding: 0;
+ list-style-type: none; }
+ .summary a.current {
+ border: none;
+ color: #00BDFF; }
+ .summary a:hover {
+ color: #00BDFF; }
+ .summary h2.part-title {
+ color: #00BDFF;
+ font-size: 1.2em;
+ font-weight: 600; }
+ .summary h3.chapter-title {
+ font-size: 1.1em; }
+ .summary ul.chapter {
+ margin-left: 15px; }
+ .summary ul.chapter li {
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ padding-bottom: 15px; }
+
+.lang-en .summary h3.chapter-title {
+ font-weight: 600; }
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1b2a58e5/content/css/partial/summary.scss
----------------------------------------------------------------------
diff --git a/content/css/partial/summary.scss b/content/css/partial/summary.scss
deleted file mode 100644
index 1b78b55..0000000
--- a/content/css/partial/summary.scss
+++ /dev/null
@@ -1,48 +0,0 @@
-@import "../variable.scss";
-
-.summary {
- overflow-x: hidden;
- overflow-y: auto;
- -webkit-overflow-scrolling: touch;
-
- ul, li , ol {
- margin: 0;
- padding: 0;
- list-style-type: none;
- }
-
- a {
- &.current {
- border: none;
- color: $text-blue;
- }
- &:hover {
- color: $text-blue;
- }
- }
-
- h2.part-title {
- color: $text-blue;
- font-size: 1.2em;
- font-weight: 600;
- }
-
- h3.chapter-title {
- font-size: 1.1em;
- }
-
- ul.chapter {
- margin-left: 15px;
- li {
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- padding-bottom: 15px;
- }
- }
-
-}
-
-.lang-en .summary h3.chapter-title{
- font-weight: 600;
-}
\ No newline at end of file