add compress
This commit is contained in:
1 parent
6046ef88d2
commit
58465b7ccd
27 files changed
+17
-380
No files matched your search
+1
-2
@@ -1,2 +1 @@
|
|||||||
toolers/node_modules/**
|
toolers/node_modules/**
|
||||||
node_modules/**
|
|
||||||
Vendored
-15
@@ -1,16 +1 @@
|
|||||||
/**
|
|
||||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
.article-relative ul,.header .right ul,.side-tool ul{list-style-type:none}.comment-info,.side-tool ul ul li a{word-wrap:break-word;overflow:hidden}body{background-image:url(../images/bg-grey.jpg);background-color:#000;color:#363636;font-family:'\5fae\8f6f\96c5\9ed1, Arial,Verdana,sans-serif';font-size:12px;margin:0;padding:0}a,a:link,a:visited{color:#BE0700;text-decoration:underline}a:hover{text-decoration:none;color:rgba(190,7,0,.75)}.error-msg{color:#BE0700}#blueBG,#brownBG,#goTop,#greyBG,.article .day,.article .month,.brush-icon,.comment-form button,.pagination a,.side-tool ul ul li a{background-image:url(../images/icon.png)}.wrapper{width:910px;margin:0 auto;position:relative}.main{float:left;width:627px}.side-navi{float:left;width:282px}.header{background:url(../images/bgs.png) no-repeat;width:910px;height:185px;float:left}.header .left{width:566px}.header h1{margin:18px 0 0 37px}.header .left a,.sub-title{color:#FFF;font-family:Neucha,'\5fae\8f6f\96c5\9ed1,Arial,Verdana,sans-serif';font-size:46px;text-decoration:none}.sub-title{color:#000;font-size:22px;margin-left:40px;margin-top:0;display:block}.header>.left>div{float:right;color:#C0BEBD}.header .right{width:343px}.header .right li{float:left;margin:18px 30px 0 0;width:84px}.header .right li a{color:#FFF;font-family:'Reenie Beanie',sans-serif;font-size:45px;text-decoration:none;font-weight:700}.header .right li a:hover{color:#DDD;font-family:Neucha,sans-serif}.main-content{padding:0 45px;background-color:#D4D4D4}.main-content>h2{color:#BE0700;font-size:20px;line-height:145%;margin-bottom:18px;font-family:Neucha,'\5fae\8f6f\96c5\9ed1'}.main-footer{background:url(../images/bgs.png) 0 -185px;height:14px;width:627px}.brush{left:-52px;position:absolute;top:283px;width:100px}#brush{background:url(../images/paint.png) 98px -150px no-repeat fixed;position:relative;top:-27px;width:82px}.brush-icon{background-position:0 -312px;height:240px;position:relative;width:92px;z-index:1}.brush-icon:hover{background-position:0 -69px}.article a.underline:hover{text-decoration:underline;color:#BE0700}.article .date{width:40px;float:left}.article .month{color:#FFF;height:20px;text-align:center;width:36px}.article .day{border:1px solid #C4BFBA;border-top:0;background-position:0 -20px;font-size:15px;height:23px;padding-top:4px;text-align:center;width:34px}.article h2{margin-bottom:3px;width:495px}.article h2 a{color:#363636;font-size:24px;line-height:24px;text-decoration:none}.article h2 a:hover{color:#BE0700;text-decoration:underline}.article h2 sup{color:#BE0700;font-size:10px;vertical-align:top}.article-abstract{border-top:2px dashed #F1EEE9;margin-top:15px;padding:20px 0 25px;overflow:hidden;line-height:145%}.article-abstract p:first-child:first-letter,.article-abstract:first-letter{font-size:38px;float:left;font-weight:700;margin:0 3px 3px 0;line-height:38px}.pagination{line-height:21px}.pagination a{background-position:0 -47px;border:1px solid #C5C3C2;color:#8C8C8C;padding:1px 6px;text-decoration:none;margin:2px;font-size:10px}.pagination a.selected{background:#FFF;border:1px solid #C5C3C2;color:#3E3E3E;font-weight:700;padding:1px 7px 2px 6px}.pagination a:hover{background:#F3DEDD;color:#BE0700;border:1px solid #BE0700}.side-navi ul{list-style:none}.side-navi .item{border-radius:0 5px 5px 0;background:url(../images/bg-transparent.png);border:1px solid #999;float:left;margin-top:23px;padding:25px 15px 15px;width:250px;color:#EAE7E0}.side-navi .item dd{margin-bottom:25px}.side-navi .item dd li{list-style-type:none;border-bottom:1px solid #93908A;padding:4px 0 1px 6px;margin-left:0;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;color:#EAE7E0;position:relative;line-height:21px}.side-navi .item dd li:hover{background:url(../images/bg-transparent.png);border-bottom:1px solid #BAB8B5}.side-navi .item dd li:hover a{color:#FFF}.side-navi .item dd li a{white-space:nowrap;color:#EAE7E0;text-decoration:none}.side-navi .item .navi-tags img{cursor:pointer;height:16px;left:3px;position:absolute;top:5px;width:16px}.side-navi .item dd .navi-tags a{padding-left:18px}#naviComments li a{white-space:normal}#naviComments li br{display:none}#naviComments li p{display:inline}#naviComments li a.author{color:#BE0700}#naviComments li:hover{background-image:none}#naviComments li a:hover{text-decoration:underline}#naviComments img{height:16px;width:16px}.side-navi .item h4{border-bottom:1px solid #93908A;color:#EAE7E0;padding:0 5px 8px;font-size:16px}.footer{background-image:url(../images/footer.png);color:#EAE7E0;height:411px;padding:21px 0 0 95px;width:605px;margin-top:40px;text-align:center}.footer a{text-decoration:none}.footer a:hover{text-decoration:underline}.side-tool{position:fixed;top:30px;left:0}.side-tool li{margin-left:0}#blueBG,#brownBG,#greyBG{background-position:-103px 0;display:block;height:21px;margin:3px 0;width:21px;cursor:pointer}#brownBG{background-position:-103px -26px}#blueBG{background-position:-103px -52px}#greyBG.selected,#greyBG:hover{background-posiLine truncated
|
.article-relative ul,.header .right ul,.side-tool ul{list-style-type:none}.comment-info,.side-tool ul ul li a{word-wrap:break-word;overflow:hidden}body{background-image:url(../images/bg-grey.jpg);background-color:#000;color:#363636;font-family:'\5fae\8f6f\96c5\9ed1, Arial,Verdana,sans-serif';font-size:12px;margin:0;padding:0}a,a:link,a:visited{color:#BE0700;text-decoration:underline}a:hover{text-decoration:none;color:rgba(190,7,0,.75)}.error-msg{color:#BE0700}#blueBG,#brownBG,#goTop,#greyBG,.article .day,.article .month,.brush-icon,.comment-form button,.pagination a,.side-tool ul ul li a{background-image:url(../images/icon.png)}.wrapper{width:910px;margin:0 auto;position:relative}.main{float:left;width:627px}.side-navi{float:left;width:282px}.header{background:url(../images/bgs.png) no-repeat;width:910px;height:185px;float:left}.header .left{width:566px}.header h1{margin:18px 0 0 37px}.header .left a,.sub-title{color:#FFF;font-family:Neucha,'\5fae\8f6f\96c5\9ed1,Arial,Verdana,sans-serif';font-size:46px;text-decoration:none}.sub-title{color:#000;font-size:22px;margin-left:40px;margin-top:0;display:block}.header>.left>div{float:right;color:#C0BEBD}.header .right{width:343px}.header .right li{float:left;margin:18px 30px 0 0;width:84px}.header .right li a{color:#FFF;font-family:'Reenie Beanie',sans-serif;font-size:45px;text-decoration:none;font-weight:700}.header .right li a:hover{color:#DDD;font-family:Neucha,sans-serif}.main-content{padding:0 45px;background-color:#D4D4D4}.main-content>h2{color:#BE0700;font-size:20px;line-height:145%;margin-bottom:18px;font-family:Neucha,'\5fae\8f6f\96c5\9ed1'}.main-footer{background:url(../images/bgs.png) 0 -185px;height:14px;width:627px}.brush{left:-52px;position:absolute;top:283px;width:100px}#brush{background:url(../images/paint.png) 98px -150px no-repeat fixed;position:relative;top:-27px;width:82px}.brush-icon{background-position:0 -312px;height:240px;position:relative;width:92px;z-index:1}.brush-icon:hover{background-position:0 -69px}.article a.underline:hover{text-decoration:underline;color:#BE0700}.article .date{width:40px;float:left}.article .month{color:#FFF;height:20px;text-align:center;width:36px}.article .day{border:1px solid #C4BFBA;border-top:0;background-position:0 -20px;font-size:15px;height:23px;padding-top:4px;text-align:center;width:34px}.article h2{margin-bottom:3px;width:495px}.article h2 a{color:#363636;font-size:24px;line-height:24px;text-decoration:none}.article h2 a:hover{color:#BE0700;text-decoration:underline}.article h2 sup{color:#BE0700;font-size:10px;vertical-align:top}.article-abstract{border-top:2px dashed #F1EEE9;margin-top:15px;padding:20px 0 25px;overflow:hidden;line-height:145%}.article-abstract p:first-child:first-letter,.article-abstract:first-letter{font-size:38px;float:left;font-weight:700;margin:0 3px 3px 0;line-height:38px}.pagination{line-height:21px}.pagination a{background-position:0 -47px;border:1px solid #C5C3C2;color:#8C8C8C;padding:1px 6px;text-decoration:none;margin:2px;font-size:10px}.pagination a.selected{background:#FFF;border:1px solid #C5C3C2;color:#3E3E3E;font-weight:700;padding:1px 7px 2px 6px}.pagination a:hover{background:#F3DEDD;color:#BE0700;border:1px solid #BE0700}.side-navi ul{list-style:none}.side-navi .item{border-radius:0 5px 5px 0;background:url(../images/bg-transparent.png);border:1px solid #999;float:left;margin-top:23px;padding:25px 15px 15px;width:250px;color:#EAE7E0}.side-navi .item dd{margin-bottom:25px}.side-navi .item dd li{list-style-type:none;border-bottom:1px solid #93908A;padding:4px 0 1px 6px;margin-left:0;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;color:#EAE7E0;position:relative;line-height:21px}.side-navi .item dd li:hover{background:url(../images/bg-transparent.png);border-bottom:1px solid #BAB8B5}.side-navi .item dd li:hover a{color:#FFF}.side-navi .item dd li a{white-space:nowrap;color:#EAE7E0;text-decoration:none}.side-navi .item .navi-tags img{cursor:pointer;height:16px;left:3px;position:absolute;top:5px;width:16px}.side-navi .item dd .navi-tags a{padding-left:18px}#naviComments li a{white-space:normal}#naviComments li br{display:none}#naviComments li p{display:inline}#naviComments li a.author{color:#BE0700}#naviComments li:hover{background-image:none}#naviComments li a:hover{text-decoration:underline}#naviComments img{height:16px;width:16px}.side-navi .item h4{border-bottom:1px solid #93908A;color:#EAE7E0;padding:0 5px 8px;font-size:16px}.footer{background-image:url(../images/footer.png);color:#EAE7E0;height:411px;padding:21px 0 0 95px;width:605px;margin-top:40px;text-align:center}.footer a{text-decoration:none}.footer a:hover{text-decoration:underline}.side-tool{position:fixed;top:30px;left:0}.side-tool li{margin-left:0}#blueBG,#brownBG,#greyBG{background-position:-103px 0;display:block;height:21px;margin:3px 0;width:21px;cursor:pointer}#brownBG{background-position:-103px -26px}#blueBG{background-position:-103px -52px}#greyBG.selected,#greyBG:hover{background-posiLine truncated
|
||||||
Vendored
-15
@@ -1,16 +1 @@
|
|||||||
/**
|
|
||||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
.alert-danger,.alert-info,.alert-success,.btn-danger,.btn-default,.btn-info,.btn-primary,.btn-success,.btn-warning,.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover,.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover,.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover,.navbar-default,.navbar-default .navbar-nav>.active>a,.navbar-inverse,.navbar-inverse .navbar-nav>.active>a,.panel-danger>.panel-heading,.panel-default>.panel-heading,.panel-info>.panel-heading,.panel-primary>.panel-heading,.panel-success>.panel-heading,.panel-warning>.panel-heading,.progress,.progress-bar,.progress-bar-danger,.progress-bar-info,.progress-bar-success,.progress-bar-warning,.well{background-repeat:repeat-x}.btn-danger,.btn-default,.btn-info,.btn-primary,.btn-success,.btn-warning{text-shadow:0 -1px 0 rgba(0,0,0,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075)}.btn-danger.active,.btn-danger:active,.btn-default.active,.btn-default:active,.btn-info.active,.btn-info:active,.btn-primary.active,.btn-primary:active,.btn-success.active,.btn-success:active,.btn-warning.active,.btn-warning:active{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.active,.btn:active{background-image:none}.btn-default{text-shadow:0 1px 0 #fff;background-image:-webkit-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-o-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#e0e0e0));background-image:linear-gradient(to bottom,#fff 0,#e0e0e0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border-color:#ccc}.btn-default:focus,.btn-default:hover{background-color:#e0e0e0;background-position:0 -15px}.btn-default.active,.btn-default:active{background-color:#e0e0e0;border-color:#dbdbdb}.btn-default:disabled,.btn-default[disabled]{background-color:#e0e0e0;background-image:none}.btn-primary{background-image:-webkit-linear-gradient(top,#428bca 0,#2d6ca2 100%);background-image:-o-linear-gradient(top,#428bca 0,#2d6ca2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#428bca),to(#2d6ca2));background-image:linear-gradient(to bottom,#428bca 0,#2d6ca2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff2d6ca2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border-color:#2b669a}.btn-primary:focus,.btn-primary:hover{background-color:#2d6ca2;background-position:0 -15px}.btn-primary.active,.btn-primary:active{background-color:#2d6ca2;border-color:#2b669a}.btn-primary:disabled,.btn-primary[disabled]{background-color:#2d6ca2;background-image:none}.btn-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-o-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#419641));background-image:linear-gradient(to bottom,#5cb85c 0,#419641 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border-color:#3e8f3e}.btn-success:focus,.btn-success:hover{background-color:#419641;background-position:0 -15px}.btn-success.active,.btn-success:active{background-color:#419641;border-color:#3e8f3e}.btn-success:disabled,.btn-success[disabled]{background-color:#419641;background-image:none}.btn-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-o-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#2aabd2));background-image:linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border-color:#28a4c9}.btn-info:focus,.btn-info:hover{background-color:#2aabd2;background-position:0 -15px}.btn-info.active,.btn-info:active{background-color:#2aabd2;border-color:#28a4c9}.btn-info:disabled,.btn-info[disabled]{background-color:#2aabd2;background-image:none}.btn-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-o-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f0ad4e),to(#eb9316));background-image:linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border-color:#e38d13}.Line truncated
|
.alert-danger,.alert-info,.alert-success,.btn-danger,.btn-default,.btn-info,.btn-primary,.btn-success,.btn-warning,.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover,.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover,.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover,.navbar-default,.navbar-default .navbar-nav>.active>a,.navbar-inverse,.navbar-inverse .navbar-nav>.active>a,.panel-danger>.panel-heading,.panel-default>.panel-heading,.panel-info>.panel-heading,.panel-primary>.panel-heading,.panel-success>.panel-heading,.panel-warning>.panel-heading,.progress,.progress-bar,.progress-bar-danger,.progress-bar-info,.progress-bar-success,.progress-bar-warning,.well{background-repeat:repeat-x}.btn-danger,.btn-default,.btn-info,.btn-primary,.btn-success,.btn-warning{text-shadow:0 -1px 0 rgba(0,0,0,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075)}.btn-danger.active,.btn-danger:active,.btn-default.active,.btn-default:active,.btn-info.active,.btn-info:active,.btn-primary.active,.btn-primary:active,.btn-success.active,.btn-success:active,.btn-warning.active,.btn-warning:active{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.active,.btn:active{background-image:none}.btn-default{text-shadow:0 1px 0 #fff;background-image:-webkit-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-o-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#e0e0e0));background-image:linear-gradient(to bottom,#fff 0,#e0e0e0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border-color:#ccc}.btn-default:focus,.btn-default:hover{background-color:#e0e0e0;background-position:0 -15px}.btn-default.active,.btn-default:active{background-color:#e0e0e0;border-color:#dbdbdb}.btn-default:disabled,.btn-default[disabled]{background-color:#e0e0e0;background-image:none}.btn-primary{background-image:-webkit-linear-gradient(top,#428bca 0,#2d6ca2 100%);background-image:-o-linear-gradient(top,#428bca 0,#2d6ca2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#428bca),to(#2d6ca2));background-image:linear-gradient(to bottom,#428bca 0,#2d6ca2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff2d6ca2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border-color:#2b669a}.btn-primary:focus,.btn-primary:hover{background-color:#2d6ca2;background-position:0 -15px}.btn-primary.active,.btn-primary:active{background-color:#2d6ca2;border-color:#2b669a}.btn-primary:disabled,.btn-primary[disabled]{background-color:#2d6ca2;background-image:none}.btn-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-o-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#419641));background-image:linear-gradient(to bottom,#5cb85c 0,#419641 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border-color:#3e8f3e}.btn-success:focus,.btn-success:hover{background-color:#419641;background-position:0 -15px}.btn-success.active,.btn-success:active{background-color:#419641;border-color:#3e8f3e}.btn-success:disabled,.btn-success[disabled]{background-color:#419641;background-image:none}.btn-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-o-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#2aabd2));background-image:linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border-color:#28a4c9}.btn-info:focus,.btn-info:hover{background-color:#2aabd2;background-position:0 -15px}.btn-info.active,.btn-info:active{background-color:#2aabd2;border-color:#28a4c9}.btn-info:disabled,.btn-info[disabled]{background-color:#2aabd2;background-image:none}.btn-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-o-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f0ad4e),to(#eb9316));background-image:linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border-color:#e38d13}.Line truncated
|
||||||
Vendored
+1
-16
@@ -1,16 +1 @@
|
|||||||
/**
|
/*! normalize.css v3.0.1 | MIT License | git.io/normalize */.btn,.btn-group,.btn-group-vertical,.caret,.checkbox-inline,.radio-inline,img{vertical-align:middle}hr,img{border:0}body,figure{margin:0}.img-thumbnail,.thumbnail{-o-transition:all .2s ease-in-out}.btn-group>.btn-group,.btn-toolbar .btn-group,.btn-toolbar .input-group,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.dropdown-menu{float:left}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.pre-scrollable{max-height:340px}.modal.in .modal-dialog,.navbar-fixed-bottom,.navbar-fixed-top{-webkit-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0)}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:0 0}a:active,a:hover{outline:0}b,optgroup,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0}mark{color:#000;background:#ff0}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}svg:not(:root){overflow:hidden}hr{height:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}pre,textarea{overflow:auto}code,kbd,pre,samp{font-size:1em}button,input,optgroup,select,textarea{margin:0;font:inherit;color:inherit}.glyphicon,address,cite{font-style:normal}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}@media print{blockquote,img,pre,tr{page-break-inside:avoid}*{color:#000!important;text-shadow:none!important;background:0 0!important;-webkit-box-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{border:1px solid #999}thead{display:table-header-group}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}select{background:#fff!important}.navbar{display:none}.table td,.table th{background-color:#fff!important}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}.dropdown-menu,.modal-content{-webkit-background-clip:padding-box}.btn,.btn-danger.active,.btn-danger:active,.btn-default.active,.btn-default:active,.btn-info.active,.btn-info:active,.btn-primary.active,.btn-primary:active,.btn-warning.active,.btn-warning:active,.btn.active,.btn:active,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover,.form-control,.navbar-toggle,.open>.dropdown-toggle.btn-danger,.open>.dropdown-toggle.btn-default,.open>.dropdown-toggle.btn-info,.open>.dropdown-toggle.btn-primary,.open>.dropdown-toggle.btn-warning{background-image:none}.img-thumbnail,body{background-color:#fff}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{Line truncated
|
||||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
/*! normalize.css v3.0.1 | MIT License | git.io/normalize */.btn,.btn-group,.btn-group-vertical,.caret,.checkbox-inline,.radio-inline,img{vertical-align:middle}hr,img{border:0}body,figure{margin:0}.img-thumbnail,.thumbnail{-o-transition:all .2s ease-in-out}.btn-group>.btn-group,.btn-toolbar .btn-group,.btn-toolbar .input-group,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.dropdown-menu{float:left}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.pre-scrollable{max-height:340px}.modal.in .modal-dialog,.navbar-fixed-bottom,.navbar-fixed-top{-webkit-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0)}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:0 0}a:active,a:hover{outline:0}b,optgroup,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0}mark{color:#000;background:#ff0}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}svg:not(:root){overflow:hidden}hr{height:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}pre,textarea{overflow:auto}code,kbd,pre,samp{font-size:1em}button,input,optgroup,select,textarea{margin:0;font:inherit;color:inherit}.glyphicon,address,cite{font-style:normal}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}@media print{blockquote,img,pre,tr{page-break-inside:avoid}*{color:#000!important;text-shadow:none!important;background:0 0!important;-webkit-box-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{border:1px solid #999}thead{display:table-header-group}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}select{background:#fff!important}.navbar{display:none}.table td,.table th{background-color:#fff!important}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}.dropdown-menu,.modal-content{-webkit-background-clip:padding-box}.btn,.btn-danger.active,.btn-danger:active,.btn-default.active,.btn-default:active,.btn-info.active,.btn-info:active,.btn-primary.active,.btn-primary:active,.btn-warning.active,.btn-warning:active,.btn.active,.btn:active,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover,.form-control,.navbar-toggle,.open>.dropdown-toggle.btn-danger,.open>.dropdown-toggle.btn-default,.open>.dropdown-toggle.btn-info,.open>.dropdown-toggle.btn-primary,.open>.dropdown-toggle.btn-warning{background-image:none}.img-thumbnail,body{background-color:#fff}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{Line truncated
|
|
||||||
Vendored
-15
@@ -1,16 +1 @@
|
|||||||
/**
|
|
||||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
@charset "utf-8";.article-date,.article-tags,.article-title,.footer{text-align:center}.footer,.header{background-color:#f9f9f9}body,button,input,select,textarea{font:400 1em/1.8 Avenir,Microsoft Yahei,Hiragino Sans GB,Microsoft Sans Serif,WenQuanYi Micro Hei,sans-serif;letter-spacing:.01rem}.site{padding:0 2em;margin:0 auto;font-size:16px}h4,h5,h6{font-weight:700}.article{margin-bottom:90px}.article-tags{font-size:14px}.article-date{font-size:12px;margin-top:6px;margin-bottom:12px}.article-content{font-size:1.1em}.article-content img{max-width:100%}.header{border-bottom:1px solid #ddd;margin-bottom:20px}.nav-item{position:relative;display:inline-block;padding:10px;font-weight:500}.comment{margin-bottom:32px}.comment p{margin-bottom:0}#captcha,#captchaReply,#emotions span,#emotionsReply span,.form-control{margin-top:15px}.cmtFromSym{font-size:12px;color:#ccc;margin-bottom:1em}.cmtForm{margin-top:24px}.gray{color:#ccc}.em00,.em01,.em02,.em03,.em04,.em05,.em06,.em07,.em08,.em09,.em10,.em11,.em12,.em13,.em14{cursor:pointer;background-image:url(../images/emotions/emotions.png);float:left;height:24px;margin-right:5px;width:24px;transition:all .2s ease-out;-webkit-transition:all .2s ease-out;-moz-transition:all .2s ease-out}#emotions span:hover{transform:scale(1.2) rotate(360deg);-webkit-transform:scale(1.2) rotate(360deg);-moz-transform:scale(1.2) rotate(360deg)}.em01{background-position:-24px 0}.em02{background-position:-48px 0}.em03{background-position:-72px 0}.em04{background-position:-96px 1px}.em05{background-position:0 -24px}.em06{background-position:-24px -24px}.em07{background-position:-48px -24px}.em08{background-position:-72px -24px}.em09{background-position:-96px -24px}.em10{background-position:0 -48px}.em11{background-position:-24px -48px}.em12{background-position:-48px -48px}.em13{background-position:-72px -48px}.em14{background-position:-96px -48px}.footer{padding:40px 0;margin-top:20px;color:#999;border-top:1px solid #e5e5e5}.article-relative{margin-top:48px}.right{float:right}
|
@charset "utf-8";.article-date,.article-tags,.article-title,.footer{text-align:center}.footer,.header{background-color:#f9f9f9}body,button,input,select,textarea{font:400 1em/1.8 Avenir,Microsoft Yahei,Hiragino Sans GB,Microsoft Sans Serif,WenQuanYi Micro Hei,sans-serif;letter-spacing:.01rem}.site{padding:0 2em;margin:0 auto;font-size:16px}h4,h5,h6{font-weight:700}.article{margin-bottom:90px}.article-tags{font-size:14px}.article-date{font-size:12px;margin-top:6px;margin-bottom:12px}.article-content{font-size:1.1em}.article-content img{max-width:100%}.header{border-bottom:1px solid #ddd;margin-bottom:20px}.nav-item{position:relative;display:inline-block;padding:10px;font-weight:500}.comment{margin-bottom:32px}.comment p{margin-bottom:0}#captcha,#captchaReply,#emotions span,#emotionsReply span,.form-control{margin-top:15px}.cmtFromSym{font-size:12px;color:#ccc;margin-bottom:1em}.cmtForm{margin-top:24px}.gray{color:#ccc}.em00,.em01,.em02,.em03,.em04,.em05,.em06,.em07,.em08,.em09,.em10,.em11,.em12,.em13,.em14{cursor:pointer;background-image:url(../images/emotions/emotions.png);float:left;height:24px;margin-right:5px;width:24px;transition:all .2s ease-out;-webkit-transition:all .2s ease-out;-moz-transition:all .2s ease-out}#emotions span:hover{transform:scale(1.2) rotate(360deg);-webkit-transform:scale(1.2) rotate(360deg);-moz-transform:scale(1.2) rotate(360deg)}.em01{background-position:-24px 0}.em02{background-position:-48px 0}.em03{background-position:-72px 0}.em04{background-position:-96px 1px}.em05{background-position:0 -24px}.em06{background-position:-24px -24px}.em07{background-position:-48px -24px}.em08{background-position:-72px -24px}.em09{background-position:-96px -24px}.em10{background-position:0 -48px}.em11{background-position:-24px -48px}.em12{background-position:-48px -48px}.em13{background-position:-72px -48px}.em14{background-position:-96px -48px}.footer{padding:40px 0;margin-top:20px;color:#999;border-top:1px solid #e5e5e5}.article-relative{margin-top:48px}.right{float:right}
|
||||||
Vendored
-15
@@ -1,16 +1 @@
|
|||||||
/*
|
|
||||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(void 0!==t.style[i])return{end:e[i]};return!1}t.fn.emulateTransitionEnd=function(e){var i=!1,o=this;t(this).one("bsTransitionEnd",function(){i=!0});var s=function(){i||t(o).trigger(t.support.transition.end)};return setTimeout(s,e),this},t(function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){return t(e.target).is(this)?e.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),s=i.data("bs.alert");s||i.data("bs.alert",s=new o(this)),"string"==typeof e&&s[e].call(i)})}var i='[data-dismiss="alert"]',o=function(e){t(e).on("click",i,this.close)};o.VERSION="3.2.0",o.prototype.close=function(e){function i(){n.detach().trigger("closed.bs.alert").remove()}var o=t(this),s=o.attr("data-target");s||(s=o.attr("href"),s=s&&s.replace(/.*(?=#[^\s]*$)/,""));var n=t(s);e&&e.preventDefault(),n.length||(n=o.hasClass("alert")?o:o.parent()),n.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(n.removeClass("in"),t.support.transition&&n.hasClass("fade")?n.one("bsTransitionEnd",i).emulateTransitionEnd(150):i())};var s=t.fn.alert;t.fn.alert=e,t.fn.alert.Constructor=o,t.fn.alert.noConflict=function(){return t.fn.alert=s,this},t(document).on("click.bs.alert.data-api",i,o.prototype.close)}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var o=t(this),s=o.data("bs.button"),n="object"==typeof e&&e;s||o.data("bs.button",s=new i(this,n)),"toggle"==e?s.toggle():e&&s.setState(e)})}var i=function(e,o){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,o),this.isLoading=!1};i.VERSION="3.2.0",i.DEFAULTS={loadingText:"loading..."},i.prototype.setState=function(e){var i="disabled",o=this.$element,s=o.is("input")?"val":"html",n=o.data();e+="Text",null==n.resetText&&o.data("resetText",o[s]()),o[s](null==n[e]?this.options[e]:n[e]),setTimeout(t.proxy(function(){"loadingText"==e?(this.isLoading=!0,o.addClass(i).attr(i,i)):this.isLoading&&(this.isLoading=!1,o.removeClass(i).removeAttr(i))},this),0)},i.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var i=this.$element.find("input");"radio"==i.prop("type")&&(i.prop("checked")&&this.$element.hasClass("active")?t=!1:e.find(".active").removeClass("active")),t&&i.prop("checked",!this.$element.hasClass("active")).trigger("change")}t&&this.$element.toggleClass("active")};var o=t.fn.button;t.fn.button=e,t.fn.button.Constructor=i,t.fn.button.noConflict=function(){return t.fn.button=o,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(i){var o=t(i.target);o.hasClass("btn")||(o=o.closest(".btn")),e.call(o,"toggle"),i.preventDefault()})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var o=t(this),s=o.data("bs.carousel"),n=t.extend({},i.DEFAULTS,o.data(),"object"==typeof e&&e),r="string"==typeof e?e:n.slide;s||o.data("bs.carousel",s=new i(this,n)),"number"==typeof e?s.to(e):r?s[r]():n.interval&&s.pause().cycle()})}var i=function(e,i){this.$element=t(e).on("keydown.bs.carousel",t.proxy(this.keydown,this)),this.$indicators=this.$element.find(".carousel-indicators"),this.options=i,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};i.VERSION="3.2.0",i.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},i.prototype.keydown=function(t){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()},i.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},i.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},i.prototype.to=function(e){var i=this,o=this.getItemIndex(this.$active=this.$element.find(".item.active"));return e>this.$items.length-1||0>e?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){i.to(e)}):o==e?this.pause().cycle():this.slide(e>o?"next":"prev",t(this.$items[e]))},i.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},i.prototype.next=function(){return this.sliding?void 0:this.slide("next")},i.Line truncated
|
if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(void 0!==t.style[i])return{end:e[i]};return!1}t.fn.emulateTransitionEnd=function(e){var i=!1,o=this;t(this).one("bsTransitionEnd",function(){i=!0});var s=function(){i||t(o).trigger(t.support.transition.end)};return setTimeout(s,e),this},t(function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){return t(e.target).is(this)?e.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),s=i.data("bs.alert");s||i.data("bs.alert",s=new o(this)),"string"==typeof e&&s[e].call(i)})}var i='[data-dismiss="alert"]',o=function(e){t(e).on("click",i,this.close)};o.VERSION="3.2.0",o.prototype.close=function(e){function i(){n.detach().trigger("closed.bs.alert").remove()}var o=t(this),s=o.attr("data-target");s||(s=o.attr("href"),s=s&&s.replace(/.*(?=#[^\s]*$)/,""));var n=t(s);e&&e.preventDefault(),n.length||(n=o.hasClass("alert")?o:o.parent()),n.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(n.removeClass("in"),t.support.transition&&n.hasClass("fade")?n.one("bsTransitionEnd",i).emulateTransitionEnd(150):i())};var s=t.fn.alert;t.fn.alert=e,t.fn.alert.Constructor=o,t.fn.alert.noConflict=function(){return t.fn.alert=s,this},t(document).on("click.bs.alert.data-api",i,o.prototype.close)}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var o=t(this),s=o.data("bs.button"),n="object"==typeof e&&e;s||o.data("bs.button",s=new i(this,n)),"toggle"==e?s.toggle():e&&s.setState(e)})}var i=function(e,o){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,o),this.isLoading=!1};i.VERSION="3.2.0",i.DEFAULTS={loadingText:"loading..."},i.prototype.setState=function(e){var i="disabled",o=this.$element,s=o.is("input")?"val":"html",n=o.data();e+="Text",null==n.resetText&&o.data("resetText",o[s]()),o[s](null==n[e]?this.options[e]:n[e]),setTimeout(t.proxy(function(){"loadingText"==e?(this.isLoading=!0,o.addClass(i).attr(i,i)):this.isLoading&&(this.isLoading=!1,o.removeClass(i).removeAttr(i))},this),0)},i.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var i=this.$element.find("input");"radio"==i.prop("type")&&(i.prop("checked")&&this.$element.hasClass("active")?t=!1:e.find(".active").removeClass("active")),t&&i.prop("checked",!this.$element.hasClass("active")).trigger("change")}t&&this.$element.toggleClass("active")};var o=t.fn.button;t.fn.button=e,t.fn.button.Constructor=i,t.fn.button.noConflict=function(){return t.fn.button=o,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(i){var o=t(i.target);o.hasClass("btn")||(o=o.closest(".btn")),e.call(o,"toggle"),i.preventDefault()})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var o=t(this),s=o.data("bs.carousel"),n=t.extend({},i.DEFAULTS,o.data(),"object"==typeof e&&e),r="string"==typeof e?e:n.slide;s||o.data("bs.carousel",s=new i(this,n)),"number"==typeof e?s.to(e):r?s[r]():n.interval&&s.pause().cycle()})}var i=function(e,i){this.$element=t(e).on("keydown.bs.carousel",t.proxy(this.keydown,this)),this.$indicators=this.$element.find(".carousel-indicators"),this.options=i,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};i.VERSION="3.2.0",i.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},i.prototype.keydown=function(t){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()},i.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},i.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},i.prototype.to=function(e){var i=this,o=this.getItemIndex(this.$active=this.$element.find(".item.active"));return e>this.$items.length-1||0>e?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){i.to(e)}):o==e?this.pause().cycle():this.slide(e>o?"next":"prev",t(this.$items[e]))},i.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},i.prototype.next=function(){return this.sliding?void 0:this.slide("next")},i.Line truncated
|
||||||
Vendored
-15
@@ -1,16 +1 @@
|
|||||||
/**
|
|
||||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
@charset "utf-8";.article-date,.article-title,.comment-title{background-color:#E3E3FF}.article-abstract,.comment-body{word-wrap:break-word}#logoTitle,#sideNavi a.selected,#tagsPanel .tagPanel,.article-details-footer a,.article-footer a,.side-comment{text-decoration:none}.article-date,.footer,.pagination{text-align:center}a,a:link{color:#00C}a:active{color:red}a:visited{color:#551A8B}h5{font-size:12px}.content{margin:0 auto;max-width:1250px;padding:0 12px}.header{height:108px}.sub-title{font-size:14px;font-weight:400}.side{border-left:2px solid #E5ECF9;padding-left:12px;width:280px}.main{margin-right:-294px;width:100%}.main>div{min-width:280px;padding-right:318px}#logoTitle{font-family:"Microsoft YaHei";font-size:32px;line-height:64px}#statistic span{font-size:11px}.article,.comments{padding-bottom:24px}.article-title{border-top:1px solid #36C;margin-left:91px;padding:3px 0 6px 12px}.article-title sup{font-size:12px}.article-date{border:1px solid #BCF;float:left;margin:0 12px 12px 0;border-radius:5px;padding:7px 3px;width:70px;word-break:break-all}.article-body{margin-left:12px;line-height:145%}.article-footer{margin-right:12px}.article-details-footer{margin:36px 12px 0 0}.article-relative{line-height:22px;margin-top:24px}.comments{position:relative}.comment-title{border-top:1px solid #36C;padding:3px 12px}.comment-body-ref{background-color:#FFF;border:1px solid #E3E3FF;filter:alpha(opacity=90);left:88px;opacity:.9;position:absolute;top:27px;width:87%;z-index:10}.comment-body-ref .comment-title{border-top:0}.comment-body{padding:9px 12px 12px;overflow:hidden}.comment-picture{margin-right:12px}.comment-picture img{height:60px;width:60px}.comment-reply{margin:0 auto 24px}.comment-content{float:left;width:88%}#commentURL:focus,#commentURLReply:focus{box-shadow:-3px 1px 2px rgba(0,0,0,.3) inset}.error-msg{color:#36C}.error-footer{bottom:0;position:fixed;width:82%}#sideNavi a.selected{color:#000}.side-navi ul{list-style:none}#sideNavi li{line-height:22px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-o-text-overflow:ellipsis}#sideNavi li.aboutMe,#sideNavi li.side-navi-notice{white-space:normal}#sideNavi sup{margin-right:3px;color:green}#recentComments p{display:inline}#recentComments br,#recentComments div{display:none}.line{border-top:thin dotted #BBB;margin-top:12px;padding-top:12px}.pagination{margin:16px}.pagination a,.pagination a:visited{color:#4272DB;padding:0 3px;text-decoration:none}.pagination a.selected{color:#000;font-weight:700}#tagsPanel .tagPanel{border:2px solid;cursor:pointer;float:left;margin:3px;border-radius:6px}#tagsPanel .tagPanel:hover{background-color:#EEE;border:2px dashed}.error-title{border-top:1px solid #36C;background-color:#E5ECF9;margin-left:12px;padding:6px 12px}.error-panel{margin-left:12px;padding:24px}.browserIcon,.commentIcon{background-image:url(../../../images/icon.png);cursor:pointer;height:16px;margin-right:3px;width:16px}.commentIcon{background-position:-32px -16px}.browserIcon{background-position:-128px -16px}.goTopIcon{background-position:-128px -32px}.goBottomIcon{background-position:-144px -32px}.footer{margin:30px 0}
|
@charset "utf-8";.article-date,.article-title,.comment-title{background-color:#E3E3FF}.article-abstract,.comment-body{word-wrap:break-word}#logoTitle,#sideNavi a.selected,#tagsPanel .tagPanel,.article-details-footer a,.article-footer a,.side-comment{text-decoration:none}.article-date,.footer,.pagination{text-align:center}a,a:link{color:#00C}a:active{color:red}a:visited{color:#551A8B}h5{font-size:12px}.content{margin:0 auto;max-width:1250px;padding:0 12px}.header{height:108px}.sub-title{font-size:14px;font-weight:400}.side{border-left:2px solid #E5ECF9;padding-left:12px;width:280px}.main{margin-right:-294px;width:100%}.main>div{min-width:280px;padding-right:318px}#logoTitle{font-family:"Microsoft YaHei";font-size:32px;line-height:64px}#statistic span{font-size:11px}.article,.comments{padding-bottom:24px}.article-title{border-top:1px solid #36C;margin-left:91px;padding:3px 0 6px 12px}.article-title sup{font-size:12px}.article-date{border:1px solid #BCF;float:left;margin:0 12px 12px 0;border-radius:5px;padding:7px 3px;width:70px;word-break:break-all}.article-body{margin-left:12px;line-height:145%}.article-footer{margin-right:12px}.article-details-footer{margin:36px 12px 0 0}.article-relative{line-height:22px;margin-top:24px}.comments{position:relative}.comment-title{border-top:1px solid #36C;padding:3px 12px}.comment-body-ref{background-color:#FFF;border:1px solid #E3E3FF;filter:alpha(opacity=90);left:88px;opacity:.9;position:absolute;top:27px;width:87%;z-index:10}.comment-body-ref .comment-title{border-top:0}.comment-body{padding:9px 12px 12px;overflow:hidden}.comment-picture{margin-right:12px}.comment-picture img{height:60px;width:60px}.comment-reply{margin:0 auto 24px}.comment-content{float:left;width:88%}#commentURL:focus,#commentURLReply:focus{box-shadow:-3px 1px 2px rgba(0,0,0,.3) inset}.error-msg{color:#36C}.error-footer{bottom:0;position:fixed;width:82%}#sideNavi a.selected{color:#000}.side-navi ul{list-style:none}#sideNavi li{line-height:22px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-o-text-overflow:ellipsis}#sideNavi li.aboutMe,#sideNavi li.side-navi-notice{white-space:normal}#sideNavi sup{margin-right:3px;color:green}#recentComments p{display:inline}#recentComments br,#recentComments div{display:none}.line{border-top:thin dotted #BBB;margin-top:12px;padding-top:12px}.pagination{margin:16px}.pagination a,.pagination a:visited{color:#4272DB;padding:0 3px;text-decoration:none}.pagination a.selected{color:#000;font-weight:700}#tagsPanel .tagPanel{border:2px solid;cursor:pointer;float:left;margin:3px;border-radius:6px}#tagsPanel .tagPanel:hover{background-color:#EEE;border:2px dashed}.error-title{border-top:1px solid #36C;background-color:#E5ECF9;margin-left:12px;padding:6px 12px}.error-panel{margin-left:12px;padding:24px}.browserIcon,.commentIcon{background-image:url(../../../images/icon.png);cursor:pointer;height:16px;margin-right:3px;width:16px}.commentIcon{background-position:-32px -16px}.browserIcon{background-position:-128px -16px}.goTopIcon{background-position:-128px -32px}.goBottomIcon{background-position:-144px -32px}.footer{margin:30px 0}
|
||||||
Vendored
-15
@@ -1,16 +1 @@
|
|||||||
/**
|
|
||||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
@charset "utf-8";#comments .comment-panel .reply a,input[type=button]{box-shadow:0 1px 0 rgba(255,255,255,.3) inset,0 0 2px rgba(255,255,255,.3) inset,0 1px 2px rgba(0,0,0,.29)}.article-footer ul,.article-header ul,.footer-block ul,.header-navi-main .tabs{list-style:none}body{background-color:#EFEFEF;color:#555;min-width:960px}a,a:active,a:link,a:visited{color:#000;text-decoration:none}a:hover{text-decoration:underline}.content{width:940px;margin:0 auto}.content>h2{margin:-20px 0 20px}.hr{background:url(../images/indentline-light.png) left top repeat-x;margin:20px 0 40px;clear:both;height:2px}.arrow-right{background:url(../images/icon.png) 0 -64px no-repeat;float:left;height:38px;width:14px}input[type=button]{border-radius:5px;background-color:#000;background-image:linear-gradient(top,#333,#000);background-image:-moz-linear-gradient(top,#333,#000);background-image:-ms-linear-gradient(top,#333,#000);background-image:-o-linear-gradient(top,#333,#000);background-image:-webkit-gradient(linear,left top,left bottom,from(#333),to(#000));filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#000000');border:1px solid #000;color:#fff;margin:15px 0 0 200px;padding:7px 13px;height:auto}input[type=button]:hover{background-color:#333;background-image:linear-gradient(top,#333,#212121);background-image:-moz-linear-gradient(top,#333,#212121);background-image:-ms-linear-gradient(top,#333,#212121);background-image:-o-linear-gradient(top,#333,#212121);background-image:-webkit-gradient(linear,left top,left bottom,from(#333),to(#212121));filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#212121')}.marginBottom40{margin-bottom:40px}.header-user{background-color:#DEDEDE;padding-top:1px}.header-navi{background:url(../images/icon.png) 0 -130px repeat-x #333;margin-bottom:50px}a.header-title{color:#FFF;text-decoration:none;line-height:49px;font:700 35px/53px '微软雅黑,Arial,Helvetica'}.sub-title{color:#9BC4CE;margin-left:10px}.header-navi-main .tabs{height:57px}.header-navi-main .tab{float:left;font-size:16px;margin-left:1px;height:57px}.header-navi-main .tab:hover{background:url(../images/icon.png) 0 -130px repeat-x #9BC4CE}#header-pages{position:relative}.header-navi-main .tab a{color:#FFF;display:block;font-weight:700;line-height:22px;padding:19px 16px 16px;text-decoration:none}#header-pages:hover .sub-tabs{left:0;list-style:none;position:absolute;top:57px;display:block}.header-navi-main .sub-tab{background-color:#9BC4CE;border-bottom:1px solid #76A0AA;border-top:1px solid #B4D9E2;margin-left:0}.header-navi-main .sub-tab a{min-width:98px;padding:0 16px;line-height:42px;font-size:14px}.header-navi-main .sub-tab:hover{background-color:#76A0AA}.article-header{color:#9F9F9F;float:left;font-size:12px;padding-top:15px;width:180px}.article-header ul{background-color:#333;width:160px}.article-header ul li{background:url(../images/indentline.png) left bottom repeat-x;font-weight:700;padding:7px 15px 8px;margin-left:0}.article-header ul li a{color:#FFF;display:block}.article-main{background-color:#FFF;border-bottom:1px solid #E3E3E3;border-right:1px solid #E3E3E3;margin-right:20px;padding:20px 20px 0;width:499px;float:left;overflow:hidden}.article-body{line-height:145%}.article-body a{color:#075181}.article-body a:hover{color:#68ADD5}.article-main h2.title{font:700 30px Arial,Helvetica,sans-serif;margin:0 0 20px}.article-main h2.title sup,.read-more a{font-size:12px}.article-detail-footer>a,.pagination a.selected{font-weight:700}.read-more a{background-color:#F2F2F2;color:#333;padding:8px 18px 8px 12px;margin:20px 0;float:left}.article-footer{width:200px;float:left}.article-footer h3{background:url(../images/indentline-light.png) left bottom repeat-x;font-size:17px;padding:25px 0 10px}.article-footer li{margin-left:0;border-bottom:1px solid #E0E0E0;padding:8px 5px}#comments .comment-panel,.article-detail-footer,.pagination{border-bottom:1px solid #E3E3E3;border-right:1px solid #E3E3E3}.article-footer a{color:#888;margin-bottom:2px;display:block}.pagination{background-color:#FFF;margin:0 0 20px 181px;text-align:center;padding:12px 20px;width:499px}.pagination a{color:#555;padding:0 3px;text-decoration:none}.pagination a.selected,.pagination a:hover{text-decoration:underline}.article-detail-body{width:716px;margin-right:0}#replyForm,.article-detail-body .tags{margin:20px 0}.article-detail-footer{background-color:#FFF;margin:40px 0 40px 181px;padding:20px;width:716px}.article-relative{margin-top:20px;width:360px}.article-relative h4{font-size:14px;line-height:25px}.article-relative a{color:#555;line-height:145%}#comments{background:url(../images/indentline-light.png) left top repeat-x;padding-top:30px;position:relative}#comments>div{margin-top:10px}#comments>div>img{margin:1px 10px 10px 0}#comments .comment-panel{background:#FFF;padding:20px;width:798px;margin-bottom:10px;word-wrap:break-word;overflow:hidden}#comments .comment-top{margin-bottom:10px}#comments .commenLine truncated
|
@charset "utf-8";#comments .comment-panel .reply a,input[type=button]{box-shadow:0 1px 0 rgba(255,255,255,.3) inset,0 0 2px rgba(255,255,255,.3) inset,0 1px 2px rgba(0,0,0,.29)}.article-footer ul,.article-header ul,.footer-block ul,.header-navi-main .tabs{list-style:none}body{background-color:#EFEFEF;color:#555;min-width:960px}a,a:active,a:link,a:visited{color:#000;text-decoration:none}a:hover{text-decoration:underline}.content{width:940px;margin:0 auto}.content>h2{margin:-20px 0 20px}.hr{background:url(../images/indentline-light.png) left top repeat-x;margin:20px 0 40px;clear:both;height:2px}.arrow-right{background:url(../images/icon.png) 0 -64px no-repeat;float:left;height:38px;width:14px}input[type=button]{border-radius:5px;background-color:#000;background-image:linear-gradient(top,#333,#000);background-image:-moz-linear-gradient(top,#333,#000);background-image:-ms-linear-gradient(top,#333,#000);background-image:-o-linear-gradient(top,#333,#000);background-image:-webkit-gradient(linear,left top,left bottom,from(#333),to(#000));filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#000000');border:1px solid #000;color:#fff;margin:15px 0 0 200px;padding:7px 13px;height:auto}input[type=button]:hover{background-color:#333;background-image:linear-gradient(top,#333,#212121);background-image:-moz-linear-gradient(top,#333,#212121);background-image:-ms-linear-gradient(top,#333,#212121);background-image:-o-linear-gradient(top,#333,#212121);background-image:-webkit-gradient(linear,left top,left bottom,from(#333),to(#212121));filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#212121')}.marginBottom40{margin-bottom:40px}.header-user{background-color:#DEDEDE;padding-top:1px}.header-navi{background:url(../images/icon.png) 0 -130px repeat-x #333;margin-bottom:50px}a.header-title{color:#FFF;text-decoration:none;line-height:49px;font:700 35px/53px '微软雅黑,Arial,Helvetica'}.sub-title{color:#9BC4CE;margin-left:10px}.header-navi-main .tabs{height:57px}.header-navi-main .tab{float:left;font-size:16px;margin-left:1px;height:57px}.header-navi-main .tab:hover{background:url(../images/icon.png) 0 -130px repeat-x #9BC4CE}#header-pages{position:relative}.header-navi-main .tab a{color:#FFF;display:block;font-weight:700;line-height:22px;padding:19px 16px 16px;text-decoration:none}#header-pages:hover .sub-tabs{left:0;list-style:none;position:absolute;top:57px;display:block}.header-navi-main .sub-tab{background-color:#9BC4CE;border-bottom:1px solid #76A0AA;border-top:1px solid #B4D9E2;margin-left:0}.header-navi-main .sub-tab a{min-width:98px;padding:0 16px;line-height:42px;font-size:14px}.header-navi-main .sub-tab:hover{background-color:#76A0AA}.article-header{color:#9F9F9F;float:left;font-size:12px;padding-top:15px;width:180px}.article-header ul{background-color:#333;width:160px}.article-header ul li{background:url(../images/indentline.png) left bottom repeat-x;font-weight:700;padding:7px 15px 8px;margin-left:0}.article-header ul li a{color:#FFF;display:block}.article-main{background-color:#FFF;border-bottom:1px solid #E3E3E3;border-right:1px solid #E3E3E3;margin-right:20px;padding:20px 20px 0;width:499px;float:left;overflow:hidden}.article-body{line-height:145%}.article-body a{color:#075181}.article-body a:hover{color:#68ADD5}.article-main h2.title{font:700 30px Arial,Helvetica,sans-serif;margin:0 0 20px}.article-main h2.title sup,.read-more a{font-size:12px}.article-detail-footer>a,.pagination a.selected{font-weight:700}.read-more a{background-color:#F2F2F2;color:#333;padding:8px 18px 8px 12px;margin:20px 0;float:left}.article-footer{width:200px;float:left}.article-footer h3{background:url(../images/indentline-light.png) left bottom repeat-x;font-size:17px;padding:25px 0 10px}.article-footer li{margin-left:0;border-bottom:1px solid #E0E0E0;padding:8px 5px}#comments .comment-panel,.article-detail-footer,.pagination{border-bottom:1px solid #E3E3E3;border-right:1px solid #E3E3E3}.article-footer a{color:#888;margin-bottom:2px;display:block}.pagination{background-color:#FFF;margin:0 0 20px 181px;text-align:center;padding:12px 20px;width:499px}.pagination a{color:#555;padding:0 3px;text-decoration:none}.pagination a.selected,.pagination a:hover{text-decoration:underline}.article-detail-body{width:716px;margin-right:0}#replyForm,.article-detail-body .tags{margin:20px 0}.article-detail-footer{background-color:#FFF;margin:40px 0 40px 181px;padding:20px;width:716px}.article-relative{margin-top:20px;width:360px}.article-relative h4{font-size:14px;line-height:25px}.article-relative a{color:#555;line-height:145%}#comments{background:url(../images/indentline-light.png) left top repeat-x;padding-top:30px;position:relative}#comments>div{margin-top:10px}#comments>div>img{margin:1px 10px 10px 0}#comments .comment-panel{background:#FFF;padding:20px;width:798px;margin-bottom:10px;word-wrap:break-word;overflow:hidden}#comments .comment-top{margin-bottom:10px}#comments .commenLine truncated
|
||||||
Vendored
-15
@@ -1,16 +1 @@
|
|||||||
/**
|
|
||||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
.footer,sup{-webkit-text-size-adjust:none}a,input,textarea{outline:0}#goTop,.article-next,.article-title span,.form img,.translate-ico{cursor:pointer}.article-relative ul,.dynamic ul,.nav ul,.wrapper>ul{list-style:none}body,div,html,li,ul{margin:0;padding:0}body{font-family:Verdana,arial,'\5fae\8f6f\96c5\9ed1';font-size:12px;background-color:#FCFCFC}::selection{background-color:#D5D5D5;color:#FCFCFC}::-moz-selection{background-color:#D5D5D5;color:#FCFCFC}a{color:#009EB8;text-decoration:none}a:visited{color:#00b4d2}a:hover{text-decoration:underline}a:active{color:#00889f}img{vertical-align:middle;border:0}sup{font-size:10px;font-weight:400}.left{float:left}.right{float:right}.clear{background-color:transparent;border:0;clear:both;display:block;font-size:0;height:0;line-height:0;overflow:hidden}.none{display:none}.ft-gray{color:grey}.ft-gray:visited{color:#9a9a9a}.ft-gray:hover{color:#676767;text-decoration:none}.fn-mgtb10{margin:10px 0}.logo{padding:0 5px;text-shadow:0 0 1px #D5D5D5}.em00,.em01,.em02,.em03,.em04,.em05,.em06,.em07,.em08,.em09,.em10,.em11,.em12,.em13,.em14{cursor:pointer;background-image:url(../images/emotions/emotions-ease.png);float:left;height:24px;margin-right:5px;width:24px;transition:all .2s ease-out;-webkit-transition:all .2s ease-out;-moz-transition:all .2s ease-out}#search,.translate-ico{background-repeat:no-repeat;float:right}#emotions span:hover{transform:scale(1.2) rotate(360deg);-webkit-transform:scale(1.2) rotate(360deg);-moz-transform:scale(1.2) rotate(360deg)}.em01{background-position:-24px 0}.em02{background-position:-48px 0}.em03{background-position:-72px 0}.em04{background-position:-96px 1px}.em05{background-position:0 -24px}.em06{background-position:-24px -24px}.em07{background-position:-48px -24px}.em08{background-position:-72px -24px}.em09{background-position:-96px -24px}.em10{background-position:0 -48px}.em11{background-position:-24px -48px}.em12{background-position:-48px -48px}.em13{background-position:-72px -48px}.em14{background-position:-96px -48px}#search,.translate-ico{background-image:url(/skins/ease/images/icons.png)}.translate-ico{background-position:1px -125px;border:1px solid #D5D5D5;border-radius:3px;height:16px;margin:-3px 0 0 15px;padding:1px;width:16px}.translate-ico:hover{border-color:#9a9a9a;box-shadow:0 0 1px grey;background-color:#FCFCFC}#search,.main{background-color:#FFF}.wrapper{margin:0 auto;width:990px}.main{padding-bottom:50px}.header{width:100%;z-index:1}.header .title{border-bottom:1px solid grey;font-size:26px;font-weight:400}.header .sub-title{font-size:11px}#search,.nav a{font-size:14px}#search{background-position:7px -99px;border:1px solid #D5D5D5;border-radius:2px;box-shadow:0 1px 1px rgba(0,0,0,.1) inset;color:grey;height:19px;line-height:145%;padding:4px 10px 4px 28px;width:24px;-moz-transition:width .4s ease,background .4s ease;-webkit-transition:width .4s ease,background .4s ease;transition:width .4s ease,background .4s ease}#search:focus{width:150px}.banner{margin-bottom:20px}.banner .notice{float:left;margin:20px 0 0 50px}.nav{background-color:#2C2C2C;box-shadow:0 2px 2px #D5D5D5,0 3px 3px -3px #D5D5D5 inset;border-top:1px solid #e2e2e2;border-bottom:1px solid #e2e2e2;height:29px;top:0;width:100%;z-index:1}.nav li,.nav ul{float:left}.nav a{color:#C9C9C9;display:block;float:left;font-weight:700;line-height:29px;margin-right:20px;padding:0 10px;text-decoration:none;transition:color .4s ease,background-color .8s ease;-webkit-transition:color .4s ease,background-color .8s ease;-moz-transition:color .4s ease,background-color .8s ease}#goTop,.footer{font-size:11px}.nav a:hover{color:#FFF;background-color:#535353}.nav a.current{background-color:#FFF;box-shadow:0 -1px 1px rgba(0,0,0,.1) inset,0 1px 1px rgba(0,0,0,.1) inset;color:grey}.nav img{margin-left:3px}.footer{border-top:1px solid #D5D5D5;box-shadow:0 -1px 1px #D5D5D5;padding:12px 0}#goTop{background:url(/skins/ease/images/icons.png) 5px -51px no-repeat #D5D5D5;border-radius:2px 2px 0 0;box-shadow:0 0 3px #D5D5D5;height:21px;line-height:21px;padding:0 10px 0 23px;position:absolute;right:50px;display:none}#goTop:hover{background-color:#c8c8c8;box-shadow:0 0 3px #c8c8c8}.main>.wrapper>h2{margin:0;padding:14px 0}.article{border-bottom:1px solid #f6f6f6;padding:30px 50px}.article:hover{border-bottom-color:#ddd;box-shadow:0 0 1px #f6f6f6 inset;background-color:#FCFCFC}.article-body{line-height:145%;overflow:hidden;word-wrap:break-word;margin-bottom:10px;font-size:14px}.article-body ol,.article-body ul{margin-left:40px;padding-left:0}.article-body a{color:grey;text-decoration:underline}.article-body a:vidited{color:#9a9a9a}.article-body a:hover{color:#676767}.article-body>div{min-height:32px}.article-title h2{display:inline}.article-last:hover{border-bottom:1px solid #f6f6f6}.article-next{border:1px solid #eee;background-color:#F9F9F9;font-size:14px;line-height:36px;text-align:center}.article-next:hover,.article-relative{background-color:#FCFCFC}.article-relative{box-shadow:0 0 2px #D5D5D5;Line truncated
|
.footer,sup{-webkit-text-size-adjust:none}a,input,textarea{outline:0}#goTop,.article-next,.article-title span,.form img,.translate-ico{cursor:pointer}.article-relative ul,.dynamic ul,.nav ul,.wrapper>ul{list-style:none}body,div,html,li,ul{margin:0;padding:0}body{font-family:Verdana,arial,'\5fae\8f6f\96c5\9ed1';font-size:12px;background-color:#FCFCFC}::selection{background-color:#D5D5D5;color:#FCFCFC}::-moz-selection{background-color:#D5D5D5;color:#FCFCFC}a{color:#009EB8;text-decoration:none}a:visited{color:#00b4d2}a:hover{text-decoration:underline}a:active{color:#00889f}img{vertical-align:middle;border:0}sup{font-size:10px;font-weight:400}.left{float:left}.right{float:right}.clear{background-color:transparent;border:0;clear:both;display:block;font-size:0;height:0;line-height:0;overflow:hidden}.none{display:none}.ft-gray{color:grey}.ft-gray:visited{color:#9a9a9a}.ft-gray:hover{color:#676767;text-decoration:none}.fn-mgtb10{margin:10px 0}.logo{padding:0 5px;text-shadow:0 0 1px #D5D5D5}.em00,.em01,.em02,.em03,.em04,.em05,.em06,.em07,.em08,.em09,.em10,.em11,.em12,.em13,.em14{cursor:pointer;background-image:url(../images/emotions/emotions-ease.png);float:left;height:24px;margin-right:5px;width:24px;transition:all .2s ease-out;-webkit-transition:all .2s ease-out;-moz-transition:all .2s ease-out}#search,.translate-ico{background-repeat:no-repeat;float:right}#emotions span:hover{transform:scale(1.2) rotate(360deg);-webkit-transform:scale(1.2) rotate(360deg);-moz-transform:scale(1.2) rotate(360deg)}.em01{background-position:-24px 0}.em02{background-position:-48px 0}.em03{background-position:-72px 0}.em04{background-position:-96px 1px}.em05{background-position:0 -24px}.em06{background-position:-24px -24px}.em07{background-position:-48px -24px}.em08{background-position:-72px -24px}.em09{background-position:-96px -24px}.em10{background-position:0 -48px}.em11{background-position:-24px -48px}.em12{background-position:-48px -48px}.em13{background-position:-72px -48px}.em14{background-position:-96px -48px}#search,.translate-ico{background-image:url(/skins/ease/images/icons.png)}.translate-ico{background-position:1px -125px;border:1px solid #D5D5D5;border-radius:3px;height:16px;margin:-3px 0 0 15px;padding:1px;width:16px}.translate-ico:hover{border-color:#9a9a9a;box-shadow:0 0 1px grey;background-color:#FCFCFC}#search,.main{background-color:#FFF}.wrapper{margin:0 auto;width:990px}.main{padding-bottom:50px}.header{width:100%;z-index:1}.header .title{border-bottom:1px solid grey;font-size:26px;font-weight:400}.header .sub-title{font-size:11px}#search,.nav a{font-size:14px}#search{background-position:7px -99px;border:1px solid #D5D5D5;border-radius:2px;box-shadow:0 1px 1px rgba(0,0,0,.1) inset;color:grey;height:19px;line-height:145%;padding:4px 10px 4px 28px;width:24px;-moz-transition:width .4s ease,background .4s ease;-webkit-transition:width .4s ease,background .4s ease;transition:width .4s ease,background .4s ease}#search:focus{width:150px}.banner{margin-bottom:20px}.banner .notice{float:left;margin:20px 0 0 50px}.nav{background-color:#2C2C2C;box-shadow:0 2px 2px #D5D5D5,0 3px 3px -3px #D5D5D5 inset;border-top:1px solid #e2e2e2;border-bottom:1px solid #e2e2e2;height:29px;top:0;width:100%;z-index:1}.nav li,.nav ul{float:left}.nav a{color:#C9C9C9;display:block;float:left;font-weight:700;line-height:29px;margin-right:20px;padding:0 10px;text-decoration:none;transition:color .4s ease,background-color .8s ease;-webkit-transition:color .4s ease,background-color .8s ease;-moz-transition:color .4s ease,background-color .8s ease}#goTop,.footer{font-size:11px}.nav a:hover{color:#FFF;background-color:#535353}.nav a.current{background-color:#FFF;box-shadow:0 -1px 1px rgba(0,0,0,.1) inset,0 1px 1px rgba(0,0,0,.1) inset;color:grey}.nav img{margin-left:3px}.footer{border-top:1px solid #D5D5D5;box-shadow:0 -1px 1px #D5D5D5;padding:12px 0}#goTop{background:url(/skins/ease/images/icons.png) 5px -51px no-repeat #D5D5D5;border-radius:2px 2px 0 0;box-shadow:0 0 3px #D5D5D5;height:21px;line-height:21px;padding:0 10px 0 23px;position:absolute;right:50px;display:none}#goTop:hover{background-color:#c8c8c8;box-shadow:0 0 3px #c8c8c8}.main>.wrapper>h2{margin:0;padding:14px 0}.article{border-bottom:1px solid #f6f6f6;padding:30px 50px}.article:hover{border-bottom-color:#ddd;box-shadow:0 0 1px #f6f6f6 inset;background-color:#FCFCFC}.article-body{line-height:145%;overflow:hidden;word-wrap:break-word;margin-bottom:10px;font-size:14px}.article-body ol,.article-body ul{margin-left:40px;padding-left:0}.article-body a{color:grey;text-decoration:underline}.article-body a:vidited{color:#9a9a9a}.article-body a:hover{color:#676767}.article-body>div{min-height:32px}.article-title h2{display:inline}.article-last:hover{border-bottom:1px solid #f6f6f6}.article-next{border:1px solid #eee;background-color:#F9F9F9;font-size:14px;line-height:36px;text-align:center}.article-next:hover,.article-relative{background-color:#FCFCFC}.article-relative{box-shadow:0 0 2px #D5D5D5;Line truncated
|
||||||
Vendored
-15
@@ -1,16 +1 @@
|
|||||||
/*
|
|
||||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
var goTranslate=function(){window.open("http://translate.google.com/translate?sl=auto&tl=auto&u="+location.href)},getNextPage=function(){var e=$(".article-next");currentPage+=1;var t="/articles/";if(1===$("#tag").length){var a=location.pathname.split("/");t="/articles/tags/"+a[a.length-1]+"/"}else if(1===$("#archive").length){var a=location.pathname.split("/");t="/articles/archives/"+a[a.length-2]+"/"+a[a.length-1]+"/"}else if(1===$("#author").length){var a=location.pathname.split("/");t="/articles/authors/"+a[a.length-1]+"/"}$.ajax({url:latkeConfig.servePath+t+currentPage,type:"GET",beforeSend:function(){e.css("background","url("+latkeConfig.staticServePath+"/skins/ease/images/ajax-loader.gif) no-repeat scroll center center #fefefe")},success:function(t,a){if(t.sc){for(var i="",r=t.rslts.pagination,n=0;n<t.rslts.articles.length;n++){var l=t.rslts.articles[n],s="";t.rslts.articles.length-1===n&&(s=" article-last"),i+='<li class="article'+s+'"><div class="article-title"><h2><a rel="bookmark" class="ft-gray" href="'+latkeConfig.servePath+l.articlePermalink+'">'+l.articleTitle+"</a>",l.hasUpdated&&(i+="<sup>"+Label.updatedLabel+"</sup>"),l.articlePutTop&&(i+="<sup>"+Label.topArticleLabel+"</sup>"),i+='</h2><div class="right"><a rel="nofollow" class="ft-gray" href="'+latkeConfig.servePath+l.articlePermalink+'#comments">'+ +l.articleCommentCount+" "+Label.commentLabel+'</a> <a rel="nofollow" class="ft-gray" href="'+latkeConfig.servePath+l.articlePermalink+'">'+l.articleViewCount+" "+Label.viewLabel+'</a></div><div class="clear"></div></div><div class="article-body"><div id="abstract'+l.oId+'">'+l.articleAbstract+'</div><div id="content'+l.oId+'" class="none"></div></div><div class="right ft-gray">',i+=l.hasUpdated?Util.toDate(l.articleUpdateTime,"yy-MM-dd HH:mm"):Util.toDate(l.articleCreateTime,"yy-MM-dd HH:mm"),i+=' <a href="'+latkeConfig.servePath+"/authors/"+l.authorId+'">'+l.authorName+'</a></div><div class="left ft-gray">'+Label.tag1Label+" ";for(var o=l.articleTags.split(","),c=0;c<o.length;c++)i+='<a rel="tag" href="'+latkeConfig.servePath+"/tags/"+encodeURIComponent(o[c])+'">'+o[c]+"</a>",c<o.length-1&&(i+=", ");i+='</div><div class="clear"></div></li>'}$(".article-last").removeClass("article-last"),$(".main>.wrapper>ul").append(i),r.paginationPageCount===currentPage?e.remove():e.css("background","none")}}})},ease={$header:$(".header"),headerH:103,$body:$(".main > .wrapper"),$nav:$(".nav"),getCurrentPage:function(){var e=$(".article-next");e.length>0&&(window.currentPage=e.data("page"))},setNavCurrent:function(){$(".nav ul a").each(function(){var e=$(this);e.attr("href")===location.href?e.addClass("current"):/\/[0-9]+$/.test(location.pathname)&&($(".nav ul li")[0].className="current")})},initCommon:function(){Util.init(),Util.replaceSideEm($(".recent-comments-content")),Util.buildTags("tagsSide")},initArchives:function(){var e=$(".archives");if(!(e.length<1)){$(".footer").css("marginTop","30px");for(var t=[],a=e.find("span").each(function(){for(var e=$(this).data("year"),a=!0,i=0;i<t.length;i++)if(e===t[i]){a=!1;break}a&&t.push(e)}),i="",r=0;r<t.length;r++){for(var n="",l=0;l<a.length;l++){var s=$(a[l]);s.data("year")===t[r]&&(n+=s.html())}i+="<div><h3 class='ft-gray'>"+t[r]+"</h3>"+n+"</div>"}e.html(i);for(var o=$(".archives>div"),c=0,h=0,g=[],d=0;d<o.length;d++){for(var f=0;3>f&&!(d>=o.length);f++)o[d].style.left=310*f+"px",c>0?(""!==o[d-3].style.top&&(h=parseInt(o[d-3].style.top)),o[d].style.top=$(o[d-3]).height()+60+h+"px",g[f]=parseInt(o[d].style.top)+$(o[d]).height()+60):g[f]=$(o[d]).height()+60,2>f&&(d+=1);c+=1}e.height(g.sort()[g.length-1])}},scrollEvent:function(){var e=this;$(window).scroll(function(){var t=$(window).scrollTop();if(t>e.headerH){var a=$(window).height(),i=t+a-21;$("body").height()-58<=t+a&&(i=$(".footer").offset().top-21),$("#goTop").fadeIn("slow").css("top",i)}else $("#goTop").hide()})},setDynamic:function(){var e=$(".dynamic");if(!($(".dynamic").length<1)){var t=e.find(".side-comments"),a=e.find(".side-tags"),i=e.find(".side-most-comment"),r=e.find(".side-most-view");t.height()>a.height()?a.height(t.height()):t.height(a.height()),i.height()>r.height()?r.height(i.height()):i.height(r.height()),$(".article-body").each(function(){this.innerHTML=Util.replaceEmString($(this).html())})}}};!function(){ease.getCurrentPage(),ease.initCommon(),ease.scrollEvent(),ease.setNavCurrent(),ease.initArchives(),ease.setDynamic()}();
|
var goTranslate=function(){window.open("http://translate.google.com/translate?sl=auto&tl=auto&u="+location.href)},getNextPage=function(){var e=$(".article-next");currentPage+=1;var t="/articles/";if(1===$("#tag").length){var a=location.pathname.split("/");t="/articles/tags/"+a[a.length-1]+"/"}else if(1===$("#archive").length){var a=location.pathname.split("/");t="/articles/archives/"+a[a.length-2]+"/"+a[a.length-1]+"/"}else if(1===$("#author").length){var a=location.pathname.split("/");t="/articles/authors/"+a[a.length-1]+"/"}$.ajax({url:latkeConfig.servePath+t+currentPage,type:"GET",beforeSend:function(){e.css("background","url("+latkeConfig.staticServePath+"/skins/ease/images/ajax-loader.gif) no-repeat scroll center center #fefefe")},success:function(t,a){if(t.sc){for(var i="",r=t.rslts.pagination,n=0;n<t.rslts.articles.length;n++){var l=t.rslts.articles[n],s="";t.rslts.articles.length-1===n&&(s=" article-last"),i+='<li class="article'+s+'"><div class="article-title"><h2><a rel="bookmark" class="ft-gray" href="'+latkeConfig.servePath+l.articlePermalink+'">'+l.articleTitle+"</a>",l.hasUpdated&&(i+="<sup>"+Label.updatedLabel+"</sup>"),l.articlePutTop&&(i+="<sup>"+Label.topArticleLabel+"</sup>"),i+='</h2><div class="right"><a rel="nofollow" class="ft-gray" href="'+latkeConfig.servePath+l.articlePermalink+'#comments">'+ +l.articleCommentCount+" "+Label.commentLabel+'</a> <a rel="nofollow" class="ft-gray" href="'+latkeConfig.servePath+l.articlePermalink+'">'+l.articleViewCount+" "+Label.viewLabel+'</a></div><div class="clear"></div></div><div class="article-body"><div id="abstract'+l.oId+'">'+l.articleAbstract+'</div><div id="content'+l.oId+'" class="none"></div></div><div class="right ft-gray">',i+=l.hasUpdated?Util.toDate(l.articleUpdateTime,"yy-MM-dd HH:mm"):Util.toDate(l.articleCreateTime,"yy-MM-dd HH:mm"),i+=' <a href="'+latkeConfig.servePath+"/authors/"+l.authorId+'">'+l.authorName+'</a></div><div class="left ft-gray">'+Label.tag1Label+" ";for(var o=l.articleTags.split(","),c=0;c<o.length;c++)i+='<a rel="tag" href="'+latkeConfig.servePath+"/tags/"+encodeURIComponent(o[c])+'">'+o[c]+"</a>",c<o.length-1&&(i+=", ");i+='</div><div class="clear"></div></li>'}$(".article-last").removeClass("article-last"),$(".main>.wrapper>ul").append(i),r.paginationPageCount===currentPage?e.remove():e.css("background","none")}}})},ease={$header:$(".header"),headerH:103,$body:$(".main > .wrapper"),$nav:$(".nav"),getCurrentPage:function(){var e=$(".article-next");e.length>0&&(window.currentPage=e.data("page"))},setNavCurrent:function(){$(".nav ul a").each(function(){var e=$(this);e.attr("href")===location.href?e.addClass("current"):/\/[0-9]+$/.test(location.pathname)&&($(".nav ul li")[0].className="current")})},initCommon:function(){Util.init(),Util.replaceSideEm($(".recent-comments-content")),Util.buildTags("tagsSide")},initArchives:function(){var e=$(".archives");if(!(e.length<1)){$(".footer").css("marginTop","30px");for(var t=[],a=e.find("span").each(function(){for(var e=$(this).data("year"),a=!0,i=0;i<t.length;i++)if(e===t[i]){a=!1;break}a&&t.push(e)}),i="",r=0;r<t.length;r++){for(var n="",l=0;l<a.length;l++){var s=$(a[l]);s.data("year")===t[r]&&(n+=s.html())}i+="<div><h3 class='ft-gray'>"+t[r]+"</h3>"+n+"</div>"}e.html(i);for(var o=$(".archives>div"),c=0,h=0,g=[],d=0;d<o.length;d++){for(var f=0;3>f&&!(d>=o.length);f++)o[d].style.left=310*f+"px",c>0?(""!==o[d-3].style.top&&(h=parseInt(o[d-3].style.top)),o[d].style.top=$(o[d-3]).height()+60+h+"px",g[f]=parseInt(o[d].style.top)+$(o[d]).height()+60):g[f]=$(o[d]).height()+60,2>f&&(d+=1);c+=1}e.height(g.sort()[g.length-1])}},scrollEvent:function(){var e=this;$(window).scroll(function(){var t=$(window).scrollTop();if(t>e.headerH){var a=$(window).height(),i=t+a-21;$("body").height()-58<=t+a&&(i=$(".footer").offset().top-21),$("#goTop").fadeIn("slow").css("top",i)}else $("#goTop").hide()})},setDynamic:function(){var e=$(".dynamic");if(!($(".dynamic").length<1)){var t=e.find(".side-comments"),a=e.find(".side-tags"),i=e.find(".side-most-comment"),r=e.find(".side-most-view");t.height()>a.height()?a.height(t.height()):t.height(a.height()),i.height()>r.height()?r.height(i.height()):i.height(r.height()),$(".article-body").each(function(){this.innerHTML=Util.replaceEmString($(this).html())})}}};!function(){ease.getCurrentPage(),ease.initCommon(),ease.scrollEvent(),ease.setNavCurrent(),ease.initArchives(),ease.setDynamic()}();
|
||||||
Vendored
-15
@@ -1,16 +1 @@
|
|||||||
/**
|
|
||||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
@charset "utf-8";#header-navi li,.side-navi ul{list-style:none}.side-navi .navi-comments li div,.side-navi li{text-overflow:ellipsis;-o-text-overflow:ellipsis;overflow:hidden}.comment-form img,.footer .goTop{cursor:pointer}#header-navi li a,#logoTitle,#navigation a,#tagsPanel .tagPanel,.article-title a,.error-panel a,.side-navi a.selected{text-decoration:none}body{background:url(../images/bg.jpg) left top}a,a:active,a:link,a:visited{color:#2970A6;text-decoration:none}a:hover{color:#000}h1{font-size:300%}h4{font-size:160%;padding:18px 0 0 80px}h5{font-size:12px}.margin5R{margin-right:5px}.margin5{margin:5px}.margin25{margin:25px 25px 0}.content{margin:0 auto;width:960px}.header{height:65px;padding:15px 0 0 30px}.body{background:url(../images/cont-bg.png) right center repeat-y #FFF;min-height:400px}.side-navi{background:url(../images/cont-bg.png) left top repeat-y #00798A;color:#fff;font-size:95%;line-height:145%;padding-top:8px;position:relative;width:300px}.side-navi a{color:#FFF}.comm div{display:none}#header-navi li a,#logoTitle,.lamb a{display:block;outline:0}.main{padding:0 0 15px 35px;width:600px}.footer{color:#fff;line-height:145%}#logoTitle{color:#fff;font-family:"Microsoft YaHei";height:50px}.sub-title{border-top:1px solid #FFF;color:#FFF;font-size:18px;padding:0 15px}#header-navi{background:#FFF;border-bottom:1px solid #A6A6A6}#header-navi li{float:left;margin-left:0}#header-navi li a{background:url(../images/menu.gif) no-repeat;color:#382E1F;font-size:11px;height:31px;line-height:31px;margin-left:-10px;padding:0 20px}#header-navi li a:hover{background-position:0 -31px}#header-navi li a.home{background-position:0 -93px;margin-left:0;padding:0;text-indent:-999em;width:45px}#header-navi li a.home:hover{background-position:0 -124px}#header-navi li a.lastNavi:hover{background-position:0 0}#header-navi li.selected a{background-position:0 -62px}#header-navi li.selected a.home{background-position:0 -155px}#statistic{left:250px;position:relative;text-align:left;top:110px;width:600px}#navigation a,.comment-author,.pagination,.posttime-D,.posttime-MY{text-align:center}.footer .copyright{padding-top:60px;text-align:center}.footer .goTop{background:url(../images/icons.gif) 0 -304px no-repeat;font-size:12px;padding-left:16px;position:absolute;right:17px;top:0;width:25px}.article{border-top:1px dotted #0184AF;padding-bottom:15px}.article-title{font-size:22px;margin-top:10px;padding:0 5px 3px;position:relative;top:20px}.article-title sup{font-size:12px}.article-title a{color:#4C4C4C}.article-title a:hover{color:#2970A6}.article-abstract{line-height:145%;margin:5px 0 5px 5px;word-wrap:break-word}.article-browserIcon,.articles-commentIcon,.dateIcon,.tagsIcon{background:url(../images/icons.gif) 0 -400px no-repeat;float:left;height:30px;margin-right:6px;width:30px}.tagsIcon{background:url(../images/tagsIcon.png)}.dateIcon{background-position:0 -48px}.articles-commentIcon{background:url(../images/comment.jpg)}.article-browserIcon{background:url(../images/category.jpg)}.article-body{line-height:145%;padding:5px 0 0 5px}.article-footer{margin:0 5px 10px}.article-relative{line-height:22px;margin-top:20px}.article-relative h4{font-size:12px;padding:0}.comments{background:#FCFCFC;border-bottom:1px solid #CCC;border-top:1px solid #CCC;margin:15px -15px;padding:0 15px 15px;position:relative}.comment-title{background-color:#E3E9FF;border-top:1px solid #36C;padding:3px 12px;position:relative}.comment-body-ref{background-color:#FFF;filter:alpha(opacity=90);left:217px;opacity:.9;padding:6px;position:absolute;width:605px;z-index:10}.comment-body{margin-top:15px}.comment-author{float:left;width:81px}.comment-author div{background:url(../images/commentpoint.png) 100% 33% no-repeat;margin-top:10px;padding-right:14px}.comment-author img{border:1px solid #999;height:32px;padding:1px;width:32px}.comment-author a{font-weight:700;white-space:nowrap;margin-right:14px}.comment-info{background:url(../images/comment.gif) no-repeat #EDEFF0;font-size:12px;margin:-62px 0 0 80px;padding:10px 15px 0;width:494px}.comment-content{background:url(../images/comment.gif) 100% 100% no-repeat;font-size:12px;line-height:145%;margin:0 -15px;overflow:hidden;padding:9px 15px 10px;word-wrap:break-word}.comment-form input,.comment-form textarea{background:url(../images/textfield.gif) 50% 0 repeat-x #FFF;border:1px solid #A6A6A6;color:#555;font-family:Helvetica,Arial,sans-serif;height:16px;outline:0;padding:2px 1px;width:200px}.comment-form textarea{font-size:12px;height:auto;width:600px}.comment-form button{background:#B4D666;border-color:#B4D666 #81B840 #81B840 #B4D666;border-radius:0;border-style:solid;border-width:1px;color:#2970A6;font-size:12px;height:22px;line-height:22px;padding:0 6px}.comment-form button:hover{background:#98C64C;border-color:#76B33A #98C64C #98C64C #76B33A;color:#074A7E}.em00,.em01,.em02,.em03,.em04,.em05,.em06,.em07,.em08,.em09,.em10,.em11,.em12,.em13,.em14{background-image:url(../images/emotions/emotions-blue.png)}.error-msg{color:#Line truncated
|
@charset "utf-8";#header-navi li,.side-navi ul{list-style:none}.side-navi .navi-comments li div,.side-navi li{text-overflow:ellipsis;-o-text-overflow:ellipsis;overflow:hidden}.comment-form img,.footer .goTop{cursor:pointer}#header-navi li a,#logoTitle,#navigation a,#tagsPanel .tagPanel,.article-title a,.error-panel a,.side-navi a.selected{text-decoration:none}body{background:url(../images/bg.jpg) left top}a,a:active,a:link,a:visited{color:#2970A6;text-decoration:none}a:hover{color:#000}h1{font-size:300%}h4{font-size:160%;padding:18px 0 0 80px}h5{font-size:12px}.margin5R{margin-right:5px}.margin5{margin:5px}.margin25{margin:25px 25px 0}.content{margin:0 auto;width:960px}.header{height:65px;padding:15px 0 0 30px}.body{background:url(../images/cont-bg.png) right center repeat-y #FFF;min-height:400px}.side-navi{background:url(../images/cont-bg.png) left top repeat-y #00798A;color:#fff;font-size:95%;line-height:145%;padding-top:8px;position:relative;width:300px}.side-navi a{color:#FFF}.comm div{display:none}#header-navi li a,#logoTitle,.lamb a{display:block;outline:0}.main{padding:0 0 15px 35px;width:600px}.footer{color:#fff;line-height:145%}#logoTitle{color:#fff;font-family:"Microsoft YaHei";height:50px}.sub-title{border-top:1px solid #FFF;color:#FFF;font-size:18px;padding:0 15px}#header-navi{background:#FFF;border-bottom:1px solid #A6A6A6}#header-navi li{float:left;margin-left:0}#header-navi li a{background:url(../images/menu.gif) no-repeat;color:#382E1F;font-size:11px;height:31px;line-height:31px;margin-left:-10px;padding:0 20px}#header-navi li a:hover{background-position:0 -31px}#header-navi li a.home{background-position:0 -93px;margin-left:0;padding:0;text-indent:-999em;width:45px}#header-navi li a.home:hover{background-position:0 -124px}#header-navi li a.lastNavi:hover{background-position:0 0}#header-navi li.selected a{background-position:0 -62px}#header-navi li.selected a.home{background-position:0 -155px}#statistic{left:250px;position:relative;text-align:left;top:110px;width:600px}#navigation a,.comment-author,.pagination,.posttime-D,.posttime-MY{text-align:center}.footer .copyright{padding-top:60px;text-align:center}.footer .goTop{background:url(../images/icons.gif) 0 -304px no-repeat;font-size:12px;padding-left:16px;position:absolute;right:17px;top:0;width:25px}.article{border-top:1px dotted #0184AF;padding-bottom:15px}.article-title{font-size:22px;margin-top:10px;padding:0 5px 3px;position:relative;top:20px}.article-title sup{font-size:12px}.article-title a{color:#4C4C4C}.article-title a:hover{color:#2970A6}.article-abstract{line-height:145%;margin:5px 0 5px 5px;word-wrap:break-word}.article-browserIcon,.articles-commentIcon,.dateIcon,.tagsIcon{background:url(../images/icons.gif) 0 -400px no-repeat;float:left;height:30px;margin-right:6px;width:30px}.tagsIcon{background:url(../images/tagsIcon.png)}.dateIcon{background-position:0 -48px}.articles-commentIcon{background:url(../images/comment.jpg)}.article-browserIcon{background:url(../images/category.jpg)}.article-body{line-height:145%;padding:5px 0 0 5px}.article-footer{margin:0 5px 10px}.article-relative{line-height:22px;margin-top:20px}.article-relative h4{font-size:12px;padding:0}.comments{background:#FCFCFC;border-bottom:1px solid #CCC;border-top:1px solid #CCC;margin:15px -15px;padding:0 15px 15px;position:relative}.comment-title{background-color:#E3E9FF;border-top:1px solid #36C;padding:3px 12px;position:relative}.comment-body-ref{background-color:#FFF;filter:alpha(opacity=90);left:217px;opacity:.9;padding:6px;position:absolute;width:605px;z-index:10}.comment-body{margin-top:15px}.comment-author{float:left;width:81px}.comment-author div{background:url(../images/commentpoint.png) 100% 33% no-repeat;margin-top:10px;padding-right:14px}.comment-author img{border:1px solid #999;height:32px;padding:1px;width:32px}.comment-author a{font-weight:700;white-space:nowrap;margin-right:14px}.comment-info{background:url(../images/comment.gif) no-repeat #EDEFF0;font-size:12px;margin:-62px 0 0 80px;padding:10px 15px 0;width:494px}.comment-content{background:url(../images/comment.gif) 100% 100% no-repeat;font-size:12px;line-height:145%;margin:0 -15px;overflow:hidden;padding:9px 15px 10px;word-wrap:break-word}.comment-form input,.comment-form textarea{background:url(../images/textfield.gif) 50% 0 repeat-x #FFF;border:1px solid #A6A6A6;color:#555;font-family:Helvetica,Arial,sans-serif;height:16px;outline:0;padding:2px 1px;width:200px}.comment-form textarea{font-size:12px;height:auto;width:600px}.comment-form button{background:#B4D666;border-color:#B4D666 #81B840 #81B840 #B4D666;border-radius:0;border-style:solid;border-width:1px;color:#2970A6;font-size:12px;height:22px;line-height:22px;padding:0 6px}.comment-form button:hover{background:#98C64C;border-color:#76B33A #98C64C #98C64C #76B33A;color:#074A7E}.em00,.em01,.em02,.em03,.em04,.em05,.em06,.em07,.em08,.em09,.em10,.em11,.em12,.em13,.em14{background-image:url(../images/emotions/emotions-blue.png)}.error-msg{color:#Line truncated
|
||||||
Vendored
-15
@@ -1,16 +1 @@
|
|||||||
/**
|
|
||||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
@charset "utf-8";body,html{height:100%;max-height:100%}body,dl,h1,h2,h3,h4,h5,h6,ol,p,ul{text-rendering:geometricPrecision}.nav li a,dl dt{text-overflow:ellipsis}dl dd,dl dt{margin-bottom:1em}body,li li{margin:0}blockquote cite,dl dt{font-weight:700}dl,ol,p,pre,ul{margin:0 0 1.75em}.fn-left,dl dt{float:left}#tags li,.nav ul,ul.comments{list-style:none}html{font-size:62.5%;-webkit-tap-highlight-color:transparent}body{font-family:Merriweather,"Microsoft Yahei",Helvetica;letter-spacing:.01rem;font-size:1.8rem;line-height:1.75em;color:#3A4145;-webkit-font-feature-settings:'kern' 1;-moz-font-feature-settings:'kern' 1;-o-font-feature-settings:'kern' 1}::-moz-selection{background:#D6EDFF}::selection{background:#D6EDFF}a{color:#4A4A4A;transition:color .3s ease}a:hover{color:#111}h1,h2,h3,h4,h5,h6{-webkit-font-feature-settings:'dlig' 1,'liga' 1,'lnum' 1,'kern' 1;-moz-font-feature-settings:'dlig' 1,'liga' 1,'lnum' 1,'kern' 1;-o-font-feature-settings:'dlig' 1,'liga' 1,'lnum' 1,'kern' 1;color:#2E2E2E;line-height:1.15em;font-family:"Open Sans","Microsoft Yahei",Helvetica}code,pre,tt{font-family:Inconsolata,monospace,"Microsoft Yahei",Helvetica;background:#F7FAFB}h1{font-size:5rem;letter-spacing:-2px;text-indent:-3px}.page-title a,h2{letter-spacing:-1px}h2{font-size:3.6rem}h3{font-size:3rem}h4{font-size:2.5rem}h5,h6{font-size:2rem}img{max-width:100%}dl,ol,p,ul{-webkit-font-feature-settings:'liga' 1,'onum' 1,'kern' 1;-moz-font-feature-settings:'liga' 1,'onum' 1,'kern' 1;-o-font-feature-settings:'liga' 1,'onum' 1,'kern' 1}ol,ul{padding-left:3rem}ol ol,ol ul,ul ol,ul ul{padding-left:2em}dl dt{width:180px;overflow:hidden;clear:left;text-align:right;white-space:nowrap}dl dd{margin-left:200px}hr{display:block;height:1px;border:0;border-top:#EFEFEF 1px solid;margin:3.2em 0;padding:0}blockquote{-moz-box-sizing:border-box;box-sizing:border-box;margin:1.75em 0 1.75em -2.2em;padding:0 0 0 1.75em;border-left:#4A4A4A .4em solid}.menu-button,pre{-moz-box-sizing:border-box}blockquote p{margin:.8em 0;font-style:italic}blockquote small{display:inline-block;margin:.8em 0 .8em 1.5em;font-size:.9em;color:#CCC}blockquote small:before{content:"\2014 \00A0"}blockquote cite a{font-weight:400}mark{background-color:#fdffb6}code,tt{padding:1px 3px;font-size:.85em;white-space:pre-wrap;border:1px solid #E3EDF3;border-radius:2px}pre{box-sizing:border-box;border:1px solid #E3EDF3;width:100%;padding:10px;font-size:.9em;white-space:pre;overflow:auto;border-radius:3px}pre code,pre tt{font-size:inherit;white-space:pre-wrap;background:0 0;border:none;padding:0}.menu-button,.nav .count,.nav li a{white-space:nowrap}.fn-clear:after,.fn-clear:before{display:table;content:""}.fn-clear:after{clear:both}.fn-right{float:right}.fn-none{display:none}.fn-vertical{display:table-cell;vertical-align:middle}.comments li img,.icon-menu:before{vertical-align:sub}.fn-wrap{width:80%;max-width:768px;margin:0 auto}@-webkit-keyframes fade-in-down{0%{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes fade-in-down{0%{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes bounce{0%,10%,25%,40%,50%{-webkit-transform:translateY(0);transform:translateY(0)}20%{-webkit-transform:translateY(-10px);transform:translateY(-10px)}30%{-webkit-transform:translateY(-5px);transform:translateY(-5px)}}@keyframes bounce{0%,100%,20%,50%,80%{-webkit-transform:translateY(0);transform:translateY(0)}40%{-webkit-transform:translateY(-10px);transform:translateY(-10px)}60%{-webkit-transform:translateY(-5px);transform:translateY(-5px)}}@-webkit-keyframes upbounce{0%,10%,25%,40%,50%{-webkit-transform:translateY(0);transform:translateY(0)}20%{-webkit-transform:translateY(-10px);transform:translateY(-10px)}30%{-webkit-transform:translateY(-5px);transform:translateY(-5px)}}@keyframes upbounce{0%,100%,20%,50%,80%{-webkit-transform:translateY(0);transform:translateY(0)}40%{-webkit-transform:translateY(-10px);transform:translateY(-10px)}60%{-webkit-transform:translateY(-5px);transform:translateY(-5px)}}@font-face{font-family:icomoon;src:url(fonts/icomoon.eot?v=1);src:url(fonts/icomoon.eot?v=1#iefix) format("embedded-opentype"),url(fonts/icomoon.woff?v=1) format("woff"),url(fonts/icomoon.ttf?v=1) format("truetype"),url(fonts/icomoon.svg?v=1#icons) format("svg");font-weight:400;font-style:normal}[class*=" icon-"]:before,[class^=icon-]:before{font-size:2rem;font-family:icomoon,"Open Sans","Microsoft Yahei",Helvetica;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;text-decoration:none!important;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-arrow-left:before{content:"\f605";font-size:3.5rem}.icon-menu:before{content:"\f609"}.icon-login:before{content:"\e611"}.icon-logout:before{content:"\e601"}.icon-setting:before{content:"\e60Line truncated
|
@charset "utf-8";body,html{height:100%;max-height:100%}body,dl,h1,h2,h3,h4,h5,h6,ol,p,ul{text-rendering:geometricPrecision}.nav li a,dl dt{text-overflow:ellipsis}dl dd,dl dt{margin-bottom:1em}body,li li{margin:0}blockquote cite,dl dt{font-weight:700}dl,ol,p,pre,ul{margin:0 0 1.75em}.fn-left,dl dt{float:left}#tags li,.nav ul,ul.comments{list-style:none}html{font-size:62.5%;-webkit-tap-highlight-color:transparent}body{font-family:Merriweather,"Microsoft Yahei",Helvetica;letter-spacing:.01rem;font-size:1.8rem;line-height:1.75em;color:#3A4145;-webkit-font-feature-settings:'kern' 1;-moz-font-feature-settings:'kern' 1;-o-font-feature-settings:'kern' 1}::-moz-selection{background:#D6EDFF}::selection{background:#D6EDFF}a{color:#4A4A4A;transition:color .3s ease}a:hover{color:#111}h1,h2,h3,h4,h5,h6{-webkit-font-feature-settings:'dlig' 1,'liga' 1,'lnum' 1,'kern' 1;-moz-font-feature-settings:'dlig' 1,'liga' 1,'lnum' 1,'kern' 1;-o-font-feature-settings:'dlig' 1,'liga' 1,'lnum' 1,'kern' 1;color:#2E2E2E;line-height:1.15em;font-family:"Open Sans","Microsoft Yahei",Helvetica}code,pre,tt{font-family:Inconsolata,monospace,"Microsoft Yahei",Helvetica;background:#F7FAFB}h1{font-size:5rem;letter-spacing:-2px;text-indent:-3px}.page-title a,h2{letter-spacing:-1px}h2{font-size:3.6rem}h3{font-size:3rem}h4{font-size:2.5rem}h5,h6{font-size:2rem}img{max-width:100%}dl,ol,p,ul{-webkit-font-feature-settings:'liga' 1,'onum' 1,'kern' 1;-moz-font-feature-settings:'liga' 1,'onum' 1,'kern' 1;-o-font-feature-settings:'liga' 1,'onum' 1,'kern' 1}ol,ul{padding-left:3rem}ol ol,ol ul,ul ol,ul ul{padding-left:2em}dl dt{width:180px;overflow:hidden;clear:left;text-align:right;white-space:nowrap}dl dd{margin-left:200px}hr{display:block;height:1px;border:0;border-top:#EFEFEF 1px solid;margin:3.2em 0;padding:0}blockquote{-moz-box-sizing:border-box;box-sizing:border-box;margin:1.75em 0 1.75em -2.2em;padding:0 0 0 1.75em;border-left:#4A4A4A .4em solid}.menu-button,pre{-moz-box-sizing:border-box}blockquote p{margin:.8em 0;font-style:italic}blockquote small{display:inline-block;margin:.8em 0 .8em 1.5em;font-size:.9em;color:#CCC}blockquote small:before{content:"\2014 \00A0"}blockquote cite a{font-weight:400}mark{background-color:#fdffb6}code,tt{padding:1px 3px;font-size:.85em;white-space:pre-wrap;border:1px solid #E3EDF3;border-radius:2px}pre{box-sizing:border-box;border:1px solid #E3EDF3;width:100%;padding:10px;font-size:.9em;white-space:pre;overflow:auto;border-radius:3px}pre code,pre tt{font-size:inherit;white-space:pre-wrap;background:0 0;border:none;padding:0}.menu-button,.nav .count,.nav li a{white-space:nowrap}.fn-clear:after,.fn-clear:before{display:table;content:""}.fn-clear:after{clear:both}.fn-right{float:right}.fn-none{display:none}.fn-vertical{display:table-cell;vertical-align:middle}.comments li img,.icon-menu:before{vertical-align:sub}.fn-wrap{width:80%;max-width:768px;margin:0 auto}@-webkit-keyframes fade-in-down{0%{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes fade-in-down{0%{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes bounce{0%,10%,25%,40%,50%{-webkit-transform:translateY(0);transform:translateY(0)}20%{-webkit-transform:translateY(-10px);transform:translateY(-10px)}30%{-webkit-transform:translateY(-5px);transform:translateY(-5px)}}@keyframes bounce{0%,100%,20%,50%,80%{-webkit-transform:translateY(0);transform:translateY(0)}40%{-webkit-transform:translateY(-10px);transform:translateY(-10px)}60%{-webkit-transform:translateY(-5px);transform:translateY(-5px)}}@-webkit-keyframes upbounce{0%,10%,25%,40%,50%{-webkit-transform:translateY(0);transform:translateY(0)}20%{-webkit-transform:translateY(-10px);transform:translateY(-10px)}30%{-webkit-transform:translateY(-5px);transform:translateY(-5px)}}@keyframes upbounce{0%,100%,20%,50%,80%{-webkit-transform:translateY(0);transform:translateY(0)}40%{-webkit-transform:translateY(-10px);transform:translateY(-10px)}60%{-webkit-transform:translateY(-5px);transform:translateY(-5px)}}@font-face{font-family:icomoon;src:url(fonts/icomoon.eot?v=1);src:url(fonts/icomoon.eot?v=1#iefix) format("embedded-opentype"),url(fonts/icomoon.woff?v=1) format("woff"),url(fonts/icomoon.ttf?v=1) format("truetype"),url(fonts/icomoon.svg?v=1#icons) format("svg");font-weight:400;font-style:normal}[class*=" icon-"]:before,[class^=icon-]:before{font-size:2rem;font-family:icomoon,"Open Sans","Microsoft Yahei",Helvetica;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;text-decoration:none!important;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-arrow-left:before{content:"\f605";font-size:3.5rem}.icon-menu:before{content:"\f609"}.icon-login:before{content:"\e611"}.icon-logout:before{content:"\e601"}.icon-setting:before{content:"\e60Line truncated
|
||||||
Vendored
-15
@@ -1,16 +1 @@
|
|||||||
/*
|
|
||||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
var Finding={init:function(){Util.killIE(),$(".scroll-down").click(function(t){t.preventDefault();var o=$(this),n=$("html, body"),e=o.attr("data-offset")?o.attr("data-offset"):!1,a=parseInt(e);n.stop(!0,!1).animate({scrollTop:$(this.hash).offset().top+a},500)}),$("body").click(function(t){0===$(t.target).closest(".nav").length&&$("body").hasClass("nav-opened")&&!$(t.target).hasClass("icon-gotop")&&$("body").removeClass("nav-opened").addClass("nav-closed")}),$(".menu-button").click(function(t){t.stopPropagation(),$("body").toggleClass("nav-opened nav-closed")}),$("body").append('<a class="icon-gotop fn-none" href="javascript:Util.goTop()"></a>'),$(window).scroll(function(){$(window).scrollTop()>$(window).height()?$(".icon-gotop").show():$(".icon-gotop").hide()})},share:function(){$(".share span").click(function(){var t=$(this).data("type"),o=encodeURIComponent($("title").text()),n=$(".post-title a").attr("href")?$(".post-title a").attr("href"):location,e=$(".post-content img:eq(0)").attr("src"),a={};a.tencent="http://share.v.t.qq.com/index.php?c=share&a=index&title="+o+"&url="+n+"&pic="+e,a.weibo="http://v.t.sina.com.cn/share/share.php?title="+o+"&url="+n+"&pic="+e,a.google="https://plus.google.com/share?url="+n,a.twitter="https://twitter.com/intent/tweet?status="+o+" "+n,window.open(a[t],"_blank","top=100,left=200,width=648,height=618")})}};Finding.init();
|
var Finding={init:function(){Util.killIE(),$(".scroll-down").click(function(t){t.preventDefault();var o=$(this),n=$("html, body"),e=o.attr("data-offset")?o.attr("data-offset"):!1,a=parseInt(e);n.stop(!0,!1).animate({scrollTop:$(this.hash).offset().top+a},500)}),$("body").click(function(t){0===$(t.target).closest(".nav").length&&$("body").hasClass("nav-opened")&&!$(t.target).hasClass("icon-gotop")&&$("body").removeClass("nav-opened").addClass("nav-closed")}),$(".menu-button").click(function(t){t.stopPropagation(),$("body").toggleClass("nav-opened nav-closed")}),$("body").append('<a class="icon-gotop fn-none" href="javascript:Util.goTop()"></a>'),$(window).scroll(function(){$(window).scrollTop()>$(window).height()?$(".icon-gotop").show():$(".icon-gotop").hide()})},share:function(){$(".share span").click(function(){var t=$(this).data("type"),o=encodeURIComponent($("title").text()),n=$(".post-title a").attr("href")?$(".post-title a").attr("href"):location,e=$(".post-content img:eq(0)").attr("src"),a={};a.tencent="http://share.v.t.qq.com/index.php?c=share&a=index&title="+o+"&url="+n+"&pic="+e,a.weibo="http://v.t.sina.com.cn/share/share.php?title="+o+"&url="+n+"&pic="+e,a.google="https://plus.google.com/share?url="+n,a.twitter="https://twitter.com/intent/tweet?status="+o+" "+n,window.open(a[t],"_blank","top=100,left=200,width=648,height=618")})}};Finding.init();
|
||||||
Vendored
-15
@@ -1,16 +1 @@
|
|||||||
/**
|
|
||||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
@charset "utf-8";#header-navi,.header{border-bottom:1px solid #A6A6A6}.side-navi .navi-comments li div,.side-navi li{overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis}.comment-form img,.footer .goTop{cursor:pointer}.bg{background:url(../images/bg.jpg) repeat-x #BEC3C6;color:#555}a,a:active,a:link,a:visited{color:#2970A6;text-decoration:none}a:hover{text-decoration:underline}#header-navi li a,#logoTitle,#tagsPanel .tagPanel,.article-title a,.error-panel a{text-decoration:none}h1{font-size:200%}h4{font-size:160%}h5{font-size:12px}.margin5R{margin-right:5px}.margin5{margin:5px}.wrapper{background:url(../images/light.gif) 50% 0 no-repeat;padding:20px 0}.content{margin:0 auto;width:936px}.header{background:url(../images/header.jpg) no-repeat;height:65px;padding:25px 30px 0}.body{background:url(../images/sidesep.gif) right center repeat-y #FFF;min-height:400px}.side-navi{background:url(../images/sidebar_shadow.gif) 50% 0 repeat-x #F7F7F7;font-size:95%;line-height:145%;padding-top:8px;width:300px}.main{background:url(../images/main_shadow.gif) center top repeat-x #FFF;padding:13px 15px 15px;width:605px}.footer{background:url(../images/footer.jpg) no-repeat;border-top:1px solid #CCC;font-size:11px;height:88px;line-height:145%;padding:0}#logoTitle{color:#FFF;display:block;font-family:"Trajan Pro";height:30px;outline:0}.sub-title{border-top:1px solid #FFF;color:#FFF;font-size:10px;padding:0 3px}#header-navi li a,#statistic{font-size:11px;line-height:31px}#header-navi{background:#FFF}.article-title,.comments{border-bottom:1px solid #CCC}#header-navi li{float:left;list-style:none;margin-left:0}#header-navi li a{background:url(../images/menu.gif) no-repeat;color:#382E1F;display:block;height:31px;margin-left:-10px;outline:0;padding:0 20px}#header-navi li a:hover{background-position:0 -31px}#header-navi li a.home{background-position:0 -93px;margin-left:0;padding:0;text-indent:-999em;width:45px}#header-navi li a.home:hover{background-position:0 -124px}#header-navi li a.lastNavi:hover{background-position:0 0}#header-navi li.selected a{background-position:0 -62px}#header-navi li.selected a.home{background-position:0 -155px}#statistic{margin-right:15px}.footer .copyright{padding:12px;width:857px}.footer .copyright span{margin:0}.footer .goTop{background:url(../images/icons.gif) 0 -304px no-repeat;color:#2A2A2A;line-height:18px;margin:5px 17px 0 0;padding-left:16px;width:22px;white-space:nowrap}.article{padding-bottom:15px;overflow:hidden}.article-title{font-size:16px;margin-top:10px;padding:0 5px 3px}.article-relative h4,.article-title sup,.comment-content,.comment-form button,.comment-info{font-size:12px}.article-title a{color:#4C4C4C}.article-title a:hover{color:#2970A6}.article-abstract{line-height:145%;margin:10px 0 10px 5px;word-wrap:break-word}.article-browserIcon,.articles-commentIcon,.authorIcon,.dateIcon,.tagsIcon{background:url(../images/icons.gif) 0 -400px no-repeat;float:left;height:16px;margin-right:6px;width:16px}.tagsIcon{background-position:0 -400px;margin-left:15px}.dateIcon{background-position:0 -48px;margin-left:15px}.authorIcon{background-position:0 0}.articles-commentIcon{background-position:0 -96px}.article-browserIcon{background-position:0 -480px}.article-body{line-height:145%;padding:5px 0 0 5px}.article-footer{margin:0 5px 10px}.article-relative{line-height:22px;margin-top:24px}.comments{background:#FCFCFC;border-top:1px solid #CCC;margin:15px -15px;padding:0 15px 15px;position:relative}.comment-title{background-color:#E3E9FF;border-top:1px solid #36C;padding:3px 12px;position:relative}.comment-body-ref{background-color:#FFF;filter:alpha(opacity=90);left:217px;opacity:.9;padding:6px;position:absolute;width:605px;z-index:10}.comment-body{margin-top:15px}.comment-author{float:left;text-align:center;width:81px}.comment-author div{background:url(../images/commentpoint.png) 100% 33% no-repeat;margin-top:10px;padding-right:14px}.comment-author img{border:1px solid #999;height:32px;padding:1px;width:32px}.comment-author a{font-weight:700;white-space:nowrap;margin-right:14px}.comment-info{background:url(../images/comment.gif) no-repeat #EDEFF0;padding:10px 15px 0;width:494px}.comment-content{background:url(../images/comment.gif) 100% 100% no-repeat;line-height:145%;margin:0 -15px;overflow:hidden;padding:9px 15px 10px;word-wrap:break-word}.comment-form input,.comment-form textarea{background:url(../images/textfield.gif) 50% 0 repeat-x #FFF;border:1px solid #A6A6A6;color:#555;font-family:Helvetica,Arial,sans-serif;height:16px;outline:0;padding:2px 1px;width:200px}.comment-form textarea{font-size:12px;height:auto;width:601px}.comment-form button{background:#B4D666;border-color:#B4D666 #81B840 #81B840 #B4D666;border-radius:0;border-style:solid;border-width:1px;color:#2970A6;height:24px;line-height:24px;padding:0 6px}.comment-form button:hover{background:#98C64C;border-color:#76B33A #98C64C #98C64C #76B33A;color:#074A7E}.em00,.em01,.em02,.em03,.em04,.em05,.em06,.em07,.em08,.em09,.em10,.em11,.em12,.Line truncated
|
@charset "utf-8";#header-navi,.header{border-bottom:1px solid #A6A6A6}.side-navi .navi-comments li div,.side-navi li{overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis}.comment-form img,.footer .goTop{cursor:pointer}.bg{background:url(../images/bg.jpg) repeat-x #BEC3C6;color:#555}a,a:active,a:link,a:visited{color:#2970A6;text-decoration:none}a:hover{text-decoration:underline}#header-navi li a,#logoTitle,#tagsPanel .tagPanel,.article-title a,.error-panel a{text-decoration:none}h1{font-size:200%}h4{font-size:160%}h5{font-size:12px}.margin5R{margin-right:5px}.margin5{margin:5px}.wrapper{background:url(../images/light.gif) 50% 0 no-repeat;padding:20px 0}.content{margin:0 auto;width:936px}.header{background:url(../images/header.jpg) no-repeat;height:65px;padding:25px 30px 0}.body{background:url(../images/sidesep.gif) right center repeat-y #FFF;min-height:400px}.side-navi{background:url(../images/sidebar_shadow.gif) 50% 0 repeat-x #F7F7F7;font-size:95%;line-height:145%;padding-top:8px;width:300px}.main{background:url(../images/main_shadow.gif) center top repeat-x #FFF;padding:13px 15px 15px;width:605px}.footer{background:url(../images/footer.jpg) no-repeat;border-top:1px solid #CCC;font-size:11px;height:88px;line-height:145%;padding:0}#logoTitle{color:#FFF;display:block;font-family:"Trajan Pro";height:30px;outline:0}.sub-title{border-top:1px solid #FFF;color:#FFF;font-size:10px;padding:0 3px}#header-navi li a,#statistic{font-size:11px;line-height:31px}#header-navi{background:#FFF}.article-title,.comments{border-bottom:1px solid #CCC}#header-navi li{float:left;list-style:none;margin-left:0}#header-navi li a{background:url(../images/menu.gif) no-repeat;color:#382E1F;display:block;height:31px;margin-left:-10px;outline:0;padding:0 20px}#header-navi li a:hover{background-position:0 -31px}#header-navi li a.home{background-position:0 -93px;margin-left:0;padding:0;text-indent:-999em;width:45px}#header-navi li a.home:hover{background-position:0 -124px}#header-navi li a.lastNavi:hover{background-position:0 0}#header-navi li.selected a{background-position:0 -62px}#header-navi li.selected a.home{background-position:0 -155px}#statistic{margin-right:15px}.footer .copyright{padding:12px;width:857px}.footer .copyright span{margin:0}.footer .goTop{background:url(../images/icons.gif) 0 -304px no-repeat;color:#2A2A2A;line-height:18px;margin:5px 17px 0 0;padding-left:16px;width:22px;white-space:nowrap}.article{padding-bottom:15px;overflow:hidden}.article-title{font-size:16px;margin-top:10px;padding:0 5px 3px}.article-relative h4,.article-title sup,.comment-content,.comment-form button,.comment-info{font-size:12px}.article-title a{color:#4C4C4C}.article-title a:hover{color:#2970A6}.article-abstract{line-height:145%;margin:10px 0 10px 5px;word-wrap:break-word}.article-browserIcon,.articles-commentIcon,.authorIcon,.dateIcon,.tagsIcon{background:url(../images/icons.gif) 0 -400px no-repeat;float:left;height:16px;margin-right:6px;width:16px}.tagsIcon{background-position:0 -400px;margin-left:15px}.dateIcon{background-position:0 -48px;margin-left:15px}.authorIcon{background-position:0 0}.articles-commentIcon{background-position:0 -96px}.article-browserIcon{background-position:0 -480px}.article-body{line-height:145%;padding:5px 0 0 5px}.article-footer{margin:0 5px 10px}.article-relative{line-height:22px;margin-top:24px}.comments{background:#FCFCFC;border-top:1px solid #CCC;margin:15px -15px;padding:0 15px 15px;position:relative}.comment-title{background-color:#E3E9FF;border-top:1px solid #36C;padding:3px 12px;position:relative}.comment-body-ref{background-color:#FFF;filter:alpha(opacity=90);left:217px;opacity:.9;padding:6px;position:absolute;width:605px;z-index:10}.comment-body{margin-top:15px}.comment-author{float:left;text-align:center;width:81px}.comment-author div{background:url(../images/commentpoint.png) 100% 33% no-repeat;margin-top:10px;padding-right:14px}.comment-author img{border:1px solid #999;height:32px;padding:1px;width:32px}.comment-author a{font-weight:700;white-space:nowrap;margin-right:14px}.comment-info{background:url(../images/comment.gif) no-repeat #EDEFF0;padding:10px 15px 0;width:494px}.comment-content{background:url(../images/comment.gif) 100% 100% no-repeat;line-height:145%;margin:0 -15px;overflow:hidden;padding:9px 15px 10px;word-wrap:break-word}.comment-form input,.comment-form textarea{background:url(../images/textfield.gif) 50% 0 repeat-x #FFF;border:1px solid #A6A6A6;color:#555;font-family:Helvetica,Arial,sans-serif;height:16px;outline:0;padding:2px 1px;width:200px}.comment-form textarea{font-size:12px;height:auto;width:601px}.comment-form button{background:#B4D666;border-color:#B4D666 #81B840 #81B840 #B4D666;border-radius:0;border-style:solid;border-width:1px;color:#2970A6;height:24px;line-height:24px;padding:0 6px}.comment-form button:hover{background:#98C64C;border-color:#76B33A #98C64C #98C64C #76B33A;color:#074A7E}.em00,.em01,.em02,.em03,.em04,.em05,.em06,.em07,.em08,.em09,.em10,.em11,.em12,.Line truncated
|
||||||
-15
@@ -1,16 +1 @@
|
|||||||
/**
|
|
||||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
@media (max-width:860px) and (min-width:460px){.wrapper{width:720px}.main{width:460px}.form{width:auto}.form input{width:395px}.form textarea{width:434px}.em00,.em01,.em02,.em03,.em04,.em05,.em06,.em07,.em08,.em09,.em10,.em11,.em12,.em13,.em14{margin-right:4px}#comments .article-body{width:340px}#dynamic #comments .article-body{width:283px}.most-comment,.most-view{width:300px;margin-bottom:20px;margin-top:40px}.most-comment .text,.most-view .text{width:195px}.archives-tile,.links-tile,.tags-tile{width:670px}.archives-tile .text,.links-tile .text,.tags-tile .text{width:580px}.links-tile,.tags-tile{margin-left:0}}@media (max-width:460px){#comments>div,.archives,.comment-disabled,.main .pagination,.main>.article-body{margin-right:0}.comment-main,.header>.fn-left,.side,.top-info{float:none}.article-list>div,.main,.side,.wrapper{width:300px}#comments>div>img,#emotions,.footer,.sub-nav>.pagination{display:none}#search{width:237px}.side-tile{width:94px}.article-relative,.notice-board,.online-count,.share,.user{width:249px}#comments .article-body,.side>div{position:static!important;width:auto!important}.share div.text{left:173px}.form{width:auto}.form input{width:240px}.form textarea{width:285px;height:150px}#dynamic .main{margin-bottom:20px}.tags-tile{margin-bottom:50px}.article-title{width:280px}.article-info>a{padding:3px;font-size:12px}#dynamic #comments{padding-left:15px}.links-tile .title,.most-comment .title,.most-view .title,.tags-tile .title{float:right;font-size:15px;font-weight:700;margin:20px 0 0 40px}.most-comment,.most-view{width:249px;margin-left:0}.most-comment .text,.most-view .text{margin-right:0;width:274px;font-size:12px;font-weight:400}.links-tile,.tags-tile{width:249px;margin-left:0}.links-tile .text,.tags-tile .text{width:249px}}
|
@media (max-width:860px) and (min-width:460px){.wrapper{width:720px}.main{width:460px}.form{width:auto}.form input{width:395px}.form textarea{width:434px}.em00,.em01,.em02,.em03,.em04,.em05,.em06,.em07,.em08,.em09,.em10,.em11,.em12,.em13,.em14{margin-right:4px}#comments .article-body{width:340px}#dynamic #comments .article-body{width:283px}.most-comment,.most-view{width:300px;margin-bottom:20px;margin-top:40px}.most-comment .text,.most-view .text{width:195px}.archives-tile,.links-tile,.tags-tile{width:670px}.archives-tile .text,.links-tile .text,.tags-tile .text{width:580px}.links-tile,.tags-tile{margin-left:0}}@media (max-width:460px){#comments>div,.archives,.comment-disabled,.main .pagination,.main>.article-body{margin-right:0}.comment-main,.header>.fn-left,.side,.top-info{float:none}.article-list>div,.main,.side,.wrapper{width:300px}#comments>div>img,#emotions,.footer,.sub-nav>.pagination{display:none}#search{width:237px}.side-tile{width:94px}.article-relative,.notice-board,.online-count,.share,.user{width:249px}#comments .article-body,.side>div{position:static!important;width:auto!important}.share div.text{left:173px}.form{width:auto}.form input{width:240px}.form textarea{width:285px;height:150px}#dynamic .main{margin-bottom:20px}.tags-tile{margin-bottom:50px}.article-title{width:280px}.article-info>a{padding:3px;font-size:12px}#dynamic #comments{padding-left:15px}.links-tile .title,.most-comment .title,.most-view .title,.tags-tile .title{float:right;font-size:15px;font-weight:700;margin:20px 0 0 40px}.most-comment,.most-view{width:249px;margin-left:0}.most-comment .text,.most-view .text{margin-right:0;width:274px;font-size:12px;font-weight:400}.links-tile,.tags-tile{width:249px;margin-left:0}.links-tile .text,.tags-tile .text{width:249px}}
|
||||||
Vendored
-15
@@ -1,16 +1 @@
|
|||||||
/**
|
|
||||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
@charset "utf-8";.header,sub,sup{position:relative}.article-title,.fn-ellipsis{text-overflow:ellipsis;white-space:nowrap}@font-face{font-family:IcoMoon;src:url(font/IcoMoon.eot);src:url(font/IcoMoon.eot?#iefix) format('embedded-opentype'),url(font/IcoMoon.svg#IcoMoon) format('svg'),url(font/IcoMoon.woff) format('woff'),url(font/IcoMoon.ttf) format('truetype');font-weight:400;font-style:normal}[data-ico]:before{font-family:IcoMoon;content:attr(data-ico);speak:none;cursor:pointer}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{font-family:Verdana,arial,'\5fae\8f6f\96c5\9ed1';font-size:12px;background-color:#292929;min-height:1990px;margin:0;color:#D1D2D1}a{outline:0;text-decoration:none;color:#BDBEBD}a:hover{color:#FFF}a:focus{color:#9E0B0E!important}sub,sup{font-size:70%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{max-width:100%;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;font-family:'\5fae\8f6f\96c5\9ed1';outline:0}button,input{line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,input[type=button],input[type=reset],input[type=submit]{cursor:pointer;-webkit-appearance:button}input[type=search]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}textarea{overflow:auto;vertical-align:top}::selection{background-color:#D5D5D5;color:#FCFCFC}::-moz-selection{background-color:#D5D5D5;color:#FCFCFC}.fn-clear:after,.fn-clear:before{display:table;content:""}.fn-clear:after{clear:both}.fn-left{float:left}.fn-right{float:right}.fn-none{display:none}.fn-ellipsis{overflow:hidden;word-wrap:normal}.em00,.em01,.em02,.em03,.em04,.em05,.em06,.em07,.em08,.em09,.em10,.em11,.em12,.em13,.em14{cursor:pointer;background-image:url(../images/emotions/emotions-black.png);float:left;height:24px;margin-right:8px;width:24px;transition:all .2s ease-out;-webkit-transition:all .2s ease-out;-moz-transition:all .2s ease-out}#emotions span:hover{transform:scale(1.2) rotate(360deg);-webkit-transform:scale(1.2) rotate(360deg);-moz-transform:scale(1.2) rotate(360deg)}.em01{background-position:-24px 0}.em02{background-position:-48px 0}.em03{background-position:-72px 0}.em04{background-position:-96px 1px}.em05{background-position:0 -24px}.em06{background-position:-24px -24px}.em07{background-position:-48px -24px}.em08{background-position:-72px -24px}.em09{background-position:-96px -24px}.em10{background-position:0 -48px}.em11{background-position:-24px -48px}.em12{background-position:-48px -48px}.em13{background-position:-72px -48px}.em14{background-position:-96px -48px}.article-abstract .article-tags a:hover,.article-abstract .article-title a:hover,.article-body a,.article-relative a:hover,.footer a:hover{text-decoration:underline}.article-body a:hover{text-decoration:none}.wrapper{height:auto;margin:30px auto 10px;width:1190px}.footer{background-color:#141414;color:#FFF;padding:30px;margin-right:10px}.main{float:left;width:920px}.header .title{color:#E61E1E;padding:30px 0}.header .title:hover{color:#CA1B1E}.header .title>span:before{color:inherit}.top-info{font-size:38px;height:46px;line-height:46px}.top-info>hr{background-color:#7B7B7B;border:0;display:inline-block;height:42px;margin:2px 10px;padding:0;vertical-align:top;width:1px}#showTop,.navigation{display:none}.top-info a{color:#FFF}.top-info a:hover{color:#CA1B1E}.sub-nav{background-color:#E61E1E;color:#FFF;padding:30px;margin:30px 0}.sub-nav>h2{float:left;margin:0}.pagination{float:right;margin-top:5px}.pagination>a,.pagination>span{background-color:#EA4040;color:#FFF;padding:6px 7px;text-align:center;font-weight:700}.pagination>a:hover,.pagination>span{color:#E61E1E;background-color:#FFF}.navigation{background-color:#FFF;border:2px solid #BABABA;left:0;list-style:none;margin:0;min-width:223px;padding:0;position:absolute;top:63px;z-index:1}.navigation a{background-color:#FFF;border-bottom:1px solid #BABABA;color:#333;display:block;padding:10px 15px}.navigation a:hover{background-color:#E61E1E;color:#FFF}.navigation a.lats{border-bottom-width:0}.main .pagination{float:none;padding:20px 0 25px;text-align:right;margin-right:10px;line-height:34px}.article-list>div{background-color:#323232;float:left;height:220px;margin:5px 10px 5px 0;overflow:hidden;position:relative;width:450px}.article-abstract{background-color:#3E3E3E;opacity:.9;filter:alpha(opacity=90);position:absolute;top:0;width:100%;transition:all 1.2s;height:100%}.article-image{top:151px}.article-list>div:hover .article-image{top:0}.article-list>div>img{max-width:100%;transition:all 1.2s;display:block;margin:0 auto}.article-list>div:hover>img{transform:scale(1.2)}.article-date{float:left;margin:10px}.article-title{height:24px;line-height:24px;margin:0 10px;overflow:hidden;width:430Line truncated
|
@charset "utf-8";.header,sub,sup{position:relative}.article-title,.fn-ellipsis{text-overflow:ellipsis;white-space:nowrap}@font-face{font-family:IcoMoon;src:url(font/IcoMoon.eot);src:url(font/IcoMoon.eot?#iefix) format('embedded-opentype'),url(font/IcoMoon.svg#IcoMoon) format('svg'),url(font/IcoMoon.woff) format('woff'),url(font/IcoMoon.ttf) format('truetype');font-weight:400;font-style:normal}[data-ico]:before{font-family:IcoMoon;content:attr(data-ico);speak:none;cursor:pointer}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{font-family:Verdana,arial,'\5fae\8f6f\96c5\9ed1';font-size:12px;background-color:#292929;min-height:1990px;margin:0;color:#D1D2D1}a{outline:0;text-decoration:none;color:#BDBEBD}a:hover{color:#FFF}a:focus{color:#9E0B0E!important}sub,sup{font-size:70%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{max-width:100%;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;font-family:'\5fae\8f6f\96c5\9ed1';outline:0}button,input{line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,input[type=button],input[type=reset],input[type=submit]{cursor:pointer;-webkit-appearance:button}input[type=search]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}textarea{overflow:auto;vertical-align:top}::selection{background-color:#D5D5D5;color:#FCFCFC}::-moz-selection{background-color:#D5D5D5;color:#FCFCFC}.fn-clear:after,.fn-clear:before{display:table;content:""}.fn-clear:after{clear:both}.fn-left{float:left}.fn-right{float:right}.fn-none{display:none}.fn-ellipsis{overflow:hidden;word-wrap:normal}.em00,.em01,.em02,.em03,.em04,.em05,.em06,.em07,.em08,.em09,.em10,.em11,.em12,.em13,.em14{cursor:pointer;background-image:url(../images/emotions/emotions-black.png);float:left;height:24px;margin-right:8px;width:24px;transition:all .2s ease-out;-webkit-transition:all .2s ease-out;-moz-transition:all .2s ease-out}#emotions span:hover{transform:scale(1.2) rotate(360deg);-webkit-transform:scale(1.2) rotate(360deg);-moz-transform:scale(1.2) rotate(360deg)}.em01{background-position:-24px 0}.em02{background-position:-48px 0}.em03{background-position:-72px 0}.em04{background-position:-96px 1px}.em05{background-position:0 -24px}.em06{background-position:-24px -24px}.em07{background-position:-48px -24px}.em08{background-position:-72px -24px}.em09{background-position:-96px -24px}.em10{background-position:0 -48px}.em11{background-position:-24px -48px}.em12{background-position:-48px -48px}.em13{background-position:-72px -48px}.em14{background-position:-96px -48px}.article-abstract .article-tags a:hover,.article-abstract .article-title a:hover,.article-body a,.article-relative a:hover,.footer a:hover{text-decoration:underline}.article-body a:hover{text-decoration:none}.wrapper{height:auto;margin:30px auto 10px;width:1190px}.footer{background-color:#141414;color:#FFF;padding:30px;margin-right:10px}.main{float:left;width:920px}.header .title{color:#E61E1E;padding:30px 0}.header .title:hover{color:#CA1B1E}.header .title>span:before{color:inherit}.top-info{font-size:38px;height:46px;line-height:46px}.top-info>hr{background-color:#7B7B7B;border:0;display:inline-block;height:42px;margin:2px 10px;padding:0;vertical-align:top;width:1px}#showTop,.navigation{display:none}.top-info a{color:#FFF}.top-info a:hover{color:#CA1B1E}.sub-nav{background-color:#E61E1E;color:#FFF;padding:30px;margin:30px 0}.sub-nav>h2{float:left;margin:0}.pagination{float:right;margin-top:5px}.pagination>a,.pagination>span{background-color:#EA4040;color:#FFF;padding:6px 7px;text-align:center;font-weight:700}.pagination>a:hover,.pagination>span{color:#E61E1E;background-color:#FFF}.navigation{background-color:#FFF;border:2px solid #BABABA;left:0;list-style:none;margin:0;min-width:223px;padding:0;position:absolute;top:63px;z-index:1}.navigation a{background-color:#FFF;border-bottom:1px solid #BABABA;color:#333;display:block;padding:10px 15px}.navigation a:hover{background-color:#E61E1E;color:#FFF}.navigation a.lats{border-bottom-width:0}.main .pagination{float:none;padding:20px 0 25px;text-align:right;margin-right:10px;line-height:34px}.article-list>div{background-color:#323232;float:left;height:220px;margin:5px 10px 5px 0;overflow:hidden;position:relative;width:450px}.article-abstract{background-color:#3E3E3E;opacity:.9;filter:alpha(opacity=90);position:absolute;top:0;width:100%;transition:all 1.2s;height:100%}.article-image{top:151px}.article-list>div:hover .article-image{top:0}.article-list>div>img{max-width:100%;transition:all 1.2s;display:block;margin:0 auto}.article-list>div:hover>img{transform:scale(1.2)}.article-date{float:left;margin:10px}.article-title{height:24px;line-height:24px;margin:0 10px;overflow:hidden;width:430Line truncated
|
||||||
Vendored
-15
@@ -1,16 +1 @@
|
|||||||
/*
|
|
||||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
var MetroHot={headerH:$("#header").height()+30+($("#header > div").get(1)?30:0),responsiveType:"large",goTranslate:function(){window.open("http://translate.google.com/translate?sl=auto&tl=auto&u="+location.href)},init:function(){var t="";$("#admin a").each(function(){$(this).attr("href").indexOf("/logout?goto=")>-1&&(t=$(this).attr("href"))}),$("#logout, .logout").attr("href",t),$(".header .title, .navigation").mouseover(function(){$(".navigation").show()}).mouseout(function(){$(".navigation").hide()}),$(".header .title").click(function(){window.location.href=latkeConfig.servePath});var e=$("#top > span").first().text();$(".online-count .text").append(e.substr(1,e.length));var i=$("#admin").data("login");return i?($(".user .text").html($("#admin > span").text()),$(".login, .register, #login, #register, .logout, .settings").hide()):$(".login, .register, .user, .clear, .logout, .settings, #logout, #settings").hide(),1===$("#dynamic").length?($(window).scroll(function(){var t=$(window).scrollTop();t>MetroHot.headerH?$("#goTop").fadeIn("slow"):$("#goTop").hide()}).click(function(t){"title"!==t.target.className&&"title"!==t.target.parentElement.className&&$(".navigation").slideUp()}),void $("body").css("min-height","inherit")):($("#login, .login").attr("href",$("#admin > a").first().attr("href")),$(window).scroll(function(){var t=$(window).scrollTop();t>MetroHot.headerH?i?$(".logout, .settings").show():$(".login, .register").show():i?$(".logout, .settings").hide():$(".login, .register").hide(),t>MetroHot.headerH?$("#goTop").fadeIn("slow"):$("#goTop").hide(),$(".side > div").height()<620?t>MetroHot.headerH?$(".side > div").css({position:"fixed",top:"0px",width:"240px"}):$(".side > div").css("position","static"):t+Util.getWinHeight()>$(".side > div").height()+MetroHot.headerH?$(".side > div").css({position:"fixed",top:"auto",bottom:"10px",width:"240px"}):$(".side > div").css("position","static")}).click(function(t){"title"!==t.target.className&&"title"!==t.target.parentElement.className&&$(".navigation").slideUp()}).resize(function(){var t=window.innerWidth,e="large";t>460&&860>=t?e="mid":window<460&&(e="small"),MetroHot.responsiveType!==e&&($(window).scroll(),MetroHot.responsiveType===e)}),void $(window).scroll())},initArticleList:function(){$(".article-list .article-abstract").each(function(){var t=$(this),e=t.find("img");e.length>0&&(t.addClass("article-image"),e.hide(),t.before("<img onload='MetroHot.loadImg(this);' src='"+$(e[0]).attr("src")+"'/>"))})},loadImg:function(t){t.style.marginTop=(220-t.height)/2+"px"},share:function(){var t=encodeURIComponent($("title").text()),e=window.location.href,i=$(".article-body img").attr("src"),o={};o.tencent="http://share.v.t.qq.com/index.php?c=share&a=index&title="+t+"&url="+e+"&pic="+i,o.sina="http://v.t.sina.com.cn/share/share.php?title="+t+"&url="+e+"&pic="+i,o.google="https://plus.google.com/share?url="+e,o.twitter="https://twitter.com/intent/tweet?status="+t+" "+e,$(".share span").click(function(){var t=$(this).attr("title").toLowerCase();window.open(o[t],"_blank","top=100,left=200,width=648,height=618")})},loadRandomArticles:function(){$.ajax({url:latkeConfig.servePath+"/get-random-articles.do",type:"POST",success:function(t,e){var i=t.randomArticles;if(!i||0===i.length)return void $("#randomArticles").remove();for(var o="",r=0;r<i.length&&5>r;r++){var a=i[r],n=a.articleTitle,l="<li><a rel='nofollow' title='"+n+"' href='"+latkeConfig.servePath+a.articlePermalink+"'>"+n+"</a></li>";o+=l}var s="<ul>"+o+"</ul>";$("#randomArticles .text").append(s)}})},loadRelevantArticles:function(t){$.ajax({url:latkeConfig.servePath+"/article/id/"+t+"/relevant/articles",type:"GET",success:function(t,e){var i=t.relevantArticles;if(!i||0===i.length)return void $("#relevantArticles").remove();for(var o="",r=0;r<i.length&&5>r;r++){var a=i[r],n=a.articleTitle,l="<li><a rel='nofollow' title='"+n+"' href='"+latkeConfig.servePath+a.articlePermalink+"'>"+n+"</a></li>";o+=l}var s="<ul>"+o+"</ul>";$("#relevantArticles .text").append(s)},error:function(){$("#relevantArticles").remove()}})},loadExternalRelevantArticles:function(t){var e=this.tips;try{$.ajax({url:"http://rhythm.b3log.org:80/get-articles-by-tags.do?tags="+t+"&blogHost="+e.blogHost+"&paginationPageSize="+e.externalRelevantArticlesDisplayCount,type:"GET",cache:!0,dataType:"jsonp",error:function(){$("#externalRelevantArticles").remove()},success:function(t,e){var i=t.articles;if(!i||0===i.length)return void $("#externalRelevantArticles").remove();for(var o="",r=0;r<i.length&&5>r;r++){var a=i[r],n=a.articleTitle,l="<li><a rel='nofollow' title='"+n+"' target='_blank' href='"+a.articlePermalink+"'>"+n+"</a></li>";o+=l}var s="<ul>"+o+"</ul>";$("#externalRelevantArticles .text").append(s)}})}catch(i){$("#externalRelevantArticles").remove()}},goCmt:function(){$("html, body").animate({scrollTop:$(".comment-disabled").get(0).offsetTop})}};!function(){MetroHot.init(),Util.killIE(),$(".article-header").length>0?MetroHot.share():MetroHot.initArLine truncated
|
var MetroHot={headerH:$("#header").height()+30+($("#header > div").get(1)?30:0),responsiveType:"large",goTranslate:function(){window.open("http://translate.google.com/translate?sl=auto&tl=auto&u="+location.href)},init:function(){var t="";$("#admin a").each(function(){$(this).attr("href").indexOf("/logout?goto=")>-1&&(t=$(this).attr("href"))}),$("#logout, .logout").attr("href",t),$(".header .title, .navigation").mouseover(function(){$(".navigation").show()}).mouseout(function(){$(".navigation").hide()}),$(".header .title").click(function(){window.location.href=latkeConfig.servePath});var e=$("#top > span").first().text();$(".online-count .text").append(e.substr(1,e.length));var i=$("#admin").data("login");return i?($(".user .text").html($("#admin > span").text()),$(".login, .register, #login, #register, .logout, .settings").hide()):$(".login, .register, .user, .clear, .logout, .settings, #logout, #settings").hide(),1===$("#dynamic").length?($(window).scroll(function(){var t=$(window).scrollTop();t>MetroHot.headerH?$("#goTop").fadeIn("slow"):$("#goTop").hide()}).click(function(t){"title"!==t.target.className&&"title"!==t.target.parentElement.className&&$(".navigation").slideUp()}),void $("body").css("min-height","inherit")):($("#login, .login").attr("href",$("#admin > a").first().attr("href")),$(window).scroll(function(){var t=$(window).scrollTop();t>MetroHot.headerH?i?$(".logout, .settings").show():$(".login, .register").show():i?$(".logout, .settings").hide():$(".login, .register").hide(),t>MetroHot.headerH?$("#goTop").fadeIn("slow"):$("#goTop").hide(),$(".side > div").height()<620?t>MetroHot.headerH?$(".side > div").css({position:"fixed",top:"0px",width:"240px"}):$(".side > div").css("position","static"):t+Util.getWinHeight()>$(".side > div").height()+MetroHot.headerH?$(".side > div").css({position:"fixed",top:"auto",bottom:"10px",width:"240px"}):$(".side > div").css("position","static")}).click(function(t){"title"!==t.target.className&&"title"!==t.target.parentElement.className&&$(".navigation").slideUp()}).resize(function(){var t=window.innerWidth,e="large";t>460&&860>=t?e="mid":window<460&&(e="small"),MetroHot.responsiveType!==e&&($(window).scroll(),MetroHot.responsiveType===e)}),void $(window).scroll())},initArticleList:function(){$(".article-list .article-abstract").each(function(){var t=$(this),e=t.find("img");e.length>0&&(t.addClass("article-image"),e.hide(),t.before("<img onload='MetroHot.loadImg(this);' src='"+$(e[0]).attr("src")+"'/>"))})},loadImg:function(t){t.style.marginTop=(220-t.height)/2+"px"},share:function(){var t=encodeURIComponent($("title").text()),e=window.location.href,i=$(".article-body img").attr("src"),o={};o.tencent="http://share.v.t.qq.com/index.php?c=share&a=index&title="+t+"&url="+e+"&pic="+i,o.sina="http://v.t.sina.com.cn/share/share.php?title="+t+"&url="+e+"&pic="+i,o.google="https://plus.google.com/share?url="+e,o.twitter="https://twitter.com/intent/tweet?status="+t+" "+e,$(".share span").click(function(){var t=$(this).attr("title").toLowerCase();window.open(o[t],"_blank","top=100,left=200,width=648,height=618")})},loadRandomArticles:function(){$.ajax({url:latkeConfig.servePath+"/get-random-articles.do",type:"POST",success:function(t,e){var i=t.randomArticles;if(!i||0===i.length)return void $("#randomArticles").remove();for(var o="",r=0;r<i.length&&5>r;r++){var a=i[r],n=a.articleTitle,l="<li><a rel='nofollow' title='"+n+"' href='"+latkeConfig.servePath+a.articlePermalink+"'>"+n+"</a></li>";o+=l}var s="<ul>"+o+"</ul>";$("#randomArticles .text").append(s)}})},loadRelevantArticles:function(t){$.ajax({url:latkeConfig.servePath+"/article/id/"+t+"/relevant/articles",type:"GET",success:function(t,e){var i=t.relevantArticles;if(!i||0===i.length)return void $("#relevantArticles").remove();for(var o="",r=0;r<i.length&&5>r;r++){var a=i[r],n=a.articleTitle,l="<li><a rel='nofollow' title='"+n+"' href='"+latkeConfig.servePath+a.articlePermalink+"'>"+n+"</a></li>";o+=l}var s="<ul>"+o+"</ul>";$("#relevantArticles .text").append(s)},error:function(){$("#relevantArticles").remove()}})},loadExternalRelevantArticles:function(t){var e=this.tips;try{$.ajax({url:"http://rhythm.b3log.org:80/get-articles-by-tags.do?tags="+t+"&blogHost="+e.blogHost+"&paginationPageSize="+e.externalRelevantArticlesDisplayCount,type:"GET",cache:!0,dataType:"jsonp",error:function(){$("#externalRelevantArticles").remove()},success:function(t,e){var i=t.articles;if(!i||0===i.length)return void $("#externalRelevantArticles").remove();for(var o="",r=0;r<i.length&&5>r;r++){var a=i[r],n=a.articleTitle,l="<li><a rel='nofollow' title='"+n+"' target='_blank' href='"+a.articlePermalink+"'>"+n+"</a></li>";o+=l}var s="<ul>"+o+"</ul>";$("#externalRelevantArticles .text").append(s)}})}catch(i){$("#externalRelevantArticles").remove()}},goCmt:function(){$("html, body").animate({scrollTop:$(".comment-disabled").get(0).offsetTop})}};!function(){MetroHot.init(),Util.killIE(),$(".article-header").length>0?MetroHot.share():MetroHot.initArLine truncated
|
||||||
Vendored
-15
@@ -1,16 +1 @@
|
|||||||
/*
|
|
||||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
function convertEntities(t){var e,n;if(e=function(t){if(/&[^;]+;/.test(t)){var e=document.createElement("div");return e.innerHTML=t,e.firstChild?e.firstChild.nodeValue:t}return t},"string"==typeof t)return e(t);if("object"==typeof t)for(n in t)"string"==typeof t[n]&&(t[n]=e(t[n]));return t}
|
function convertEntities(t){var e,n;if(e=function(t){if(/&[^;]+;/.test(t)){var e=document.createElement("div");return e.innerHTML=t,e.firstChild?e.firstChild.nodeValue:t}return t},"string"==typeof t)return e(t);if("object"==typeof t)for(n in t)"string"==typeof t[n]&&(t[n]=e(t[n]));return t}
|
||||||
Vendored
-15
@@ -1,16 +1 @@
|
|||||||
/**
|
|
||||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
a:active,body{color:#333}.nav ul,.side ul{list-style:none}.recent-comments-content,.side .side-li li{text-overflow:ellipsis;-o-text-overflow:ellipsis;overflow:hidden}.article-body,.clear,.main,.side,.side .side-li li{overflow:hidden}#goTop,.form img,.translate-ico{cursor:pointer}a:link,input,textarea{outline:0}#tagsSide li a,.form th,.side .side-li a{white-space:nowrap}body,div,h1,h2,h3,h4,h5,h6,html,li,ul{margin:0;padding:0}::selection{background-color:#ccc;color:#fff}::-moz-selection{background-color:#ccc;color:#fff}body{font-family:"Lucida Grande",Verdana,"\5fae\8f6f\96c5\9ed1";font-size:12px;background-color:#F9F9F9}a:link{color:#21759B;text-decoration:none}a:visited{color:#555777}a:hover{color:#D54E21}img{vertical-align:middle;border:0}.left{float:left}.right{float:right}.clear{background-color:transparent;border:0;clear:both;display:block;font-size:0;height:0;line-height:0}.em-br,.em-span{line-height:24px}.none{display:none}.logo{padding:0 5px;text-shadow:0 0 1px #EEE}.tip{color:#D54E21;font-size:11px}.em00,.em01,.em02,.em03,.em04,.em05,.em06,.em07,.em08,.em09,.em10,.em11,.em12,.em13,.em14{background-image:url(../images/emotions/emotions-black.png);float:left;height:24px;margin-right:5px;width:24px}.collapse-ico,.date-ico,.expand-ico,.tag-ico,.translate-ico,.user-ico{background-repeat:no-repeat;height:16px}.em01{background-position:-24px 0}.em02{background-position:-48px 0}.em03{background-position:-72px 0}.em04{background-position:-96px 0}.em05{background-position:0 -24px}.em06{background-position:-24px -24px}.em07{background-position:-48px -24px}.em08{background-position:-72px -24px}.em09{background-position:-96px -24px}.em10{background-position:0 -48px}.em11{background-position:-24px -48px}.em12{background-position:-48px -48px}.em13{background-position:-72px -48px}.em14{background-position:-96px -48px}.em-span{float:left}#search,.collapse-ico,.date-ico,.expand-ico,.feed-ico,.tag-ico,.translate-ico,.user-ico{background-image:url(../images/icons.png)}.feed-ico{background-position:right -146px;background-repeat:no-repeat;color:#333;padding-right:24px}.translate-ico{background-position:1px -125px;border:1px solid #999;border-radius:3px;float:right;margin:6px 0 0 18px;padding:1px;width:16px}.translate-ico:hover{border-color:#D54E21;box-shadow:0 0 1px #999;background-color:#F2F2F2}.collapse-ico,.expand-ico{background-position:54px -84px;cursor:pointer}.collapse-ico{background-position:54px -69px}.date-ico,.tag-ico,.user-ico{display:block;padding-left:20px}.tag-ico{margin:6px 6px 0 0}.date-ico{float:left;background-position:0 -16px}.user-ico{background-position:0 -32px;float:left;margin-left:12px}.wrapper{margin:0 auto;width:960px}.body{border-top:2px solid #DDD}.main{float:left;margin:16px 0 50px;width:667px}.header{background:url(../images/icons.png) 0 -220px repeat-x #F2F2F2;padding:20px 0}.header .title{border-bottom:1px solid #242424;color:#000;font-size:26px;font-weight:400}.header .sub-title{color:#242424;font-size:11px}#search,.nav a{font-size:14px}#search{background-position:7px -99px;background-repeat:no-repeat;background-color:#FFF;border:1px solid #DDD;border-radius:2px;box-shadow:0 1px 1px rgba(0,0,0,.1) inset;color:#888;float:right;height:20px;line-height:145%;padding:3px 10px 3px 28px;width:24px;-moz-transition:width .4s ease,background .4s ease;-webkit-transition:width .4s ease,background .4s ease;transition:width .4s ease,background .4s ease}.nav a,.nav li,.nav ul{float:left}#search:focus{background-color:#F9F9F9;width:196px}.nav{background-color:#E9E9E9;border-bottom:1px solid #CCC}.nav a{color:#666;display:block;height:30px;line-height:30px;padding:0 15px;text-shadow:0 1px 0 #EEE}#goTop,.footer{font-size:11px}.nav a:hover{color:#D54E21;background-color:#DDD}.nav .current{background-color:#DDD;margin:-1px 0;padding-right:2px}.nav .current a{background-color:#F9F9F9;border-color:#CCC #CCC #F9F9F9;border-style:solid;border-width:1px 1px 3px;font-weight:700;height:33px;line-height:33px;margin:-2px 0 -3px;color:#333;text-shadow:1px 1px 1px #C6D9E9}.nav img{margin-left:3px}.nav .right{line-height:29px}.footer{background-color:#E9E9E9;border-top:3px solid #DDD;color:#999;padding:12px 0}.footer a{color:#787878}.footer a:hover{color:#D54E21}#goTop{background:url(../images/icons.png) 5px -51px no-repeat #DDD;border-radius:2px 2px 0 0;height:21px;line-height:21px;padding:0 10px 0 23px;position:absolute;right:56px;display:none}#goTop:hover{background-color:#EAEAEA}.side{float:right;width:278px;margin-bottom:50px}.side>div{border-bottom:1px solid #DEDEDE;padding:10px 5px 15px}.side h4{font-size:14px;line-height:32px}#archiveSide{list-style:square;margin-left:18px}#archiveSide .archive-year{color:#D54E21;font-weight:700;height:18px;line-height:18px;list-style:none}.side a{line-height:18px;color:#21759B}.side a:hover{text-decoration:underline}.article-element a,.pagination a,.recent-comments-content a:hover{text-decoration:none}.side sup{color:#333}.side .side-li li{width:268px}.recent-comments li>imLine truncated
|
a:active,body{color:#333}.nav ul,.side ul{list-style:none}.recent-comments-content,.side .side-li li{text-overflow:ellipsis;-o-text-overflow:ellipsis;overflow:hidden}.article-body,.clear,.main,.side,.side .side-li li{overflow:hidden}#goTop,.form img,.translate-ico{cursor:pointer}a:link,input,textarea{outline:0}#tagsSide li a,.form th,.side .side-li a{white-space:nowrap}body,div,h1,h2,h3,h4,h5,h6,html,li,ul{margin:0;padding:0}::selection{background-color:#ccc;color:#fff}::-moz-selection{background-color:#ccc;color:#fff}body{font-family:"Lucida Grande",Verdana,"\5fae\8f6f\96c5\9ed1";font-size:12px;background-color:#F9F9F9}a:link{color:#21759B;text-decoration:none}a:visited{color:#555777}a:hover{color:#D54E21}img{vertical-align:middle;border:0}.left{float:left}.right{float:right}.clear{background-color:transparent;border:0;clear:both;display:block;font-size:0;height:0;line-height:0}.em-br,.em-span{line-height:24px}.none{display:none}.logo{padding:0 5px;text-shadow:0 0 1px #EEE}.tip{color:#D54E21;font-size:11px}.em00,.em01,.em02,.em03,.em04,.em05,.em06,.em07,.em08,.em09,.em10,.em11,.em12,.em13,.em14{background-image:url(../images/emotions/emotions-black.png);float:left;height:24px;margin-right:5px;width:24px}.collapse-ico,.date-ico,.expand-ico,.tag-ico,.translate-ico,.user-ico{background-repeat:no-repeat;height:16px}.em01{background-position:-24px 0}.em02{background-position:-48px 0}.em03{background-position:-72px 0}.em04{background-position:-96px 0}.em05{background-position:0 -24px}.em06{background-position:-24px -24px}.em07{background-position:-48px -24px}.em08{background-position:-72px -24px}.em09{background-position:-96px -24px}.em10{background-position:0 -48px}.em11{background-position:-24px -48px}.em12{background-position:-48px -48px}.em13{background-position:-72px -48px}.em14{background-position:-96px -48px}.em-span{float:left}#search,.collapse-ico,.date-ico,.expand-ico,.feed-ico,.tag-ico,.translate-ico,.user-ico{background-image:url(../images/icons.png)}.feed-ico{background-position:right -146px;background-repeat:no-repeat;color:#333;padding-right:24px}.translate-ico{background-position:1px -125px;border:1px solid #999;border-radius:3px;float:right;margin:6px 0 0 18px;padding:1px;width:16px}.translate-ico:hover{border-color:#D54E21;box-shadow:0 0 1px #999;background-color:#F2F2F2}.collapse-ico,.expand-ico{background-position:54px -84px;cursor:pointer}.collapse-ico{background-position:54px -69px}.date-ico,.tag-ico,.user-ico{display:block;padding-left:20px}.tag-ico{margin:6px 6px 0 0}.date-ico{float:left;background-position:0 -16px}.user-ico{background-position:0 -32px;float:left;margin-left:12px}.wrapper{margin:0 auto;width:960px}.body{border-top:2px solid #DDD}.main{float:left;margin:16px 0 50px;width:667px}.header{background:url(../images/icons.png) 0 -220px repeat-x #F2F2F2;padding:20px 0}.header .title{border-bottom:1px solid #242424;color:#000;font-size:26px;font-weight:400}.header .sub-title{color:#242424;font-size:11px}#search,.nav a{font-size:14px}#search{background-position:7px -99px;background-repeat:no-repeat;background-color:#FFF;border:1px solid #DDD;border-radius:2px;box-shadow:0 1px 1px rgba(0,0,0,.1) inset;color:#888;float:right;height:20px;line-height:145%;padding:3px 10px 3px 28px;width:24px;-moz-transition:width .4s ease,background .4s ease;-webkit-transition:width .4s ease,background .4s ease;transition:width .4s ease,background .4s ease}.nav a,.nav li,.nav ul{float:left}#search:focus{background-color:#F9F9F9;width:196px}.nav{background-color:#E9E9E9;border-bottom:1px solid #CCC}.nav a{color:#666;display:block;height:30px;line-height:30px;padding:0 15px;text-shadow:0 1px 0 #EEE}#goTop,.footer{font-size:11px}.nav a:hover{color:#D54E21;background-color:#DDD}.nav .current{background-color:#DDD;margin:-1px 0;padding-right:2px}.nav .current a{background-color:#F9F9F9;border-color:#CCC #CCC #F9F9F9;border-style:solid;border-width:1px 1px 3px;font-weight:700;height:33px;line-height:33px;margin:-2px 0 -3px;color:#333;text-shadow:1px 1px 1px #C6D9E9}.nav img{margin-left:3px}.nav .right{line-height:29px}.footer{background-color:#E9E9E9;border-top:3px solid #DDD;color:#999;padding:12px 0}.footer a{color:#787878}.footer a:hover{color:#D54E21}#goTop{background:url(../images/icons.png) 5px -51px no-repeat #DDD;border-radius:2px 2px 0 0;height:21px;line-height:21px;padding:0 10px 0 23px;position:absolute;right:56px;display:none}#goTop:hover{background-color:#EAEAEA}.side{float:right;width:278px;margin-bottom:50px}.side>div{border-bottom:1px solid #DEDEDE;padding:10px 5px 15px}.side h4{font-size:14px;line-height:32px}#archiveSide{list-style:square;margin-left:18px}#archiveSide .archive-year{color:#D54E21;font-weight:700;height:18px;line-height:18px;list-style:none}.side a{line-height:18px;color:#21759B}.side a:hover{text-decoration:underline}.article-element a,.pagination a,.recent-comments-content a:hover{text-decoration:none}.side sup{color:#333}.side .side-li li{width:268px}.recent-comments li>imLine truncated
|
||||||
Vendored
-15
@@ -1,16 +1 @@
|
|||||||
/*
|
|
||||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
var goTop=function(e){e=e||.1;var a=$(window).scrollTop(),t=1+e;if(window.scrollTo(0,Math.floor(a/t)),a>0){var n="goTop("+e+")";window.setTimeout(n,16)}},collapseArchive=function(e,a){var t=!0;"collapse-ico"===e.className?(e.className="expand-ico",t=!1):e.className="collapse-ico",$("#archiveSide li").each(function(){var e=$(this);e.data("year")===a&&(t?$(this).show():$(this).hide())})},getArticle=function(e,a){var t=$("#abstract"+a),n=$("#content"+a);return""===n.html()?$.ajax({url:"/get-article-content?id="+a,type:"GET",dataType:"html",beforeSend:function(){t.css("background","url(/skins/neoease/images/ajax-loader.gif) no-repeat scroll center center transparent")},success:function(a,i){e.className="collapse-ico",n.html(a),t.hide().css("background","none"),n.fadeIn("slow")}}):"expand-ico"===e.className?(t.hide(),n.fadeIn(),e.className="collapse-ico"):(n.hide(),t.fadeIn(),e.className="expand-ico"),!1},goTranslate=function(){window.open("http://translate.google.com/translate?sl=auto&tl=auto&u="+location.href)};!function(){$(window).scroll(function(){var e=$(window).scrollTop();if(e>182){var a=$(window).height(),t=e+a-21;$("body").height()-58<=e+a&&(t=$(".footer").offset().top-21),$("#goTop").fadeIn("slow").css("top",t)}else $("#goTop").hide()});var e=(new Date).getFullYear(),a=e;$("#archiveSide li").each(function(t){var n=$(this);n.data("year")!==e&&$(this).hide(),a!==n.data("year")&&(a=n.data("year"),n.before("<li class='archive-year'><div onclick='collapseArchive(this, "+a+")' class='expand-ico'>"+a+" 年</div></li>"))}),$(".recent-comments .expand-ico").click(function(){"expand-ico"===this.className?($(this).parent().next().css({height:"auto","white-space":"normal"}),this.className="collapse-ico"):($(this).parent().next().animate({height:"18px"},function(){$(this).css("white-space","nowrap")}),this.className="expand-ico")}),$(".nav ul li").each(function(){var e=$(this).find("a");e.attr("href")===latkeConfig.servePath+location.pathname?$(this).addClass("current"):/\/[0-9]+$/.test(location.pathname)&&($(".nav ul li")[0].className="current")}),Util.init(),Util.replaceSideEm($(".recent-comments-content")),Util.buildTags("tagsSide"),$(".recent-comments .recent-comments-main").each(function(){$(this).find(".recent-comments-content>a").height()<30?$(this).find(".expand-ico").remove():$(this).find(".expand-ico").parent().next().css({"white-space":"nowrap"})})}();
|
var goTop=function(e){e=e||.1;var a=$(window).scrollTop(),t=1+e;if(window.scrollTo(0,Math.floor(a/t)),a>0){var n="goTop("+e+")";window.setTimeout(n,16)}},collapseArchive=function(e,a){var t=!0;"collapse-ico"===e.className?(e.className="expand-ico",t=!1):e.className="collapse-ico",$("#archiveSide li").each(function(){var e=$(this);e.data("year")===a&&(t?$(this).show():$(this).hide())})},getArticle=function(e,a){var t=$("#abstract"+a),n=$("#content"+a);return""===n.html()?$.ajax({url:"/get-article-content?id="+a,type:"GET",dataType:"html",beforeSend:function(){t.css("background","url(/skins/neoease/images/ajax-loader.gif) no-repeat scroll center center transparent")},success:function(a,i){e.className="collapse-ico",n.html(a),t.hide().css("background","none"),n.fadeIn("slow")}}):"expand-ico"===e.className?(t.hide(),n.fadeIn(),e.className="collapse-ico"):(n.hide(),t.fadeIn(),e.className="expand-ico"),!1},goTranslate=function(){window.open("http://translate.google.com/translate?sl=auto&tl=auto&u="+location.href)};!function(){$(window).scroll(function(){var e=$(window).scrollTop();if(e>182){var a=$(window).height(),t=e+a-21;$("body").height()-58<=e+a&&(t=$(".footer").offset().top-21),$("#goTop").fadeIn("slow").css("top",t)}else $("#goTop").hide()});var e=(new Date).getFullYear(),a=e;$("#archiveSide li").each(function(t){var n=$(this);n.data("year")!==e&&$(this).hide(),a!==n.data("year")&&(a=n.data("year"),n.before("<li class='archive-year'><div onclick='collapseArchive(this, "+a+")' class='expand-ico'>"+a+" 年</div></li>"))}),$(".recent-comments .expand-ico").click(function(){"expand-ico"===this.className?($(this).parent().next().css({height:"auto","white-space":"normal"}),this.className="collapse-ico"):($(this).parent().next().animate({height:"18px"},function(){$(this).css("white-space","nowrap")}),this.className="expand-ico")}),$(".nav ul li").each(function(){var e=$(this).find("a");e.attr("href")===latkeConfig.servePath+location.pathname?$(this).addClass("current"):/\/[0-9]+$/.test(location.pathname)&&($(".nav ul li")[0].className="current")}),Util.init(),Util.replaceSideEm($(".recent-comments-content")),Util.buildTags("tagsSide"),$(".recent-comments .recent-comments-main").each(function(){$(this).find(".recent-comments-content>a").height()<30?$(this).find(".expand-ico").remove():$(this).find(".expand-ico").parent().next().css({"white-space":"nowrap"})})}();
|
||||||
Vendored
+1
-16
@@ -1,16 +1 @@
|
|||||||
/**
|
@charset "utf-8";a.selected,header p{color:#000}H2,blockquote{margin:0 0 20px}blockquote,cite{padding:5px 10px}article,article label,aside,footer,header,hgroup,nav,pre code,section,time{display:block}#mostCommentArticles li,#mostViewCountArticles li,aside ul.aside-comments li div.left div{text-overflow:ellipsis;-o-text-overflow:ellipsis;overflow:hidden}.comment-form img,footer div{cursor:pointer}#a,.adspace{box-shadow:0 2px 2px rgba(0,0,0,.3)}.gallery,nav ul{list-style:none}a,article,aside,body,dd,dl,dt,footer,h1,h2,h3,header,html,li,nav,p,section,table,tbody,td,tfoot,th,thead,time,tr,ul{border:0;font:12px/22px Verdana,sans-serif;margin:0;outline:0;padding:0}H1,H1 a{font-size:15px}.vevent dt,H1,H1 a,H3,H4,H5,H6,a.selected,article label,aside ul.aside-comments a,cite,dd.summary,header a:active,header a:link,header a:visited,header p{font-weight:700}H1,H3,H4,H5,H6,header,pre code{margin:0 0 10px}header,header p{padding:10px;border-radius:4px}BODY{background:#DDD;margin:0;color:#444}A,A:ACTIVE,A:LINK,A:VISITED{color:#016f93;text-decoration:none}A:HOVER{color:#DB0202}H1,H3,H4,H5,H6{background:url(../images/ai4.png) 0 7px no-repeat;border-bottom:1px solid #CCC;color:#666;padding:0 0 0 25px}H1{background:url(../images/ai4.png) 0 6px no-repeat}H2{font-size:14px}H3{background:url(../images/ai5.png) 0 7px no-repeat}H3,H4,H5,H6{font-size:13px}h4{background-position:0 5px}sup{color:#444;top:-4px}header{background:url(../images/hd.jpg) top left no-repeat #0098CC;height:200px;position:relative}header a:active,header a:link,header a:visited{color:#FFF;font-size:16px}header a:hover{color:#FFF}header p{background:#FFF;bottom:20px;opacity:.5;position:absolute;right:20px;width:400px}.comment-title,.comments,.vevent dt{position:relative}article{border-radius:4px;background:#FFF;border:1px solid #CCC;float:right;height:auto;padding:20px;width:550px}article h1{color:#666;font-weight:700;font-size:15px}.highlight-1,.highlight-2,.highlight-3{-moz-border-radius:4px;-webkit-border-radius:4px;padding:5px 10px}.highlight-1{background:#FCC;border:1px dotted #F96}.highlight-2{background:#FF9;border:1px dotted #FC3}.highlight-3{background:#CF9;border:1px dotted #CC3}aside,pre code{background:#EEE}.vevent dd,blockquote,cite,pre code{border-left:2px solid #0098CC}cite{color:#666;font-size:12px;font-style:normal;margin:0}.vevent dt,pre{font-size:10px}blockquote{color:#666}pre{color:#333;line-height:15px;overflow:hidden;overflow-y:hidden}pre code{padding:5px}dl.vevent{margin:-20px 0 20px;padding:0}.vevent dt{left:0;top:22px}.vevent a,.vevent dd{font-size:11px}.vevent dd{margin:0 0 0 80px;padding:0 0 0 10px}article form{border-radius:4px;background:#DDD;margin:0 0 20px;padding:10px}article label{color:#666;font-size:10px;margin:0 0 0 2px}.s input,nav li li a{font-size:11px}article input,article textarea{border-radius:4px;border:1px solid #CCC;font-size:11px;padding:4px 5px;width:458px}article ul,aside ul{list-style:none;margin:0 0 20px}article ul{margin:0 0 20px 23px}article ul li{background:url(../images/ai2.png) 0 8px no-repeat;padding:0 0 0 17px}aside{float:left;margin:0 0 20px;width:200px;white-space:normal}#mostCommentArticles a,#mostViewCountArticles a,.comment-author a,footer div{white-space:nowrap}aside ul.aside-comments img{border-radius:4px;width:32px;height:32px;border:1px solid #999;padding:1px;margin-top:5px;margin-right:5px}aside ul.aside-comments .side-comment{color:#555;font-weight:400;overflow:hidden;white-space:nowrap;width:158px;height:18px}aside ul.aside-comments div.left>div>div{display:none}aside ul.aside-comments .side-comment img{border:0;height:16px;width:16px;padding:0;margin-right:0;margin-top:0}aside ul.aside-comments li{padding:2px 0}aside ul.aside-comments li div{width:158px}aside ul.aside-comments li div.left div{height:18px;line-height:18px}aside ul.navi-tags li{padding-left:0;background-image:none}aside ul.navi-tags li img{margin-bottom:3px;padding-right:6px;height:16px;width:16px}.s{margin:0 0 20px;padding:10px;width:179px}.s input{border-radius:4px;border:1px solid #AAA;color:#999;padding:4px 5px;width:168px}nav li{background:url(../images/ai1.png) 0 8px no-repeat;padding:0 0 0 15px}aside li ul li ul,nav li ul{margin:0}nav li li li a{font-size:10px}aside li.active li li,nav li li li{background:url(../images/ai8.png) 0 10px no-repeat}aside li.active li,nav li.active{background:url(../images/ai2.png) 0 8px no-repeat}.gallery{margin:0 0 10px}.gallery li{display:inline;margin:0 15px 0 0}.gallery a img{border:1px solid #999;height:50px;opacity:.8;padding:1px;width:50px}.gallery li:last-child{margin:0 0 10px}.gallery a img:hover{opacity:1}.adspace{border-radius:4px;background:#EEE;height:100%;margin:0 0 20px;padding:5px 10px;text-align:center;width:178px}.adspace a img{border:none}#tagcloud{overflow:hidden;width:200px}#tagcloud li{display:inline;margin:0 10px 0 0}.tagcloudsize-1 a{font-size:14px}.tagcloudsize-2 a{font-size:16px}.tagcloudsize-3 a{font-size:18px}footer{border-top:1px dotted #B5B3A9;clear:both;margLine truncated
|
||||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
@charset "utf-8";a.selected,header p{color:#000}H2,blockquote{margin:0 0 20px}blockquote,cite{padding:5px 10px}H1,H3,H4,H5,H6,header,pre code{margin:0 0 10px}article,article label,aside,footer,header,hgroup,nav,pre code,section,time{display:block}#mostCommentArticles li,#mostViewCountArticles li,aside ul.aside-comments li div.left div{text-overflow:ellipsis;-o-text-overflow:ellipsis;overflow:hidden}.comment-form img,footer div{cursor:pointer}#a,.adspace{box-shadow:0 2px 2px rgba(0,0,0,.3)}.gallery,nav ul{list-style:none}a,article,aside,body,dd,dl,dt,footer,h1,h2,h3,header,html,li,nav,p,section,table,tbody,td,tfoot,th,thead,time,tr,ul{border:0;font:12px/22px Verdana,sans-serif;margin:0;outline:0;padding:0}article,header,header p{border-radius:4px}H1,H1 a{font-size:15px}.vevent dt,H1,H1 a,H3,H4,H5,H6,a.selected,article label,aside ul.aside-comments a,cite,dd.summary,header a:active,header a:link,header a:visited,header p{font-weight:700}BODY{background:#DDD;margin:0;color:#444}A,A:ACTIVE,A:LINK,A:VISITED{color:#016f93;text-decoration:none}A:HOVER{color:#DB0202}H1,H3,H4,H5,H6{background:url(../images/ai4.png) 0 7px no-repeat;border-bottom:1px solid #CCC;color:#666;padding:0 0 0 25px}H1{background:url(../images/ai4.png) 0 6px no-repeat}H2{font-size:14px}H3{background:url(../images/ai5.png) 0 7px no-repeat}H3,H4,H5,H6{font-size:13px}h4{background-position:0 5px}sup{color:#444;top:-4px}header{background:url(../images/hd.jpg) top left no-repeat #0098CC;height:200px;padding:10px;position:relative}header a:active,header a:link,header a:visited{color:#FFF;font-size:16px}header a:hover{color:#FFF}header p{background:#FFF;bottom:20px;opacity:.5;padding:10px;position:absolute;right:20px;width:400px}.comment-title,.comments,.vevent dt{position:relative}article{background:#FFF;border:1px solid #CCC;float:right;height:auto;padding:20px;width:550px}article h1{color:#666;font-weight:700;font-size:15px}.highlight-1,.highlight-2,.highlight-3{-moz-border-radius:4px;-webkit-border-radius:4px;padding:5px 10px}.highlight-1{background:#FCC;border:1px dotted #F96}.highlight-2{background:#FF9;border:1px dotted #FC3}.highlight-3{background:#CF9;border:1px dotted #CC3}aside,pre code{background:#EEE}.vevent dd,blockquote,cite,pre code{border-left:2px solid #0098CC}cite{color:#666;font-size:12px;font-style:normal;margin:0}.vevent dt,pre{font-size:10px}blockquote{color:#666}pre{color:#333;line-height:15px;overflow:hidden;overflow-y:hidden}pre code{padding:5px}dl.vevent{margin:-20px 0 20px;padding:0}.vevent dt{left:0;top:22px}.vevent a,.vevent dd{font-size:11px}.vevent dd{margin:0 0 0 80px;padding:0 0 0 10px}article form{border-radius:4px;background:#DDD;margin:0 0 20px;padding:10px}article label{color:#666;font-size:10px;margin:0 0 0 2px}.s input,nav li li a{font-size:11px}article input,article textarea{border-radius:4px;border:1px solid #CCC;font-size:11px;padding:4px 5px;width:458px}article ul,aside ul{list-style:none;margin:0 0 20px}article ul{margin:0 0 20px 23px}article ul li{background:url(../images/ai2.png) 0 8px no-repeat;padding:0 0 0 17px}aside{float:left;margin:0 0 20px;width:200px;white-space:normal}#mostCommentArticles a,#mostViewCountArticles a,.comment-author a,footer div{white-space:nowrap}aside ul.aside-comments img{border-radius:4px;width:32px;height:32px;border:1px solid #999;padding:1px;margin-top:5px;margin-right:5px}aside ul.aside-comments .side-comment{color:#555;font-weight:400;overflow:hidden;white-space:nowrap;width:158px;height:18px}aside ul.aside-comments div.left>div>div{display:none}aside ul.aside-comments .side-comment img{border:0;height:16px;width:16px;padding:0;margin-right:0;margin-top:0}aside ul.aside-comments li{padding:2px 0}aside ul.aside-comments li div{width:158px}aside ul.aside-comments li div.left div{height:18px;line-height:18px}aside ul.navi-tags li{padding-left:0;background-image:none}aside ul.navi-tags li img{margin-bottom:3px;padding-right:6px;height:16px;width:16px}.s{margin:0 0 20px;padding:10px;width:179px}.s input{border-radius:4px;border:1px solid #AAA;color:#999;padding:4px 5px;width:168px}nav li{background:url(../images/ai1.png) 0 8px no-repeat;padding:0 0 0 15px}aside li ul li ul,nav li ul{margin:0}nav li li li a{font-size:10px}aside li.active li li,nav li li li{background:url(../images/ai8.png) 0 10px no-repeat}aside li.active li,nav li.active{background:url(../images/ai2.png) 0 8px no-repeat}.gallery{margin:0 0 10px}.gallery li{display:inline;margin:0 15px 0 0}.gallery a img{border:1px solid #999;height:50px;opacity:.8;padding:1px;width:50px}.gallery li:last-child{margin:0 0 10px}.gallery a img:hover{opacity:1}.adspace{border-radius:4px;background:#EEE;height:100%;margin:0 0 20px;padding:5px 10px;text-align:center;width:178px}.adspace a img{border:none}#tagcloud{overflow:hidden;width:200px}#tagcloud li{display:inline;margin:0 10px 0 0}.tagcloudsize-1 a{font-size:14px}.tagcloudsize-2 a{font-size:16px}.tagcloudsize-3 a{font-size:18px}footer{border-top:1px dotted #B5B3A9;clear:both;mLine truncated
|
|
||||||
Vendored
-15
@@ -1,16 +1 @@
|
|||||||
/**
|
|
||||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
#tags a:hover,a{text-decoration:none}.articles,.module{position:relative}.articles pre,.header .sub-title,.module{word-wrap:break-word}#tags li,.header li,.module>ul.list,.nav-abs li{list-style-type:none}.clear,.fn-clear:after{clear:both}body,html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;margin:0;padding:0;height:100%}body{font:.81em Verdana,arial,'\5fae\8f6f\96c5\9ed1';color:#666;background-color:#363A3D;overflow-y:scroll}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;font-family:Verdana,arial,'\5fae\8f6f\96c5\9ed1';outline:0}a{color:#6599C6;outline:0;transition:color 1s ease 0s}a:hover{color:#000}img{max-width:100%;border:0;vertical-align:middle}::selection{background-color:#D5D5D5;color:#FCFCFC}::-moz-selection{background-color:#D5D5D5;color:#FCFCFC}.left{float:left}.right{float:right}.clear{background-color:transparent;border:0;display:block;font-size:0;height:0;line-height:0;overflow:hidden}.none{display:none}.fn-clear:after,.fn-clear:before{display:table;content:""}.em00,.em01,.em02,.em03,.em04,.em05,.em06,.em07,.em08,.em09,.em10,.em11,.em12,.em13,.em14{cursor:pointer;background-image:url(../../ease/images/emotions/emotions-ease.png);float:left;height:24px;margin-right:5px;width:24px;transition:all .2s ease-out;-webkit-transition:all .2s ease-out;-moz-transition:all .2s ease-out}#emotions span:hover{transform:scale(1.2) rotate(360deg);-webkit-transform:scale(1.2) rotate(360deg);-moz-transform:scale(1.2) rotate(360deg)}.em01{background-position:-24px 0}.em02{background-position:-48px 0}.em03{background-position:-72px 0}.em04{background-position:-96px 1px}.em05{background-position:0 -24px}.em06{background-position:-24px -24px}.em07{background-position:-48px -24px}.em08{background-position:-72px -24px}.em09{background-position:-96px -24px}.em10{background-position:0 -48px}.em11{background-position:-24px -48px}.em12{background-position:-48px -48px}.em13{background-position:-72px -48px}.em14{background-position:-96px -48px}#tags{margin:0}#tags li{float:left;height:45px}#tags a{background-color:#FCFCFC;box-shadow:0 0 2px #D5D5D5;display:block;margin:5px 10px;padding:5px 10px}#tags a:hover{text-shadow:0 0 2px;box-shadow:0 0 4px #D5D5D5}.header .title a,.header li a{text-shadow:0 1px 0 rgba(255,255,255,.7)}#tags b{font-size:70%;opacity:.6;filter:alpha(opacity=60)}.tags1,.tags1:visited{font-size:12px;color:#a7a7a7}.tags2,.tags2:visited{font-size:14px;color:grey}.tags3,.tags3:visited{font-size:16px;color:#595959}.tags4,.tags4:visited{font-size:18px;color:#323232}.tags5,.tags5:visited{font-size:20px;color:#0a0a0a}.module{background-color:#FFF;border:1px solid #BEC3C7;border-radius:5px;box-shadow:0 1px 1px rgba(0,0,0,.1);margin-bottom:30px;padding:15px}.module>h3.title{margin:0 0 10px;color:#444}.module>ul.list{padding-left:0;margin:0;overflow:hidden}.module>ul.list>li{border-top:1px solid #EEE;padding:6px 0}#search,.articles .arrow,.ico-author,.ico-comment,.ico-reply,.ico-tags,.ico-top,.ico-translate,.ico-view{background-repeat:no-repeat;background-image:url(../images/icons.png)}.ico-author,.ico-comment,.ico-reply,.ico-tags,.ico-view{padding-left:20px;background-position:-1px -63px;margin-right:10px}.ico-tags{background-position:-1px -83px}.ico-comment{background-position:-1px -41px}.ico-view{background-position:0 -122px}.ico-reply{background-position:0 -162px}.ico-translate{background-position:0 -186px;cursor:pointer;float:right;height:16px;margin-left:10px;width:16px}#search{background-position:5px -138px;border:none;border-radius:12px;box-shadow:0 1px 0 rgba(0,0,0,.4) inset,0 1px 0 rgba(255,255,255,.1);color:#A5A099;height:22px;margin-top:13px;margin-bottom:10px;padding-left:25px;transition:width .7s ease 0s;width:60px}#search:focus{color:#333;width:140px}.ico-top{background-color:#363A3D;background-position:4px -100px;border-radius:20em;bottom:60px;box-shadow:0 -1px 2px rgba(0,0,0,.3) inset,0 1px 0 rgba(255,255,255,.15);height:25px;position:fixed;left:90%;width:25px;cursor:pointer}.ico-next,.ico-pre{background-color:#6599C6;border-radius:10em;color:#FFF;display:block;float:left;font:20px/100% "Times New Roman",Times,serif;height:28px;margin:-8px 10px 0 0;padding:4px 0 0;text-align:center;transition:background 1s ease 0s;width:32px}.ico-next{float:right;margin:-8px 0 0 10px}a:hover>.ico-next,a:hover>.ico-pre{background-color:#000}.wrapper{min-width:400px;padding:50px 0;background:url(../images/bg.png) #DEE4EA}.header{background-color:#BFBFBF;background-image:url(../images/nav-bg.png),linear-gradient(#CCC,#A9A9A9);background-image:url(../images/nav-bg.png),-ms-linear-gradient(#CCC,#A9A9A9);background-image:url(../images/nav-bg.png),-o-linear-gradient(#CCC,#A9A9A9);background-image:url(../images/nav-bg.png),-webkit-linear-gradient(#CCC,#A9A9A9);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#CCCCCC', endColorstr='#A9A9A9');border-bottom:1px solid #898989;box-shadow:0 -1px 0 rgba(255,255,255,.3) inset,0 1px 1px rgba(0,0,0,.2)}.containeLine truncated
|
#tags a:hover,a{text-decoration:none}.articles,.module{position:relative}.articles pre,.header .sub-title,.module{word-wrap:break-word}#tags li,.header li,.module>ul.list,.nav-abs li{list-style-type:none}.clear,.fn-clear:after{clear:both}body,html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;margin:0;padding:0;height:100%}body{font:.81em Verdana,arial,'\5fae\8f6f\96c5\9ed1';color:#666;background-color:#363A3D;overflow-y:scroll}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;font-family:Verdana,arial,'\5fae\8f6f\96c5\9ed1';outline:0}a{color:#6599C6;outline:0;transition:color 1s ease 0s}a:hover{color:#000}img{max-width:100%;border:0;vertical-align:middle}::selection{background-color:#D5D5D5;color:#FCFCFC}::-moz-selection{background-color:#D5D5D5;color:#FCFCFC}.left{float:left}.right{float:right}.clear{background-color:transparent;border:0;display:block;font-size:0;height:0;line-height:0;overflow:hidden}.none{display:none}.fn-clear:after,.fn-clear:before{display:table;content:""}.em00,.em01,.em02,.em03,.em04,.em05,.em06,.em07,.em08,.em09,.em10,.em11,.em12,.em13,.em14{cursor:pointer;background-image:url(../../ease/images/emotions/emotions-ease.png);float:left;height:24px;margin-right:5px;width:24px;transition:all .2s ease-out;-webkit-transition:all .2s ease-out;-moz-transition:all .2s ease-out}#emotions span:hover{transform:scale(1.2) rotate(360deg);-webkit-transform:scale(1.2) rotate(360deg);-moz-transform:scale(1.2) rotate(360deg)}.em01{background-position:-24px 0}.em02{background-position:-48px 0}.em03{background-position:-72px 0}.em04{background-position:-96px 1px}.em05{background-position:0 -24px}.em06{background-position:-24px -24px}.em07{background-position:-48px -24px}.em08{background-position:-72px -24px}.em09{background-position:-96px -24px}.em10{background-position:0 -48px}.em11{background-position:-24px -48px}.em12{background-position:-48px -48px}.em13{background-position:-72px -48px}.em14{background-position:-96px -48px}#tags{margin:0}#tags li{float:left;height:45px}#tags a{background-color:#FCFCFC;box-shadow:0 0 2px #D5D5D5;display:block;margin:5px 10px;padding:5px 10px}#tags a:hover{text-shadow:0 0 2px;box-shadow:0 0 4px #D5D5D5}.header .title a,.header li a{text-shadow:0 1px 0 rgba(255,255,255,.7)}#tags b{font-size:70%;opacity:.6;filter:alpha(opacity=60)}.tags1,.tags1:visited{font-size:12px;color:#a7a7a7}.tags2,.tags2:visited{font-size:14px;color:grey}.tags3,.tags3:visited{font-size:16px;color:#595959}.tags4,.tags4:visited{font-size:18px;color:#323232}.tags5,.tags5:visited{font-size:20px;color:#0a0a0a}.module{background-color:#FFF;border:1px solid #BEC3C7;border-radius:5px;box-shadow:0 1px 1px rgba(0,0,0,.1);margin-bottom:30px;padding:15px}.module>h3.title{margin:0 0 10px;color:#444}.module>ul.list{padding-left:0;margin:0;overflow:hidden}.module>ul.list>li{border-top:1px solid #EEE;padding:6px 0}#search,.articles .arrow,.ico-author,.ico-comment,.ico-reply,.ico-tags,.ico-top,.ico-translate,.ico-view{background-repeat:no-repeat;background-image:url(../images/icons.png)}.ico-author,.ico-comment,.ico-reply,.ico-tags,.ico-view{padding-left:20px;background-position:-1px -63px;margin-right:10px}.ico-tags{background-position:-1px -83px}.ico-comment{background-position:-1px -41px}.ico-view{background-position:0 -122px}.ico-reply{background-position:0 -162px}.ico-translate{background-position:0 -186px;cursor:pointer;float:right;height:16px;margin-left:10px;width:16px}#search{background-position:5px -138px;border:none;border-radius:12px;box-shadow:0 1px 0 rgba(0,0,0,.4) inset,0 1px 0 rgba(255,255,255,.1);color:#A5A099;height:22px;margin-top:13px;margin-bottom:10px;padding-left:25px;transition:width .7s ease 0s;width:60px}#search:focus{color:#333;width:140px}.ico-top{background-color:#363A3D;background-position:4px -100px;border-radius:20em;bottom:60px;box-shadow:0 -1px 2px rgba(0,0,0,.3) inset,0 1px 0 rgba(255,255,255,.15);height:25px;position:fixed;left:90%;width:25px;cursor:pointer}.ico-next,.ico-pre{background-color:#6599C6;border-radius:10em;color:#FFF;display:block;float:left;font:20px/100% "Times New Roman",Times,serif;height:28px;margin:-8px 10px 0 0;padding:4px 0 0;text-align:center;transition:background 1s ease 0s;width:32px}.ico-next{float:right;margin:-8px 0 0 10px}a:hover>.ico-next,a:hover>.ico-pre{background-color:#000}.wrapper{min-width:400px;padding:50px 0;background:url(../images/bg.png) #DEE4EA}.header{background-color:#BFBFBF;background-image:url(../images/nav-bg.png),linear-gradient(#CCC,#A9A9A9);background-image:url(../images/nav-bg.png),-ms-linear-gradient(#CCC,#A9A9A9);background-image:url(../images/nav-bg.png),-o-linear-gradient(#CCC,#A9A9A9);background-image:url(../images/nav-bg.png),-webkit-linear-gradient(#CCC,#A9A9A9);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#CCCCCC', endColorstr='#A9A9A9');border-bottom:1px solid #898989;box-shadow:0 -1px 0 rgba(255,255,255,.3) inset,0 1px 1px rgba(0,0,0,.2)}.containeLine truncated
|
||||||
Vendored
-15
@@ -1,16 +1 @@
|
|||||||
/*
|
|
||||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
var timeline={_COLHA:0,_COLHB:20,_initArticleList:function(){var e=$(".articles");0===e.length||$(".articles > .fn-clear").length>0||($(window).resize(function(){if("auto"===$("#hideTop").css("top")){var t=[timeline._COLHA,timeline._COLHB];e.find("article").each(function(){var e=$(this),a=t[1]>t[0],i=a?t[0]:t[1];(parseInt(e.css("top"))!==i||0===i)&&(e.css({top:i+"px",position:"absolute"}),a?this.className="l":this.className="r"),t[a?"0":"1"]+=parseInt(e.outerHeight(!0))}),e.height(t[0]>t[1]?t[0]:t[1])}else e.find("article").each(function(){$(this).css({position:"inherit",top:"auto"}).removeClass("r l")}),e.css("height","auto")}),$(window).resize(),$(".module img").imagesLoaded(function(){$(window).resize()}))},_initIndexList:function(){var e=$(".articles > .fn-clear");if(0!==e.length){var t=0;$(".nav-abs li").each(function(e){var a=$(this);a.hide(),t!==a.data("year")&&(t=a.data("year"),a.before("<li class='close year' onclick='timeline.toggleArchives(this, "+t+")'>"+t+"</li>"))}),$(".article-more").parent().data("count")<=$(".article-more").parent().find("article").length&&$(".article-more").remove(),$(window).resize(function(){e.each(function(){if("auto"===$("#hideTop").css("top")){var e=[timeline._COLHA+60,4*timeline._COLHB],t=$(this).find("article");0===t.length?($(this).find("h2").remove(),$(this).css("margin-bottom",0)):(t.each(function(){var t=$(this),a=e[1]>e[0],i=a?e[0]:e[1];(parseInt(t.css("top"))!==i||0===i)&&(t.css({top:i+"px",position:"absolute"}),a?this.className="l":this.className="r"),e[a?"0":"1"]+=parseInt(t.outerHeight(!0))}),$(this).height(e[0]>e[1]?e[0]:e[1]))}else{var t=$(this).find("article");0===t.length?($(this).find("h2").remove(),$(this).css("margin-bottom",0)):(t.each(function(){$(this).css({position:"inherit",top:"auto"}).removeClass("r l")}),$(this).css("height","auto"))}})}),$(window).resize(),$(".module img").imagesLoaded(function(){$(window).resize()})}},_setNavCurrent:function(){$(".header li a").each(function(){$(this).prop("href")===location.href.split("#")[0]?this.className="current":this.className=""})},init:function(){$(window).scroll(function(){$(window).scrollTop()>60?$(".ico-top").show():$(".ico-top").hide()}),timeline._initIndexList(),timeline._initArticleList(),timeline._setNavCurrent(),$(".ico-list").click(function(){"0px"===$(".header > .container > form").css("height")?$(".header > .container > ul, .header > .container > form").css({height:"auto"}):$(".header > .container > ul, .header > .container > form").animate({height:"0px"})})},translate:function(){window.open("http://translate.google.com/translate?sl=auto&tl=auto&u="+location.href)},getArchive:function(e,t,a){var i=e+t,s=e+"/"+t;if(window.location.hash="#"+i,0===$("#"+i+" > article").length){var n=e+" "+Label.yearLabel+" "+t+" "+Label.monthLabel;"en"===Label.localeString.substring(0,2)&&(n=a+" "+e);var r='<h2><span class="article-archive">'+n+'</span></h2><div class="article-more" onclick="timeline.getNextPage(this, \''+s+'\')" data-page="0">'+Label.moreLabel+"</div>";$("#"+i).html(r).css("margin-bottom","50px"),timeline.getNextPage($("#"+i).find(".article-more")[0],s)}},getNextPage:function(e,t){var a=$(e),i=a.data("page")+1,s="/articles/";if(1===$("#tag").length){var n=location.pathname.split("/");s="/articles/tags/"+n[n.length-1]+"/"}else if(1===$("#author").length){var n=location.pathname.split("/");s="/articles/authors/"+n[n.length-1]+"/"}else t&&(s="/articles/archives/"+t+"/");$.ajax({url:latkeConfig.servePath+s+i,type:"GET",beforeSend:function(){a.css("background","url("+latkeConfig.staticServePath+"/skins/timeline/images/ajax-loader.gif) no-repeat scroll center center #60829F").text("")},success:function(e,t){if(!e.sc)return void a.css("background","none #60829F").text("Error");if(0===e.rslts.articles.length)return void a.remove();for(var s="",n=e.rslts.pagination,r=0;r<e.rslts.articles.length;r++){var o=e.rslts.articles[r];s+='<article><div class="module"><div class="dot"></div><div class="arrow"></div><time class="article-time"><span>'+Util.toDate(o.articleCreateTime,"yy-MM-dd HH:mm")+'</span></time><h3 class="article-title"><a rel="bookmark" href="'+latkeConfig.servePath+o.articlePermalink+'">'+o.articleTitle+"</a>",o.hasUpdated&&(s+="<sup>"+Label.updatedLabel+"</sup>"),o.articlePutTop&&(s+="<sup>"+Label.topArticleLabel+"</sup>"),s+="</h3><p>"+o.articleAbstract+'</p><span class="ico-tags ico" title="'+Label.tagLabel+'">';for(var l=o.articleTags.split(","),c=0;c<l.length;c++)s+='<a rel="category tag" href="'+latkeConfig.servePath+"/tags/"+encodeURIComponent(l[c])+'">'+l[c]+"</a>",c<l.length-1&&(s+=",");s+='</span> <span class="ico-author ico" title="'+Label.authorLabel+'"><a rel="author" href="'+latkeConfig.servePath+"/authors/"+o.authorId+'">'+o.authorName+'</a></span> <span class="ico-comment ico" title="'+Label.commentLabel+'"><a rel="nofollow" href="'+latkeConfig.servePath+o.articlePermalink+'#comments">'+(0===o.articleCommentCount?Label.noCommentLabel:o.articleCommentCount)+'</a><Line truncated
|
var timeline={_COLHA:0,_COLHB:20,_initArticleList:function(){var e=$(".articles");0===e.length||$(".articles > .fn-clear").length>0||($(window).resize(function(){if("auto"===$("#hideTop").css("top")){var t=[timeline._COLHA,timeline._COLHB];e.find("article").each(function(){var e=$(this),a=t[1]>t[0],i=a?t[0]:t[1];(parseInt(e.css("top"))!==i||0===i)&&(e.css({top:i+"px",position:"absolute"}),a?this.className="l":this.className="r"),t[a?"0":"1"]+=parseInt(e.outerHeight(!0))}),e.height(t[0]>t[1]?t[0]:t[1])}else e.find("article").each(function(){$(this).css({position:"inherit",top:"auto"}).removeClass("r l")}),e.css("height","auto")}),$(window).resize(),$(".module img").imagesLoaded(function(){$(window).resize()}))},_initIndexList:function(){var e=$(".articles > .fn-clear");if(0!==e.length){var t=0;$(".nav-abs li").each(function(e){var a=$(this);a.hide(),t!==a.data("year")&&(t=a.data("year"),a.before("<li class='close year' onclick='timeline.toggleArchives(this, "+t+")'>"+t+"</li>"))}),$(".article-more").parent().data("count")<=$(".article-more").parent().find("article").length&&$(".article-more").remove(),$(window).resize(function(){e.each(function(){if("auto"===$("#hideTop").css("top")){var e=[timeline._COLHA+60,4*timeline._COLHB],t=$(this).find("article");0===t.length?($(this).find("h2").remove(),$(this).css("margin-bottom",0)):(t.each(function(){var t=$(this),a=e[1]>e[0],i=a?e[0]:e[1];(parseInt(t.css("top"))!==i||0===i)&&(t.css({top:i+"px",position:"absolute"}),a?this.className="l":this.className="r"),e[a?"0":"1"]+=parseInt(t.outerHeight(!0))}),$(this).height(e[0]>e[1]?e[0]:e[1]))}else{var t=$(this).find("article");0===t.length?($(this).find("h2").remove(),$(this).css("margin-bottom",0)):(t.each(function(){$(this).css({position:"inherit",top:"auto"}).removeClass("r l")}),$(this).css("height","auto"))}})}),$(window).resize(),$(".module img").imagesLoaded(function(){$(window).resize()})}},_setNavCurrent:function(){$(".header li a").each(function(){$(this).prop("href")===location.href.split("#")[0]?this.className="current":this.className=""})},init:function(){$(window).scroll(function(){$(window).scrollTop()>60?$(".ico-top").show():$(".ico-top").hide()}),timeline._initIndexList(),timeline._initArticleList(),timeline._setNavCurrent(),$(".ico-list").click(function(){"0px"===$(".header > .container > form").css("height")?$(".header > .container > ul, .header > .container > form").css({height:"auto"}):$(".header > .container > ul, .header > .container > form").animate({height:"0px"})})},translate:function(){window.open("http://translate.google.com/translate?sl=auto&tl=auto&u="+location.href)},getArchive:function(e,t,a){var i=e+t,s=e+"/"+t;if(window.location.hash="#"+i,0===$("#"+i+" > article").length){var n=e+" "+Label.yearLabel+" "+t+" "+Label.monthLabel;"en"===Label.localeString.substring(0,2)&&(n=a+" "+e);var r='<h2><span class="article-archive">'+n+'</span></h2><div class="article-more" onclick="timeline.getNextPage(this, \''+s+'\')" data-page="0">'+Label.moreLabel+"</div>";$("#"+i).html(r).css("margin-bottom","50px"),timeline.getNextPage($("#"+i).find(".article-more")[0],s)}},getNextPage:function(e,t){var a=$(e),i=a.data("page")+1,s="/articles/";if(1===$("#tag").length){var n=location.pathname.split("/");s="/articles/tags/"+n[n.length-1]+"/"}else if(1===$("#author").length){var n=location.pathname.split("/");s="/articles/authors/"+n[n.length-1]+"/"}else t&&(s="/articles/archives/"+t+"/");$.ajax({url:latkeConfig.servePath+s+i,type:"GET",beforeSend:function(){a.css("background","url("+latkeConfig.staticServePath+"/skins/timeline/images/ajax-loader.gif) no-repeat scroll center center #60829F").text("")},success:function(e,t){if(!e.sc)return void a.css("background","none #60829F").text("Error");if(0===e.rslts.articles.length)return void a.remove();for(var s="",n=e.rslts.pagination,r=0;r<e.rslts.articles.length;r++){var o=e.rslts.articles[r];s+='<article><div class="module"><div class="dot"></div><div class="arrow"></div><time class="article-time"><span>'+Util.toDate(o.articleCreateTime,"yy-MM-dd HH:mm")+'</span></time><h3 class="article-title"><a rel="bookmark" href="'+latkeConfig.servePath+o.articlePermalink+'">'+o.articleTitle+"</a>",o.hasUpdated&&(s+="<sup>"+Label.updatedLabel+"</sup>"),o.articlePutTop&&(s+="<sup>"+Label.topArticleLabel+"</sup>"),s+="</h3><p>"+o.articleAbstract+'</p><span class="ico-tags ico" title="'+Label.tagLabel+'">';for(var l=o.articleTags.split(","),c=0;c<l.length;c++)s+='<a rel="category tag" href="'+latkeConfig.servePath+"/tags/"+encodeURIComponent(l[c])+'">'+l[c]+"</a>",c<l.length-1&&(s+=",");s+='</span> <span class="ico-author ico" title="'+Label.authorLabel+'"><a rel="author" href="'+latkeConfig.servePath+"/authors/"+o.authorId+'">'+o.authorName+'</a></span> <span class="ico-comment ico" title="'+Label.commentLabel+'"><a rel="nofollow" href="'+latkeConfig.servePath+o.articlePermalink+'#comments">'+(0===o.articleCommentCount?Label.noCommentLabel:o.articleCommentCount)+'</a><Line truncated
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"name": "solo-skins",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"homepage": "http://erp.fangstar.net",
|
||||||
|
"author": "Vanesse <lly219@gmail.com> (https://vanesse.b3log.org)",
|
||||||
|
"devDependencies": {
|
||||||
|
"gulp": "3.9.0",
|
||||||
|
"gulp-minify-css": "1.2.3",
|
||||||
|
"gulp-rename": "1.2.2",
|
||||||
|
"gulp-uglify": "1.5.1",
|
||||||
|
"gulp-clean": "0.3.1"
|
||||||
|
}
|
||||||
|
}
|
||||||
Vendored
-15
@@ -1,16 +1 @@
|
|||||||
/**
|
|
||||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
@charset "utf-8";body,html{min-width:948px}.comments-header,.header-navi{position:relative;z-index:10}.article-abstract,.comment-body{word-wrap:break-word;overflow:hidden}.comment-body td,.error-msg{white-space:normal}body{background:url(../images/bg-tree.jpg) 50% 0 repeat-y #7BCCFF;color:#42423D}a,a:link,a:visited{color:#FFF;text-decoration:none}a:hover{text-decoration:underline}h5{font-size:12px}.wrapper{background:url(../images/bg-header.jpg) 50% 0 no-repeat}.bg-bottom{background:url(../images/bg-footer2.jpg) 50% 100% no-repeat}.content{margin:0 auto;width:948px}.header{height:476px;width:100%}.header-navi ul{list-style:none;margin-top:20px}.header-navi li{float:left}.header-title{color:#FFF;margin-left:146px;padding-top:222px;position:relative}#logoTitle{color:#FFF;font-size:52px;text-decoration:none}.header-title div{color:#696969;width:300px}.side{margin:0 0 0 -21px;width:256px}.body{min-height:643px;padding-bottom:682px}.main{width:634px}.footer{color:#e6e6fa;padding:12px;text-align:center}.footer a{font-weight:700}.article{overflow:hidden;width:553px}.article-header sup{color:red;font-size:12px}.article-header h2{color:#242323;font-weight:700;margin-left:6px;position:relative}.article-header h2 a{color:#242323;display:block;padding:3px 0 4px 10px;text-decoration:none}.article-header h2 a:hover{background-color:#242323;color:#EC0A8B}.article-info{margin:10px 0 0 9px;width:109px}.article-main{margin:10px 0 0 9px;min-height:150px;width:426px}.article-tags{background-color:#EC0A8B;float:left;font-style:normal;height:21px;line-height:21px;margin:0 10px 10px 0;padding:3px 10px}.article-abstract{color:#42423D;line-height:145%;padding:6px 10px 12px 0;text-align:justify}.main .line{background:url(../images/bg-branch.png) no-repeat;height:108px;width:575px}.article-date{background-color:#D4F2FB;border:6px solid #A8D3ED;border-radius:5px;margin-left:16px;padding:6px;width:65px}.article-comment{background:url(../images/bg-comments.png) no-repeat;font-size:12px;height:22px;margin:24px 0 0;padding:29px 0 0;text-align:center}.article-comment a{color:#42423D}.main h2.title{color:#FF9000;margin:-34px 0 12px;text-align:center}.main h2 span{color:#696969;float:right;font-size:12px;margin-top:7px;padding-right:10px}.article-body{line-height:145%;margin:0 12px 12px}.article-abstract a,.article-body a{color:#242323;text-decoration:underline}.comment-body,.comment-body a{color:#42423D}#sideNavi li>a,#tagsPanel .tagPanel,.article-details-footer .right a:hover{text-decoration:none}.article-footer{margin-right:12px}.article-details-footer a{line-height:16px}.article-details-footer{margin:36px 12px 0 0}.article-relative{line-height:145%;margin:12px 0}.comments{padding-left:99px;position:relative}.comments-header{background:url(../images/balloons.png) no-repeat;height:88px;left:100px;top:40px;width:440px}.comment-top{background:url(../images/bg-comments-top.png) no-repeat;height:22px}.comment-body{background:url(../images/bg-comments-body.png) repeat-y;margin-left:-1px;padding:0 27px 2px;width:401px}.comment-bottom{background:url(../images/bg-comments-bottom.png) no-repeat;height:23px}.comment-title{padding-bottom:6px}.comment-title a{color:#42423D;font-weight:700}.comment-body-ref{left:182px;opacity:.9;position:absolute;top:16px;z-index:16}#emotions img,#emotionsReply img{cursor:pointer;display:block;float:left;margin-right:2px}img.comment-picture{height:60px;padding:0 6px 4px 0;width:60px}.comment-reply{margin:0 auto 24px}#commentURL:focus,#commentURLReply:focus{box-shadow:-3px 1px 2px rgba(0,0,0,.3) inset}#comment,#commentReply{resize:vertical}.em00,.em01,.em02,.em03,.em04,.em05,.em06,.em07,.em08,.em09,.em10,.em11,.em12,.em13,.em14{background-image:url(../images/emotions/emotions-blue.png);margin-right:2px}.error-msg{color:#EC0A8B;font-weight:700}#sideNavi .line{background:url(../images/bg-branch-small.png) no-repeat;height:69px;margin-top:12px}#sideNavi .block{margin-left:64px}#sideNavi h3{background:url(../images/bg-heading.png) no-repeat;color:#EC0A8B;font-size:15px;height:30px;padding:38px 0 0 12px}#sideNavi .notice h3{background-image:url(../images/bg-heading-about-us.png)}#sideNavi #recentComments img{height:16px;vertical-align:middle;width:16px}#sideNavi #recentCommentsLabel{background-image:url(../images/bg-heading-portfolio.png)}#sideNavi .mostCommentArticles h3{background-image:url(../images/bg-heading-categories.png)}#sideNavi .mostViewCountArticles h3{background-image:url(../images/bg-heading-resources.png);margin-bottom:6px}#sideNavi .notice>div{margin:12px 12px 12px 17px}#sideNavi ul{margin-left:5px;width:182px;list-style:none}#sideNavi li{border-bottom:1px dotted #FFF;font-size:12px;margin-left:0;overflow:hidden;position:relative;text-overflow:ellipsis;-o-text-overflow:ellipsis;vertical-align:top}#sideNavi li:hover{background:url(../images/bg-menu-active.png) -8px -8px;color:#EC0A8B;font-weight:700}#sideNavi li:hover a{color:#EC0A8B;padding-left:24px}#sideNavi li>a{color:#42423D;line-height:29px;margin:0;oveLine truncated
|
@charset "utf-8";body,html{min-width:948px}.comments-header,.header-navi{position:relative;z-index:10}.article-abstract,.comment-body{word-wrap:break-word;overflow:hidden}.comment-body td,.error-msg{white-space:normal}body{background:url(../images/bg-tree.jpg) 50% 0 repeat-y #7BCCFF;color:#42423D}a,a:link,a:visited{color:#FFF;text-decoration:none}a:hover{text-decoration:underline}h5{font-size:12px}.wrapper{background:url(../images/bg-header.jpg) 50% 0 no-repeat}.bg-bottom{background:url(../images/bg-footer2.jpg) 50% 100% no-repeat}.content{margin:0 auto;width:948px}.header{height:476px;width:100%}.header-navi ul{list-style:none;margin-top:20px}.header-navi li{float:left}.header-title{color:#FFF;margin-left:146px;padding-top:222px;position:relative}#logoTitle{color:#FFF;font-size:52px;text-decoration:none}.header-title div{color:#696969;width:300px}.side{margin:0 0 0 -21px;width:256px}.body{min-height:643px;padding-bottom:682px}.main{width:634px}.footer{color:#e6e6fa;padding:12px;text-align:center}.footer a{font-weight:700}.article{overflow:hidden;width:553px}.article-header sup{color:red;font-size:12px}.article-header h2{color:#242323;font-weight:700;margin-left:6px;position:relative}.article-header h2 a{color:#242323;display:block;padding:3px 0 4px 10px;text-decoration:none}.article-header h2 a:hover{background-color:#242323;color:#EC0A8B}.article-info{margin:10px 0 0 9px;width:109px}.article-main{margin:10px 0 0 9px;min-height:150px;width:426px}.article-tags{background-color:#EC0A8B;float:left;font-style:normal;height:21px;line-height:21px;margin:0 10px 10px 0;padding:3px 10px}.article-abstract{color:#42423D;line-height:145%;padding:6px 10px 12px 0;text-align:justify}.main .line{background:url(../images/bg-branch.png) no-repeat;height:108px;width:575px}.article-date{background-color:#D4F2FB;border:6px solid #A8D3ED;border-radius:5px;margin-left:16px;padding:6px;width:65px}.article-comment{background:url(../images/bg-comments.png) no-repeat;font-size:12px;height:22px;margin:24px 0 0;padding:29px 0 0;text-align:center}.article-comment a{color:#42423D}.main h2.title{color:#FF9000;margin:-34px 0 12px;text-align:center}.main h2 span{color:#696969;float:right;font-size:12px;margin-top:7px;padding-right:10px}.article-body{line-height:145%;margin:0 12px 12px}.article-abstract a,.article-body a{color:#242323;text-decoration:underline}.comment-body,.comment-body a{color:#42423D}#sideNavi li>a,#tagsPanel .tagPanel,.article-details-footer .right a:hover{text-decoration:none}.article-footer{margin-right:12px}.article-details-footer a{line-height:16px}.article-details-footer{margin:36px 12px 0 0}.article-relative{line-height:145%;margin:12px 0}.comments{padding-left:99px;position:relative}.comments-header{background:url(../images/balloons.png) no-repeat;height:88px;left:100px;top:40px;width:440px}.comment-top{background:url(../images/bg-comments-top.png) no-repeat;height:22px}.comment-body{background:url(../images/bg-comments-body.png) repeat-y;margin-left:-1px;padding:0 27px 2px;width:401px}.comment-bottom{background:url(../images/bg-comments-bottom.png) no-repeat;height:23px}.comment-title{padding-bottom:6px}.comment-title a{color:#42423D;font-weight:700}.comment-body-ref{left:182px;opacity:.9;position:absolute;top:16px;z-index:16}#emotions img,#emotionsReply img{cursor:pointer;display:block;float:left;margin-right:2px}img.comment-picture{height:60px;padding:0 6px 4px 0;width:60px}.comment-reply{margin:0 auto 24px}#commentURL:focus,#commentURLReply:focus{box-shadow:-3px 1px 2px rgba(0,0,0,.3) inset}#comment,#commentReply{resize:vertical}.em00,.em01,.em02,.em03,.em04,.em05,.em06,.em07,.em08,.em09,.em10,.em11,.em12,.em13,.em14{background-image:url(../images/emotions/emotions-blue.png);margin-right:2px}.error-msg{color:#EC0A8B;font-weight:700}#sideNavi .line{background:url(../images/bg-branch-small.png) no-repeat;height:69px;margin-top:12px}#sideNavi .block{margin-left:64px}#sideNavi h3{background:url(../images/bg-heading.png) no-repeat;color:#EC0A8B;font-size:15px;height:30px;padding:38px 0 0 12px}#sideNavi .notice h3{background-image:url(../images/bg-heading-about-us.png)}#sideNavi #recentComments img{height:16px;vertical-align:middle;width:16px}#sideNavi #recentCommentsLabel{background-image:url(../images/bg-heading-portfolio.png)}#sideNavi .mostCommentArticles h3{background-image:url(../images/bg-heading-categories.png)}#sideNavi .mostViewCountArticles h3{background-image:url(../images/bg-heading-resources.png);margin-bottom:6px}#sideNavi .notice>div{margin:12px 12px 12px 17px}#sideNavi ul{margin-left:5px;width:182px;list-style:none}#sideNavi li{border-bottom:1px dotted #FFF;font-size:12px;margin-left:0;overflow:hidden;position:relative;text-overflow:ellipsis;-o-text-overflow:ellipsis;vertical-align:top}#sideNavi li:hover{background:url(../images/bg-menu-active.png) -8px -8px;color:#EC0A8B;font-weight:700}#sideNavi li:hover a{color:#EC0A8B;padding-left:24px}#sideNavi li>a{color:#42423D;line-height:29px;margin:0;oveLine truncated
|
||||||
Vendored
+1
-16
@@ -1,16 +1 @@
|
|||||||
/**
|
@charset "utf-8";body,html{height:100%;max-height:100%}body,dl,h1,h2,h3,h4,h5,h6,ol,p,ul{text-rendering:geometricPrecision}dl dd,dl dt{margin-bottom:1em}body,li li{margin:0}blockquote cite,dl dt{font-weight:700}.fn-left,dl dt{float:left}.form button,a,blockquote{transition:all .3s ease}.classify li,.comments,.dynamic li,.side nav ul{list-style:none}html{font-size:16px;-webkit-tap-highlight-color:transparent}body{font-family:Merriweather,"Microsoft Yahei",Helvetica;letter-spacing:.01rem;font-size:100%;line-height:1.75em;color:rgba(0,0,0,.6);-webkit-font-feature-settings:'kern' 1;-moz-font-feature-settings:'kern' 1;-o-font-feature-settings:'kern' 1;background-color:#eaeaea}::-moz-selection{background:#D6EDFF}::selection{background:#D6EDFF}a{text-decoration:none;color:#258fb8;outline:0}h1,h2,h3,h4,h5,h6{-webkit-font-feature-settings:'dlig' 1,'liga' 1,'lnum' 1,'kern' 1;-moz-font-feature-settings:'dlig' 1,'liga' 1,'lnum' 1,'kern' 1;-o-font-feature-settings:'dlig' 1,'liga' 1,'lnum' 1,'kern' 1;color:#666;line-height:1.15em;font-family:"Open Sans","Microsoft Yahei",Helvetica}h1{letter-spacing:-2px;text-indent:-3px}h2{letter-spacing:-1px}img{max-width:100%}dl,ol,p,ul{-webkit-font-feature-settings:'liga' 1,'onum' 1,'kern' 1;-moz-font-feature-settings:'liga' 1,'onum' 1,'kern' 1;-o-font-feature-settings:'liga' 1,'onum' 1,'kern' 1}ol,ul{padding-left:3rem}ol ol,ol ul,ul ol,ul ul{padding-left:2em}dl dt{width:180px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}dl dd{margin-left:200px}hr{display:block;height:1px;border:0;border-top:#EFEFEF 1px solid;margin:3.2em 0;padding:0}blockquote{box-sizing:border-box;margin:1.75em 0;padding:0 0 0 1.75em;border-left:5px solid}blockquote:hover{border-color:#b0a0aa}blockquote p{margin:.8em 0;font-style:italic}blockquote small{display:inline-block;margin:.8em 0 .8em 1.5em;font-size:.9em;color:#CCC}blockquote small:before{content:"\2014 \00A0"}blockquote cite a{font-weight:400}mark{background-color:#fdffb6}code,tt{padding:1px 3px;font-family:Inconsolata,monospace,"Microsoft Yahei",Helvetica;font-size:.85em;white-space:pre-wrap;border:1px solid #E3EDF3;background:#F7FAFB;border-radius:2px}pre{font-size:.9em}pre code,pre tt{font-size:inherit;white-space:pre-wrap;background:0 0;border:none;padding:0}.fn-clear:after,.fn-clear:before{display:table;content:""}.fn-clear:after{clear:both}.fn-right{float:right}.fn-none{display:none}@font-face{font-family:icomoon;src:url(fonts/icomoon.eot?3js4w7);src:url(fonts/icomoon.eot?3js4w7#iefix) format('embedded-opentype'),url(fonts/icomoon.ttf?3js4w7) format('truetype'),url(fonts/icomoon.woff?3js4w7) format('woff'),url(fonts/icomoon.svg?3js4w7#icomoon) format('svg');font-weight:400;font-style:normal}[class*=" icon-"],[class^=icon-]{font-family:icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:middle}.icon-tag:before{content:"\e903"}.icon-date:before{content:"\e902"}.icon-github:before{content:"\e900"}.icon-rss:before{content:"\e901"}.icon-register:before{content:"\e600"}.icon-logout:before{content:"\e601"}.icon-setting:before{content:"\e602"}.icon-gplus:before{content:"\e603"}.icon-weibo:before{content:"\e605"}.icon-goup:before{content:"\e60a"}.icon-twitter:before{content:"\e60b"}.icon-t-weibo:before{content:"\e60d"}.icon-login:before{content:"\e611"}.form{width:100%;padding:30px}#captcha,#captchaReply{height:27px;display:inline-block;vertical-align:inherit}.form button,.form input,.form textarea{border:1px solid #CCC;background-color:#FAFAFA;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.075) inset;padding:7px 8px;width:100%;box-sizing:border-box;outline:0;font-family:Merriweather,"Microsoft Yahei",Helvetica}.tags .tag,footer.footer{font-family:Menlo,Monaco,"Andale Mono","lucida console","Courier New",monospace}.form button{width:auto;vertical-align:bottom;cursor:pointer}.form button:hover{background-color:#b0a0aa;color:#FFF;box-shadow:0 0 0;border-color:#b0a0aa}.form input:focus,.form textarea:focus{background-color:#FFF;box-shadow:0 1px 2px rgba(0,0,0,.075) inset,0 0 5px rgba(176,160,170,.5);border:1px solid #b0a0aa}.em00,.em01,.em02,.em03,.em04,.em05,.em06,.em07,.em08,.em09,.em10,.em11,.em12,.em13,.em14{cursor:pointer;background-image:url(../images/emotions/emotions-ease.png);float:left;height:24px;margin-right:5px;width:24px;transition:all .2s ease-out;-webkit-transition:all .2s ease-out;-moz-transition:all .2s ease-out}#emotions span:hover{transform:scale(1.2) rotate(360deg);-webkit-transform:scale(1.2) rotate(360deg);-moz-transform:scale(1.2) rotate(360deg)}.em01{background-position:-24px 0}.em02{background-position:-48px 0}.em03{background-position:-72px 0}.em04{background-position:-96px 0}.em05{background-position:0 -24px}.em06{background-position:-24px -24px}.em07{background-position:-48px -24px}.em08{background-position:-72px -24px}.em09{background-position:-96px -Line truncated
|
||||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
@charset "utf-8";body,html{height:100%;max-height:100%}body,dl,h1,h2,h3,h4,h5,h6,ol,p,ul{text-rendering:geometricPrecision}dl dd,dl dt{margin-bottom:1em}body,li li{margin:0}blockquote cite,dl dt{font-weight:700}.fn-left,dl dt{float:left}.form button,a,blockquote{transition:all .3s ease}.classify li,.comments,.dynamic li,.side nav ul{list-style:none}html{font-size:16px;-webkit-tap-highlight-color:transparent}body{font-family:Merriweather,"Microsoft Yahei",Helvetica;letter-spacing:.01rem;font-size:100%;line-height:1.75em;color:rgba(0,0,0,.6);-webkit-font-feature-settings:'kern' 1;-moz-font-feature-settings:'kern' 1;-o-font-feature-settings:'kern' 1;background-color:#eaeaea}::-moz-selection{background:#D6EDFF}::selection{background:#D6EDFF}a{text-decoration:none;color:#258fb8;outline:0}h1,h2,h3,h4,h5,h6{-webkit-font-feature-settings:'dlig' 1,'liga' 1,'lnum' 1,'kern' 1;-moz-font-feature-settings:'dlig' 1,'liga' 1,'lnum' 1,'kern' 1;-o-font-feature-settings:'dlig' 1,'liga' 1,'lnum' 1,'kern' 1;color:#666;line-height:1.15em;font-family:"Open Sans","Microsoft Yahei",Helvetica}h1{letter-spacing:-2px;text-indent:-3px}h2{letter-spacing:-1px}img{max-width:100%}dl,ol,p,ul{-webkit-font-feature-settings:'liga' 1,'onum' 1,'kern' 1;-moz-font-feature-settings:'liga' 1,'onum' 1,'kern' 1;-o-font-feature-settings:'liga' 1,'onum' 1,'kern' 1}ol,ul{padding-left:3rem}ol ol,ol ul,ul ol,ul ul{padding-left:2em}dl dt{width:180px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}dl dd{margin-left:200px}hr{display:block;height:1px;border:0;border-top:#EFEFEF 1px solid;margin:3.2em 0;padding:0}blockquote{box-sizing:border-box;margin:1.75em 0;padding:0 0 0 1.75em;border-left:5px solid}blockquote:hover{border-color:#b0a0aa}blockquote p{margin:.8em 0;font-style:italic}blockquote small{display:inline-block;margin:.8em 0 .8em 1.5em;font-size:.9em;color:#CCC}blockquote small:before{content:"\2014 \00A0"}blockquote cite a{font-weight:400}mark{background-color:#fdffb6}code,tt{padding:1px 3px;font-family:Inconsolata,monospace,"Microsoft Yahei",Helvetica;font-size:.85em;white-space:pre-wrap;border:1px solid #E3EDF3;background:#F7FAFB;border-radius:2px}pre{font-size:.9em}pre code,pre tt{font-size:inherit;white-space:pre-wrap;background:0 0;border:none;padding:0}.fn-clear:after,.fn-clear:before{display:table;content:""}.fn-clear:after{clear:both}.fn-right{float:right}.fn-none{display:none}@font-face{font-family:icomoon;src:url(fonts/icomoon.eot?3js4w7);src:url(fonts/icomoon.eot?3js4w7#iefix) format('embedded-opentype'),url(fonts/icomoon.ttf?3js4w7) format('truetype'),url(fonts/icomoon.woff?3js4w7) format('woff'),url(fonts/icomoon.svg?3js4w7#icomoon) format('svg');font-weight:400;font-style:normal}[class*=" icon-"],[class^=icon-]{font-family:icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:middle}.icon-tag:before{content:"\e903"}.icon-date:before{content:"\e902"}.icon-github:before{content:"\e900"}.icon-rss:before{content:"\e901"}.icon-register:before{content:"\e600"}.icon-logout:before{content:"\e601"}.icon-setting:before{content:"\e602"}.icon-gplus:before{content:"\e603"}.icon-weibo:before{content:"\e605"}.icon-goup:before{content:"\e60a"}.icon-twitter:before{content:"\e60b"}.icon-t-weibo:before{content:"\e60d"}.icon-login:before{content:"\e611"}.form{width:100%;padding:30px}#captcha,#captchaReply{height:27px;display:inline-block;vertical-align:inherit}.form button,.form input,.form textarea{border:1px solid #CCC;background-color:#FAFAFA;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.075) inset;padding:7px 8px;width:100%;box-sizing:border-box;outline:0;font-family:Merriweather,"Microsoft Yahei",Helvetica}.tags .tag,footer.footer{font-family:Menlo,Monaco,"Andale Mono","lucida console","Courier New",monospace}.form button{width:auto;vertical-align:bottom;cursor:pointer}.form button:hover{background-color:#b0a0aa;color:#FFF;box-shadow:0 0 0;border-color:#b0a0aa}.form input:focus,.form textarea:focus{background-color:#FFF;box-shadow:0 1px 2px rgba(0,0,0,.075) inset,0 0 5px rgba(176,160,170,.5);border:1px solid #b0a0aa}.em00,.em01,.em02,.em03,.em04,.em05,.em06,.em07,.em08,.em09,.em10,.em11,.em12,.em13,.em14{cursor:pointer;background-image:url(../images/emotions/emotions-ease.png);float:left;height:24px;margin-right:5px;width:24px;transition:all .2s ease-out;-webkit-transition:all .2s ease-out;-moz-transition:all .2s ease-out}#emotions span:hover{transform:scale(1.2) rotate(360deg);-webkit-transform:scale(1.2) rotate(360deg);-moz-transform:scale(1.2) rotate(360deg)}.em01{background-position:-24px 0}.em02{background-position:-48px 0}.em03{background-position:-72px 0}.em04{background-position:-96px 0}.em05{background-position:0 -24px}.em06{background-position:-24px -24px}.em07{background-position:-48px -24px}.em08{background-position:-72px -24px}.em09{background-position:-96px -Line truncated
|
|
||||||
Vendored
-15
@@ -1,16 +1 @@
|
|||||||
/*
|
|
||||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
var Yilia={init:function(){Util.killIE(),this.resetTags(),$(window).scroll(function(){$("article").length>0&&0===$("article.post").length&&$("article:not(.show)").each(function(){$(this).offset().top<=$(window).scrollTop()+$(window).height()-$(this).height()/7&&$(this).addClass("show")}),$(window).scrollTop()>$(window).height()?$(".icon-goup").show():$(".icon-goup").hide(),1===$("article.post").length&&$("article.post").addClass("show")}),$(window).scroll()},resetTags:function(){$("a.tag").each(function(t){$(this).addClass("color"+Math.ceil(4*Math.random()))})},share:function(){$(".share span").click(function(){var t=$(this).data("type"),i=encodeURIComponent($("title").text()),o=$(".post-title a").attr("href")?$(".post-title a").attr("href"):location,e=$(".post-content img:eq(0)").attr("src"),n={};n.tencent="http://share.v.t.qq.com/index.php?c=share&a=index&title="+i+"&url="+o+"&pic="+e,n.weibo="http://v.t.sina.com.cn/share/share.php?title="+i+"&url="+o+"&pic="+e,n.google="https://plus.google.com/share?url="+o,n.twitter="https://twitter.com/intent/tweet?status="+i+" "+o,window.open(n[t],"_blank","top=100,left=200,width=648,height=618")})}};Yilia.init();
|
var Yilia={init:function(){Util.killIE(),this.resetTags(),$(window).scroll(function(){$("article").length>0&&0===$("article.post").length&&$("article:not(.show)").each(function(){$(this).offset().top<=$(window).scrollTop()+$(window).height()-$(this).height()/7&&$(this).addClass("show")}),$(window).scrollTop()>$(window).height()?$(".icon-goup").show():$(".icon-goup").hide(),1===$("article.post").length&&$("article.post").addClass("show")}),$(window).scroll()},resetTags:function(){$("a.tag").each(function(t){$(this).addClass("color"+Math.ceil(4*Math.random()))})},share:function(){$(".share span").click(function(){var t=$(this).data("type"),i=encodeURIComponent($("title").text()),o=$(".post-title a").attr("href")?$(".post-title a").attr("href"):location,e=$(".post-content img:eq(0)").attr("src"),n={};n.tencent="http://share.v.t.qq.com/index.php?c=share&a=index&title="+i+"&url="+o+"&pic="+e,n.weibo="http://v.t.sina.com.cn/share/share.php?title="+i+"&url="+o+"&pic="+e,n.google="https://plus.google.com/share?url="+o,n.twitter="https://twitter.com/intent/tweet?status="+i+" "+o,window.open(n[t],"_blank","top=100,left=200,width=648,height=618")})}};Yilia.init();
|
||||||
Reference in new issue
Block a user