diff --git a/bower.json b/bower.json index 1922875..cf9a25f 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "chill", - "version": "0.1.2", + "version": "0.1.3", "homepage": "https://github.com/airpub/chill", "authors": [ "Guo Yu " diff --git a/css/chill.min.css b/css/chill.min.css index f2919cf..b816107 100644 --- a/css/chill.min.css +++ b/css/chill.min.css @@ -1 +1 @@ -@import url('../../font-awesome/css/font-awesome.min.css');*{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}html,body{overflow-x:hidden}.nav,.pagination,.carousel,.panel-title a{cursor:pointer}.loading{font-size:50px;color:#ddd;padding:50px 0;text-align:center}[ng\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak{display:none !important}.bgr{width:100%;height:100%;top:0;left:0;position:absolute;z-index:1;background:url('/images/raster.png')}nav a{color:#fff;display:block;padding:20px;cursor:pointer}nav a.toggle-sidebar{float:left;width:80px}nav span{font-size:24px;color:#fff}nav .options a{float:left}nav .avatar img{width:32px;height:32px}header{height:350px;position:relative;margin-bottom:1px;background-color:#444;background-repeat:no-repeat;background-size:cover;background-image:url('http://airpub.b0.upaiyun.com/2014/08/12/upload_bannerPicture.jpg');-webkit-transition:height 0.5s, background-image 0.5s ease-in-out;-moz-transition:height 0.5s, background-image 0.5s ease-in-out;-ms-transition:height 0.5s, background-image 0.5s ease-in-out;-o-transition:height 0.5s, background-image 0.5s ease-in-out;-webkit-box-shadow:inset 0 -90px 120px rgba(0,0,0,0.5);-moz-box-shadow:inset 0 -90px 120px rgba(0,0,0,0.5);-o-box-shadow:inset 0 -90px 120px rgba(0,0,0,0.5);box-shadow:inset 0 -90px 120px rgba(0,0,0,0.5)}header .logo{position:absolute;z-index:90;top:50%;margin-top:-20px}header .logo h1{margin-top:0;font-size:30px;margin-bottom:0}header .logo h1 a{text-decoration:none;line-height:1;color:#fff;font-size:30px}header .logo h1 span{color:#fff;font-size:16px;padding-left:20px}@media screen and (max-width:400px){header .logo{width:90%;text-align:center}}header.admin{height:80px}header.archive,header.admin{background-image:url('http://airpub.b0.upaiyun.com/2014/08/12/upload_bannerPicture.jpg') !important}footer{padding:40px 0;font-size:12px;color:#999;text-align:right}.archive .article{background-color:#efefef;position:relative;background-size:cover;background-repeat:no-repeat}.archive .article h3.title{margin-top:0;font-weight:bold;margin-bottom:1px}.archive .article h3.title a{display:block;color:#34495e;padding:30px 0;-webkit-transition:padding, 0.2s;-moz-transition:padding, 0.2s;-ms-transition:padding, 0.2s;-o-transition:padding, 0.2s}.archive .article h3.title a:hover{text-decoration:none;color:#34495e;padding:100px 0}@media screen and (max-width:400px){.archive .article h3.title{font-size:18px}}.archive .article .content,.archive .article .entry{font-size:16px;line-height:1.8}.archive .has-thumbnail{opacity:.8}.archive .has-thumbnail h3.title a{color:#fff}.archive .has-thumbnail:hover{opacity:1}.archive .has-thumbnail:hover h3.title a{color:#efefef}.single .title-section{margin-top:-110px}@media screen and (max-width:400px){.single .title-section{margin-top:-100px}}.single .title-section .title{font-size:32px;margin-bottom:20px;font-weight:bold;color:#fff}@media screen and (max-width:400px){.single .title-section .title{font-size:28px}}.single .meta-section .options{font-size:12px;padding-left:10px}.single .meta-section .options a{font-weight:normal;display:inline-block;padding:3px 6px;color:#999;margin-right:8px;border-radius:3px;text-decoration:none}.single .meta-section .options a:hover{text-decoration:none;background-color:#000;color:#fff;cursor:pointer}.single .meta-section .pubdate{font-size:14px;color:#999;font-weight:normal}@media screen and (max-width:400px){.single .meta-section .pubdate{float:none;margin-top:10px}}.single .author-section{border-top:1px solid #efefef;border-bottom:1px solid #efefef;padding:20px 0 20px;margin-top:20px;margin-bottom:20px}.single .author-section .author-avatar{display:block}.single .author-section .mini-avatar{width:45px;height:45px;float:right}.single .author-section .author-name{font-weight:bold;display:block;margin-bottom:0}.single .author-section .author-description{font-size:12px;color:#999;margin-bottom:0}.single .content{clear:both;font-size:16px;padding-top:40px}.single .content p{font-size:16px;line-height:1.8}.single .content pre{display:block;border:0;border-radius:0}.single .content img{max-width:100%}.single .content h1,.single .content h2,.single .content h3,.single .content h4{font-weight:bold}.single .content ol,.single .content ul{padding-left:20px;font-size:14px}.single .content ol li,.single .content ul li{padding-bottom:5px}.single .content ol li .col-lg-8,.single .content ul li .col-lg-8{width:100% !important;margin-left:0 !important}.single .content ol li .container,.single .content ul li .container,.single .content ol li .row,.single .content ul li .row{width:100% !important}.single .content blockquote{font-weight:bold}.single .content blockquote .container,.single .content blockquote .row{width:100% !important}.single .content blockquote .col-lg-8{width:100% !important;margin-left:0 !important;padding-left:0}.single .content hr{margin-top:10px;margin-bottom:10px}.single .code-section{background-color:#f5f5f8;box-shadow:inset 0 0 3px #ddd;margin-top:10px;margin-bottom:10px}.single .code-section pre{padding-top:20px;padding-bottom:20px;padding-left:0;padding-right:0;margin-bottom:0;background-color:transparent;font-size:14px}.single .comments-section .ds-post-self{padding:0 !important;padding-top:10px !important;padding-bottom:10px !important}.sidebar{padding:20px}.sidebar .user{margin-top:30px}.sidebar .user img{display:block;margin-bottom:20px;margin-left:auto;margin-right:auto}.sidebar .user .user-title{text-align:center}.sidebar .signin .btn{width:100%;box-shadow:none;background-color:transparent;color:#fff;border:1px solid #fff;opacity:.9;letter-spacing:4px;font-weight:bold;font-size:16px}.sidebar .signin .btn:hover{opacity:1}.admin input{border-radius:0}.admin input:focus,.admin input:hover{outline:0;box-shadow:none}.admin .title-group{margin-top:0;margin-bottom:0}.admin .title-group input{box-shadow:none;padding:28px 6px 28px;font-size:20px;border:0}.admin .editor{font-size:16px}.admin .editor:focus{outline:0;box-shadow:none}.admin button.submit{width:200px;display:block;text-align:center;font-weight:bold;margin:-25px 0 10px;border:2px solid #ddd;background-color:#fff}.admin button.submit:hover{color:#000;border-color:#000}.admin button.submit:focus{outline:0;box-shadow:none}@media screen and (max-width:400px){.admin button.submit{margin-top:0;width:100%}}.admin .remove{width:200px;display:block;font-size:12px;float:left}.editor-preview{background-color:#fff}.not-found{text-align:center}.not-found h2{font-size:130px;margin-top:50px}.not-found .error-description{font-size:18px;color:#999}.icon-bold,.icon-italic,.icon-quote,.icon-unordered-list,.icon-ordered-list,.icon-image,.icon-play,.icon-music,.icon-contract,.icon-fullscreen,.icon-question,.icon-info,.icon-undo,.icon-redo,.icon-code,.icon-preview,.icon-link,.icon-upload{font-family:'FontAwesome';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased}.icon-bold:before{content:"\f032"}.icon-italic:before{content:"\f033"}.icon-quote:before{content:"\f10d"}.icon-unordered-list:before{content:"\f0ca"}.icon-ordered-list:before{content:"\f0cb"}.icon-link:before{content:"\f0c1"}.icon-image:before{content:"\f03e"}.icon-upload:before{content:"\f0ee"}.icon-play:before{content:"\e008"}.icon-music:before{content:"\e009"}.icon-contract:before{content:"\e00a"}.icon-question:before{content:"\e00c"}.icon-info:before{content:"\f05a"}.icon-undo:before{content:"\e00e"}.icon-redo:before{content:"\f01e"}.icon-code:before{content:"\e011"}.icon-preview:before{content:"\f06e"}.icon-fullscreen:before{content:"\f065"}.CodeMirror{height:500px}.CodeMirror-scroll{overflow:auto}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px}.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror div.CodeMirror-cursor{border-left:1px solid #000;z-index:3}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid #c0c0c0}.CodeMirror.cm-keymap-fat-cursor div.CodeMirror-cursor{width:auto;border:0;background:#7e7;z-index:1}.cm-s-paper .cm-keyword{color:#555}.cm-s-paper .cm-atom{color:#7f8c8d}.cm-s-paper .cm-number{color:#7f8c8d}.cm-s-paper .cm-def{color:#00f}.cm-s-paper .cm-variable{color:#000}.cm-s-paper .cm-variable-2{color:#555}.cm-s-paper .cm-variable-3{color:#085}.cm-s-paper .cm-property{color:#000}.cm-s-paper .cm-operator{color:#000}.cm-s-paper .cm-comment{color:#959595}.cm-s-paper .cm-string{color:#7f8c8d}.cm-s-paper .cm-string-2{color:#f50}.cm-s-paper .cm-meta{color:#555}.cm-s-paper .cm-error{color:#f00}.cm-s-paper .cm-qualifier{color:#555}.cm-s-paper .cm-builtin{color:#555}.cm-s-paper .cm-bracket{color:#997}.cm-s-paper .cm-tag{color:#7f8c8d}.cm-s-paper .cm-attribute{color:#7f8c8d}.cm-s-paper .cm-header{color:#000}.cm-s-paper .cm-quote{color:#888}.cm-s-paper .cm-hr{color:#999}.cm-s-paper .cm-link{color:#7f8c8d}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:bold}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-invalidchar{color:#f00}div.CodeMirror span.CodeMirror-matchingbracket{color:#0f0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#f22}.CodeMirror{position:relative;overflow:hidden}.CodeMirror-scroll{margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;padding-right:30px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0;z-index:6}.CodeMirror-lines{cursor:text}.CodeMirror pre{-moz-border-radius:0;-webkit-border-radius:0;-o-border-radius:0;border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre-wrap;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;overflow:auto}.CodeMirror-widget{display:inline-block}.CodeMirror-wrap .CodeMirror-scroll{overflow-x:hidden}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-measure pre{position:static}.CodeMirror div.CodeMirror-cursor{position:absolute;visibility:hidden;border-right:none;width:0}.CodeMirror-focused div.CodeMirror-cursor{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#bdc3c7}.cm-searching{background:#ffa;background:rgba(255,255,0,0.4)}.CodeMirror span{*vertical-align:text-bottom}@media print{.CodeMirror div.CodeMirror-cursor{visibility:hidden}}.CodeMirror{height:450px}:-webkit-full-screen{background:#f9f9f5;padding:.5em 1em;width:100%;height:100%}:-moz-full-screen{padding:.5em 1em;background:#f9f9f5;width:100%;height:100%}.editor-wrapper{font:16px/1.8 "Helvetica Neue","Xin Gothic","Hiragino Sans GB","WenQuanYi Micro Hei","Microsoft YaHei",sans-serif;color:#2c3e50}.editor-wrapper input.title{font:18px "Helvetica Neue","Xin Gothic","Hiragino Sans GB","WenQuanYi Micro Hei","Microsoft YaHei",sans-serif;background:transparent;padding:4px;width:100%;border:none;outline:none;opacity:.6}.editor-toolbar{position:relative;opacity:.6;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.editor-toolbar:before,.editor-toolbar:after{display:block;content:' ';height:1px;background-color:#bdc3c7;background:-moz-linear-gradient(45deg, #f9f9f9, #bdc3c7, #f9f9f9);background:-webkit-linear-gradient(45deg, #f9f9f9, #bdc3c7, #f9f9f9);background:-ms-linear-gradient(45deg, #f9f9f9, #bdc3c7, #f9f9f9);background:linear-gradient(45deg, #f9f9f9, #bdc3c7, #f9f9f9)}.editor-toolbar:before{margin-bottom:8px}.editor-toolbar:after{margin-top:8px}.editor-wrapper input.title:hover,.editor-wrapper input.title:focus,.editor-toolbar:hover{opacity:.8}.editor-toolbar a{display:inline-block;text-align:center;text-decoration:none !important;color:#2c3e50 !important;width:24px;height:24px;margin:2px;border:1px solid transparent;border-radius:3px;cursor:pointer}.editor-toolbar a:hover,.editor-toolbar a.active{background:#fcfcfc;border-color:#95a5a6}.editor-toolbar a:before{line-height:24px}.editor-toolbar i.separator{display:inline-block;width:0;border-left:1px solid #d9d9d9;border-right:1px solid #fff;color:transparent;text-indent:-10px;margin:0 6px}.editor-toolbar a.icon-fullscreen{position:absolute;right:0}.editor-statusbar{border-top:1px solid #ece9e9;padding:8px 10px;font-size:12px;color:#959694;text-align:right}.editor-statusbar span{display:inline-block;min-width:4em;margin-left:1em}.editor-statusbar .lines:before{content:'lines: '}.editor-statusbar .words:before{content:'words: '}.editor-preview{position:absolute;width:100%;height:100%;top:0;left:100%;background:#fff;z-index:998;overflow:auto;-webkit-transition:left .2s ease;-moz-transition:left .2s ease;-ms-transition:left .2s ease;transition:left .2s ease}.editor-preview-active{left:0}.editor-preview>p{margin-top:0}.alert-module{width:100%;font-size:14px;font-weight:bold;position:fixed;z-index:9999;top:0;left:0;opacity:.9}.alert-module .alert{border:0;border-radius:0;margin-bottom:0;text-align:center}.pager-module ul.pagination{margin-top:0;margin-bottom:0;padding-bottom:0}.pager-module ul.pagination li a{border-radius:0 !important}#nprogress .spinner{top:auto;bottom:30px;right:30px}.meta-background{margin:20px 0;border-radius:3px;background-color:#bdc3c7;background-repeat:no-repeat;background-size:cover;position:relative;height:60px;color:#fff}.meta-background .hidden-input{position:absolute;width:100%;height:100%;opacity:0;left:0;top:0;z-index:99;cursor:pointer}.meta-background .upload-background-btn{box-shadow:none;font-size:20px;text-align:center;display:block;position:absolute;z-index:98;width:100%;height:50px;line-height:50px;color:#fff}.meta-background .upload-background-btn:hover{cursor:pointer}.meta-background:hover{background-color:#7f8c8d;cursor:pointer} \ No newline at end of file +@import url('../../font-awesome/css/font-awesome.min.css');*{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}html,body{overflow-x:hidden}.nav,.pagination,.carousel,.panel-title a{cursor:pointer}.loading{font-size:50px;color:#ddd;padding:50px 0;text-align:center}[ng\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak{display:none !important}.bgr{width:100%;height:100%;top:0;left:0;position:absolute;z-index:1;background:url('/images/raster.png')}nav a{color:#fff;display:block;padding:20px;cursor:pointer}nav a.toggle-sidebar{float:left;width:80px}nav span{font-size:24px;color:#fff}nav .options a{float:left}nav .avatar img{width:32px;height:32px}header{height:350px;position:relative;margin-bottom:1px;background-color:#444;background-repeat:no-repeat;background-size:cover;background-image:url('../images/background.jpg');-webkit-transition:height 0.5s, background-image 0.5s ease-in-out;-moz-transition:height 0.5s, background-image 0.5s ease-in-out;-ms-transition:height 0.5s, background-image 0.5s ease-in-out;-o-transition:height 0.5s, background-image 0.5s ease-in-out;-webkit-box-shadow:inset 0 -90px 120px rgba(0,0,0,0.2);-moz-box-shadow:inset 0 -90px 120px rgba(0,0,0,0.2);-o-box-shadow:inset 0 -90px 120px rgba(0,0,0,0.2);box-shadow:inset 0 -90px 120px rgba(0,0,0,0.2)}header .logo{position:absolute;z-index:90;top:50%;margin-top:-20px}header .logo h1{margin-top:0;font-size:30px;margin-bottom:0}header .logo h1 a{text-decoration:none;line-height:1;color:#444;font-size:30px}header .logo h1 span{color:#444;font-size:16px;padding-left:20px}@media screen and (max-width:400px){header .logo{width:90%;text-align:center}}header.admin{height:80px}header.archive,header.admin{background-image:url('../images/background.jpg') !important}footer{padding:40px 0;font-size:12px;color:#999;text-align:right}.archive .article{background-color:#efefef;position:relative;background-size:cover;background-repeat:no-repeat}.archive .article h3.title{margin-top:0;font-weight:bold;margin-bottom:1px}.archive .article h3.title a{display:block;color:#34495e;padding:30px 0;-webkit-transition:padding, 0.2s;-moz-transition:padding, 0.2s;-ms-transition:padding, 0.2s;-o-transition:padding, 0.2s}.archive .article h3.title a:hover{text-decoration:none;color:#34495e;padding:100px 0}@media screen and (max-width:400px){.archive .article h3.title{font-size:18px}}.archive .article .content,.archive .article .entry{font-size:16px;line-height:1.8}.archive .has-thumbnail{opacity:.8}.archive .has-thumbnail h3.title a{color:#fff}.archive .has-thumbnail:hover{opacity:1}.archive .has-thumbnail:hover h3.title a{color:#efefef}.single .title-section{margin-top:-110px}@media screen and (max-width:400px){.single .title-section{margin-top:-100px}}.single .title-section .title{font-size:32px;margin-bottom:20px;font-weight:bold;color:#fff}@media screen and (max-width:400px){.single .title-section .title{font-size:28px}}.single .meta-section .options{font-size:12px;padding-left:10px}.single .meta-section .options a{font-weight:normal;display:inline-block;padding:3px 6px;color:#999;margin-right:8px;border-radius:3px;text-decoration:none}.single .meta-section .options a:hover{text-decoration:none;background-color:#000;color:#fff;cursor:pointer}.single .meta-section .pubdate{font-size:14px;color:#999;font-weight:normal}@media screen and (max-width:400px){.single .meta-section .pubdate{float:none;margin-top:10px}}.single .author-section{border-top:1px solid #efefef;border-bottom:1px solid #efefef;padding:20px 0 20px;margin-top:20px;margin-bottom:20px}.single .author-section .author-avatar{display:block}.single .author-section .mini-avatar{width:45px;height:45px;float:right}.single .author-section .author-name{font-weight:bold;display:block;margin-bottom:0}.single .author-section .author-description{font-size:12px;color:#999;margin-bottom:0}.single .content{clear:both;font-size:16px;padding-top:40px}.single .content p{font-size:16px;line-height:1.8}.single .content pre{display:block;border:0;border-radius:0}.single .content img{max-width:100%}.single .content h1,.single .content h2,.single .content h3,.single .content h4{font-weight:bold}.single .content ol,.single .content ul{padding-left:20px;font-size:14px}.single .content ol li,.single .content ul li{padding-bottom:5px}.single .content ol li .col-lg-8,.single .content ul li .col-lg-8{width:100% !important;margin-left:0 !important}.single .content ol li .container,.single .content ul li .container,.single .content ol li .row,.single .content ul li .row{width:100% !important}.single .content blockquote{font-weight:bold}.single .content blockquote .container,.single .content blockquote .row{width:100% !important}.single .content blockquote .col-lg-8{width:100% !important;margin-left:0 !important;padding-left:0}.single .content hr{margin-top:10px;margin-bottom:10px}.single .code-section{background-color:#f5f5f8;box-shadow:inset 0 0 3px #ddd;margin-top:10px;margin-bottom:10px}.single .code-section pre{padding-top:20px;padding-bottom:20px;padding-left:0;padding-right:0;margin-bottom:0;background-color:transparent;font-size:14px}.single .comments-section .ds-post-self{padding:0 !important;padding-top:10px !important;padding-bottom:10px !important}.sidebar{padding:20px}.sidebar .user{margin-top:30px}.sidebar .user img{display:block;margin-bottom:20px;margin-left:auto;margin-right:auto}.sidebar .user .user-title{text-align:center}.sidebar .signin .btn{width:100%;box-shadow:none;background-color:transparent;color:#fff;border:1px solid #fff;opacity:.9;letter-spacing:4px;font-weight:bold;font-size:16px}.sidebar .signin .btn:hover{opacity:1}.admin input{border-radius:0}.admin input:focus,.admin input:hover{outline:0;box-shadow:none}.admin .title-group{margin-top:0;margin-bottom:0}.admin .title-group input{box-shadow:none;padding:28px 6px 28px;font-size:20px;border:0}.admin .editor{font-size:16px}.admin .editor:focus{outline:0;box-shadow:none}.admin button.submit{width:200px;display:block;text-align:center;font-weight:bold;margin:-25px 0 10px;border:2px solid #ddd;background-color:#fff}.admin button.submit:hover{color:#000;border-color:#000}.admin button.submit:focus{outline:0;box-shadow:none}@media screen and (max-width:400px){.admin button.submit{margin-top:0;width:100%}}.admin .remove{width:200px;display:block;font-size:12px;float:left}.editor-preview{background-color:#fff}.not-found{text-align:center}.not-found h2{font-size:130px;margin-top:50px}.not-found .error-description{font-size:18px;color:#999}.icon-bold,.icon-italic,.icon-quote,.icon-unordered-list,.icon-ordered-list,.icon-image,.icon-play,.icon-music,.icon-contract,.icon-fullscreen,.icon-question,.icon-info,.icon-undo,.icon-redo,.icon-code,.icon-preview,.icon-link,.icon-upload{font-family:'FontAwesome';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased}.icon-bold:before{content:"\f032"}.icon-italic:before{content:"\f033"}.icon-quote:before{content:"\f10d"}.icon-unordered-list:before{content:"\f0ca"}.icon-ordered-list:before{content:"\f0cb"}.icon-link:before{content:"\f0c1"}.icon-image:before{content:"\f03e"}.icon-upload:before{content:"\f0ee"}.icon-play:before{content:"\e008"}.icon-music:before{content:"\e009"}.icon-contract:before{content:"\e00a"}.icon-question:before{content:"\e00c"}.icon-info:before{content:"\f05a"}.icon-undo:before{content:"\e00e"}.icon-redo:before{content:"\f01e"}.icon-code:before{content:"\e011"}.icon-preview:before{content:"\f06e"}.icon-fullscreen:before{content:"\f065"}.CodeMirror{height:500px}.CodeMirror-scroll{overflow:auto}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px}.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror div.CodeMirror-cursor{border-left:1px solid #000;z-index:3}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid #c0c0c0}.CodeMirror.cm-keymap-fat-cursor div.CodeMirror-cursor{width:auto;border:0;background:#7e7;z-index:1}.cm-s-paper .cm-keyword{color:#555}.cm-s-paper .cm-atom{color:#7f8c8d}.cm-s-paper .cm-number{color:#7f8c8d}.cm-s-paper .cm-def{color:#00f}.cm-s-paper .cm-variable{color:#000}.cm-s-paper .cm-variable-2{color:#555}.cm-s-paper .cm-variable-3{color:#085}.cm-s-paper .cm-property{color:#000}.cm-s-paper .cm-operator{color:#000}.cm-s-paper .cm-comment{color:#959595}.cm-s-paper .cm-string{color:#7f8c8d}.cm-s-paper .cm-string-2{color:#f50}.cm-s-paper .cm-meta{color:#555}.cm-s-paper .cm-error{color:#f00}.cm-s-paper .cm-qualifier{color:#555}.cm-s-paper .cm-builtin{color:#555}.cm-s-paper .cm-bracket{color:#997}.cm-s-paper .cm-tag{color:#7f8c8d}.cm-s-paper .cm-attribute{color:#7f8c8d}.cm-s-paper .cm-header{color:#000}.cm-s-paper .cm-quote{color:#888}.cm-s-paper .cm-hr{color:#999}.cm-s-paper .cm-link{color:#7f8c8d}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:bold}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-invalidchar{color:#f00}div.CodeMirror span.CodeMirror-matchingbracket{color:#0f0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#f22}.CodeMirror{position:relative;overflow:hidden}.CodeMirror-scroll{margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;padding-right:30px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0;z-index:6}.CodeMirror-lines{cursor:text}.CodeMirror pre{-moz-border-radius:0;-webkit-border-radius:0;-o-border-radius:0;border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre-wrap;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;overflow:auto}.CodeMirror-widget{display:inline-block}.CodeMirror-wrap .CodeMirror-scroll{overflow-x:hidden}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-measure pre{position:static}.CodeMirror div.CodeMirror-cursor{position:absolute;visibility:hidden;border-right:none;width:0}.CodeMirror-focused div.CodeMirror-cursor{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#bdc3c7}.cm-searching{background:#ffa;background:rgba(255,255,0,0.4)}.CodeMirror span{*vertical-align:text-bottom}@media print{.CodeMirror div.CodeMirror-cursor{visibility:hidden}}.CodeMirror{height:450px}:-webkit-full-screen{background:#f9f9f5;padding:.5em 1em;width:100%;height:100%}:-moz-full-screen{padding:.5em 1em;background:#f9f9f5;width:100%;height:100%}.editor-wrapper{font:16px/1.8 "Helvetica Neue","Xin Gothic","Hiragino Sans GB","WenQuanYi Micro Hei","Microsoft YaHei",sans-serif;color:#2c3e50}.editor-wrapper input.title{font:18px "Helvetica Neue","Xin Gothic","Hiragino Sans GB","WenQuanYi Micro Hei","Microsoft YaHei",sans-serif;background:transparent;padding:4px;width:100%;border:none;outline:none;opacity:.6}.editor-toolbar{position:relative;opacity:.6;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.editor-toolbar:before,.editor-toolbar:after{display:block;content:' ';height:1px;background-color:#bdc3c7;background:-moz-linear-gradient(45deg, #f9f9f9, #bdc3c7, #f9f9f9);background:-webkit-linear-gradient(45deg, #f9f9f9, #bdc3c7, #f9f9f9);background:-ms-linear-gradient(45deg, #f9f9f9, #bdc3c7, #f9f9f9);background:linear-gradient(45deg, #f9f9f9, #bdc3c7, #f9f9f9)}.editor-toolbar:before{margin-bottom:8px}.editor-toolbar:after{margin-top:8px}.editor-wrapper input.title:hover,.editor-wrapper input.title:focus,.editor-toolbar:hover{opacity:.8}.editor-toolbar a{display:inline-block;text-align:center;text-decoration:none !important;color:#2c3e50 !important;width:24px;height:24px;margin:2px;border:1px solid transparent;border-radius:3px;cursor:pointer}.editor-toolbar a:hover,.editor-toolbar a.active{background:#fcfcfc;border-color:#95a5a6}.editor-toolbar a:before{line-height:24px}.editor-toolbar i.separator{display:inline-block;width:0;border-left:1px solid #d9d9d9;border-right:1px solid #fff;color:transparent;text-indent:-10px;margin:0 6px}.editor-toolbar a.icon-fullscreen{position:absolute;right:0}.editor-statusbar{border-top:1px solid #ece9e9;padding:8px 10px;font-size:12px;color:#959694;text-align:right}.editor-statusbar span{display:inline-block;min-width:4em;margin-left:1em}.editor-statusbar .lines:before{content:'lines: '}.editor-statusbar .words:before{content:'words: '}.editor-preview{position:absolute;width:100%;height:100%;top:0;left:100%;background:#fff;z-index:998;overflow:auto;-webkit-transition:left .2s ease;-moz-transition:left .2s ease;-ms-transition:left .2s ease;transition:left .2s ease}.editor-preview-active{left:0}.editor-preview>p{margin-top:0}.alert-module{width:100%;font-size:14px;font-weight:bold;position:fixed;z-index:9999;top:0;left:0;opacity:.9}.alert-module .alert{border:0;border-radius:0;margin-bottom:0;text-align:center}.pager-module ul.pagination{margin-top:0;margin-bottom:0;padding-bottom:0}.pager-module ul.pagination li a{border-radius:0 !important}#nprogress .spinner{top:auto;bottom:30px;right:30px}.meta-background{margin:20px 0;border-radius:3px;background-color:#bdc3c7;background-repeat:no-repeat;background-size:cover;position:relative;height:60px;color:#fff}.meta-background .hidden-input{position:absolute;width:100%;height:100%;opacity:0;left:0;top:0;z-index:99;cursor:pointer}.meta-background .upload-background-btn{box-shadow:none;font-size:20px;text-align:center;display:block;position:absolute;z-index:98;width:100%;height:50px;line-height:50px;color:#fff}.meta-background .upload-background-btn:hover{cursor:pointer}.meta-background:hover{background-color:#7f8c8d;cursor:pointer} \ No newline at end of file diff --git a/images/background.jpg b/images/background.jpg new file mode 100644 index 0000000..77bcb7b Binary files /dev/null and b/images/background.jpg differ diff --git a/less/header.less b/less/header.less index a29737f..e69f16f 100644 --- a/less/header.less +++ b/less/header.less @@ -7,7 +7,7 @@ header { background-size: cover; background-image: url(@background); .transition(height 0.5s, background-image 0.5s ease-in-out); - .box-shadow(inset 0px -90px 120px rgba(0, 0, 0, 0.5)); + .box-shadow(inset 0px -90px 120px rgba(0, 0, 0, 0.2)); .logo { position: absolute; z-index: 90; @@ -20,11 +20,11 @@ header { a { text-decoration: none; line-height: 1; - color: #fff; + color: #444; font-size: 30px; } span { - color: #fff; + color: #444; font-size: 16px; padding-left: 20px; } diff --git a/less/vars.less b/less/vars.less index 2c69bae..876133a 100644 --- a/less/vars.less +++ b/less/vars.less @@ -14,4 +14,4 @@ * **/ -@background: 'http://airpub.b0.upaiyun.com/2014/08/12/upload_bannerPicture.jpg'; \ No newline at end of file +@background: '../images/background.jpg'; \ No newline at end of file