init blog

This commit is contained in:
dengtongyu committed 2018-05-08 11:22:54 +08:00
1 parent 5acc46db8e
commit 843783ce9a
1820 files changed
+539344

No files matched your search

@@ -0,0 +1,231 @@
@charset "utf-8";
/**
* Editor
* @link https://www.bgbk.org
*/
/*----------------------------------------------------------
Body
----------------------------------------------------------*/
html,
body,
* {
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}
#tinymce {
color: #333;
font: 12px/24px Hiragino Sans GB, Microsoft Yahei, SimSun, Helvetica, Arial, Sans-serif;
margin: 10px 15px;
}
/*----------------------------------------------------------
Context
----------------------------------------------------------*/
#tinymce p {
line-height: 28px;
margin: 0 0 10px;
}
#tinymce a {
color: #2D6DCC;
}
#tinymce a:hover {
text-decoration: underline;
}
#tinymce div,
#tinymce form,
#tinymce pre,
#tinymce code {
margin-bottom: 10px;
}
#tinymce h1,
#tinymce h2,
#tinymce h3,
#tinymce h4,
#tinymce h5,
#tinymce h6 {
margin-bottom: 10px;
border-bottom: 1px solid #E6E6EB;
}
#tinymce h1 {
font-size: 22px;
line-height: 32px;
font-weight: bold;
}
#tinymce h2 {
font-size: 20px;
line-height: 40px;
margin: 0 -15px 10px;
padding: 0 15px;
border-bottom: none;
background: #FAFAFA;
}
#tinymce h3 {
font-size: 18px;
line-height: 38px;
margin: 0 -15px 10px;
padding: 0 15px;
border-bottom: none;
background: #FAFAFA;
}
#tinymce h4 {
font-size: 16px;
line-height: 26px;
}
#tinymce h5 {
font-size: 14px;
line-height: 24px;
}
#tinymce h6 {
font-size: 12px;
line-height: 22px;
}
#tinymce img:not(.wp-more-tag) {
max-width: 100%;
height: auto;
border: 1px solid #E6E6EB;
margin-bottom: 10px;
padding: 2px;
transition: .5s;
-webkit-transition: .5s;
-moz-transition: .5s;
-o-transition: .5s;
transition-property: border-color, box-shadow;
-webkit-transition-property: border-color, box-shadow;
-moz-transition-property: border-color, box-shadow;
-o-transition-property: border-color, box-shadow;
}
#tinymce img:not(.wp-more-tag):hover {
border-color: #2D6DCC;
box-shadow: 0 0 2px #2D6DCC;
-moz-box-shadow: 0 0 2px #2D6DCC;
}
#tinymce strong, #tinymce b {
background: #F0F0F5;
-moz-border-radius: 2px;
border-radius: 2px;
padding: 2px 8px;
font-size: .9375em;
font-weight: normal;
}
#tinymce .wp-caption {
border: 1px solid #E6E6EB;
max-width: 100%;
}
#tinymce .wp-caption:hover,
#tinymce .wp-caption:hover p {
border-color: #CCC;
color: #333;
}
#tinymce .wp-caption img {
width: 100%;
margin-bottom: 0;
border: none;
}
#tinymce .wp-caption img:hover {
background: transparent;
box-shadow: none;
-moz-box-shadow: none;
}
#tinymce .wp-caption .wp-caption-text {
background: #FAFAFA;
margin-bottom: 0;
line-height: 24px;
border-top: 1px solid #E6E6EB;
text-indent: 0;
text-align: center;
font-size: 14px;
color: #666;
padding: 5px 2px;
}
#tinymce blockquote {
margin: 0 0 10px;
width: 100%;
border: 1px solid #E6E6EB;
border-left-width: 8px;
padding: 10px 10px 0;
}
#tinymce hr {
border-top: 1px solid #E6E6EB;
margin: 0 -15px 10px;
}
#tinymce ol,
#tinymce ul {
margin-bottom: 10px;
padding-left: 0;
}
#tinymce li {
list-style: circle inside;
margin-bottom: 10px;
}
#tinymce li:last-child {
margin-bottom: 0;
}
#tinymce ol li {
list-style-type: decimal;
}
#tinymce table {
width: 100%;
margin-bottom: 10px;
border: 1px solid #E6E6EB;
}
#tinymce table tr:nth-child(odd) {
background: #FAFAFA;
}
#tinymce table tr:last-child td {
border-bottom: none;
}
#tinymce table tr td {
border: solid #E6E6EB;
border-width: 0 1px 1px 0;
padding: 4px 8px;
}
#tinymce table tr td:last-child {
border-right: none;
}
#tinymce pre {
font: inherit;
font-family: Consolas, Monaco, 'Courier New', Courier, monospace;
line-height: 18px;
border: 1px solid #E6E6EB;
background: #FAFAFA;
padding: 5px 10px;
overflow-x: auto;
overflow-y: hidden;
}
#tinymce > *:last-child {
margin-bottom: 0;
}
+66
View File
@@ -0,0 +1,66 @@
@charset "utf-8";
/**
* IE8
* @link https://www.bgbk.org
*/
/*----------------------------------------------------------
Header
----------------------------------------------------------*/
#header .logo a {
background-image: none;
text-indent: 0;
width: auto;
}
#header_menu > li:hover {
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr = #2EFFFFFF, endColorstr = #2EFFFFFF );
}
#header_menu > li.current-menu-item,
#header_menu > li.current-menu-parent,
#header_menu > li.current_page_item,
#header_menu > li.current-post-ancestor {
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr = #2E000000, endColorstr = #2E000000 );
}
#header_menu li > a:after {
display: none;
}
/*----------------------------------------------------------
Slider
----------------------------------------------------------*/
.slider .slider-text > .post-title,
.slider .slider-text > .excerpt {
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr = #A8000000, endColorstr = #A8000000 );
}
.slider .slider-dots > .dot:hover {
filter: Alpha( opacity = 80 );
}
/*----------------------------------------------------------
Post
----------------------------------------------------------*/
.related-posts > li .excerpt {
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr = #CC000000, endColorstr = #CC000000 );
}
/*----------------------------------------------------------
Return top
----------------------------------------------------------*/
#return-top {
filter: Alpha( opacity = 80 );
}
#return-top:hover {
filter: Alpha( opacity = 100 );
}
/*----------------------------------------------------------
Footer
----------------------------------------------------------*/
#footer_menu > li > a:after {
display: none;
}
@@ -0,0 +1,72 @@
@charset "utf-8";
/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
* @license MIT */
/*----------------------------------------------------------
Make clicks pass-through
----------------------------------------------------------*/
#nprogress {
pointer-events: none;
}
#nprogress .bar {
background: #2D6DCC;
position: fixed;
z-index: 1031;
top: 0;
left: 0;
width: 100%;
height: 2px;
}
/*----------------------------------------------------------
Fancy blur effect
----------------------------------------------------------*/
#nprogress .peg {
display: block;
position: absolute;
right: 0px;
width: 100px;
height: 100%;
box-shadow: 0 0 10px #2D6DCC, 0 0 5px #2D6DCC;
-moz-box-shadow: 0 0 10px #2D6DCC, 0 0 5px #2D6DCC;
opacity: 1;
transform: rotate(3deg) translate(0px, -4px);
-ms-transform: rotate(3deg) translate(0px, -4px);
-webkit-transform: rotate(3deg) translate(0px, -4px);
-0-transform: rotate(3deg) translate(0px, -4px);
}
/*----------------------------------------------------------
Remove these to get rid of the spinner
----------------------------------------------------------*/
#nprogress .spinner {
display: block;
position: fixed;
z-index: 500;
top: 16px;
right: 16px;
}
#nprogress .spinner-icon {
width: 18px;
height: 18px;
border: solid 2px transparent;
border-top-color: #2D6DCC;
border-left-color: #2D6DCC;
border-radius: 50%;
animation: rotate 400ms linear infinite;
-moz-animation: rotate 400ms linear infinite;
-webkit-animation: rotate 400ms linear infinite;
-o-animation: rotate 400ms linear infinite;
}
.nprogress-custom-parent {
overflow: hidden;
position: relative;
}
.nprogress-custom-parent #nprogress .spinner,
.nprogress-custom-parent #nprogress .bar {
position: absolute;
}
@@ -0,0 +1,180 @@
@charset "utf-8";
/*
* Owl Carousel - Animate Plugin
*/
.owl-carousel .animated {
-webkit-animation-duration: 1000ms;
animation-duration: 1000ms;
-webkit-animation-fill-mode: both;
animation-fill-mode: both; }
.owl-carousel .owl-animated-in {
z-index: 0; }
.owl-carousel .owl-animated-out {
z-index: 1; }
.owl-carousel .fadeOut {
-webkit-animation-name: fadeOut;
animation-name: fadeOut; }
@-webkit-keyframes fadeOut {
0% {
opacity: 1; }
100% {
opacity: 0; } }
@keyframes fadeOut {
0% {
opacity: 1; }
100% {
opacity: 0; } }
/*
* Owl Carousel - Auto Height Plugin
*/
.owl-height {
-webkit-transition: height 500ms ease-in-out;
-moz-transition: height 500ms ease-in-out;
-ms-transition: height 500ms ease-in-out;
-o-transition: height 500ms ease-in-out;
transition: height 500ms ease-in-out; }
/*
* Core Owl Carousel CSS File
*/
.owl-carousel {
display: none;
width: 100%;
-webkit-tap-highlight-color: transparent;
/* position relative and z-index fix webkit rendering fonts issue */
position: relative;
z-index: 1; }
.owl-carousel .owl-stage {
position: relative;
-ms-touch-action: pan-Y; }
.owl-carousel .owl-stage:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0; }
.owl-carousel .owl-stage-outer {
position: relative;
overflow: hidden;
/* fix for flashing background */
-webkit-transform: translate3d(0px, 0px, 0px); }
.owl-carousel .owl-item {
position: relative;
min-height: 1px;
float: left;
-webkit-backface-visibility: hidden;
-webkit-tap-highlight-color: transparent;
-webkit-touch-callout: none; }
.owl-carousel .owl-item img {
display: block;
width: 100%;
-webkit-transform-style: preserve-3d; }
.owl-carousel .owl-nav.disabled, .owl-carousel .owl-dots.disabled {
display: none; }
.owl-carousel .owl-nav .owl-prev, .owl-carousel .owl-nav .owl-next, .owl-carousel .owl-dot {
cursor: pointer;
cursor: hand;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }
.owl-carousel.owl-loaded {
display: block; }
.owl-carousel.owl-loading {
opacity: 0;
display: block; }
.owl-carousel.owl-hidden {
opacity: 0; }
.owl-carousel.owl-refresh .owl-item {
display: none; }
.owl-carousel.owl-drag .owl-item {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }
.owl-carousel.owl-grab {
cursor: move;
cursor: -webkit-grab;
cursor: -o-grab;
cursor: -ms-grab;
cursor: grab; }
.owl-carousel.owl-rtl {
direction: rtl; }
.owl-carousel.owl-rtl .owl-item {
float: right; }
/* No Js */
.no-js .owl-carousel {
display: block; }
/*
* Owl Carousel - Lazy Load Plugin
*/
.owl-carousel .owl-item .owl-lazy {
opacity: 0;
-webkit-transition: opacity 400ms ease;
-moz-transition: opacity 400ms ease;
-ms-transition: opacity 400ms ease;
-o-transition: opacity 400ms ease;
transition: opacity 400ms ease; }
.owl-carousel .owl-item img {
transform-style: preserve-3d; }
/*
* Owl Carousel - Video Plugin
*/
.owl-carousel .owl-video-wrapper {
position: relative;
height: 100%;
background: #000; }
.owl-carousel .owl-video-play-icon {
position: absolute;
height: 80px;
width: 80px;
left: 50%;
top: 50%;
margin-left: -40px;
margin-top: -40px;
background: url("owl.video.play.png") no-repeat;
cursor: pointer;
z-index: 1;
-webkit-backface-visibility: hidden;
-webkit-transition: scale 100ms ease;
-moz-transition: scale 100ms ease;
-ms-transition: scale 100ms ease;
-o-transition: scale 100ms ease;
transition: scale 100ms ease; }
.owl-carousel .owl-video-play-icon:hover {
-webkit-transition: scale(1.3, 1.3);
-moz-transition: scale(1.3, 1.3);
-ms-transition: scale(1.3, 1.3);
-o-transition: scale(1.3, 1.3);
transition: scale(1.3, 1.3); }
.owl-carousel .owl-video-playing .owl-video-tn, .owl-carousel .owl-video-playing .owl-video-play-icon {
display: none; }
.owl-carousel .owl-video-tn {
opacity: 0;
height: 100%;
background-position: center center;
background-repeat: no-repeat;
-webkit-background-size: contain;
-moz-background-size: contain;
-o-background-size: contain;
background-size: contain;
-webkit-transition: opacity 400ms ease;
-moz-transition: opacity 400ms ease;
-ms-transition: opacity 400ms ease;
-o-transition: opacity 400ms ease;
transition: opacity 400ms ease; }
.owl-carousel .owl-video-frame {
position: relative;
z-index: 1;
height: 100%;
width: 100%; }
@@ -0,0 +1,419 @@
@charset "utf-8";
/**
* Responsive
* @link https://www.bgbk.org
*/
/*----------------------------------------------------------
1000 Full screen
----------------------------------------------------------*/
@media screen and (max-width: 1000px) {
.box-md {
width: 100%;
}
#post-box .post-title {
border: none;
margin: 0 0 -1px;
}
}
/*----------------------------------------------------------
900 Full screen
----------------------------------------------------------*/
@media screen and (max-width: 900px) {
#wrapper .wrapper-table-box {
display: block;
}
#container {
display: block;
}
#container > .row {
padding-right: 0;
}
#sidebar {
width: 100%;
display: block;
}
}
/*----------------------------------------------------------
800 Full screen
----------------------------------------------------------*/
@media screen and (max-width: 800px) {
body {
background: #FFF !important;
}
.pc-hide {
display: block;
}
.mobile-hide {
display: none;
}
.span12,
.span11,
.span10,
.span9,
.span8,
.span7,
.span6,
.span5,
.span4 {
width: 100%;
}
.span3,
.span2 {
width: 50%;
}
.span1 {
width: 25%;
}
.panel {
margin-bottom: 0;
padding: 10px;
}
.panel.transparent {
background: #FFF;
}
.panel .panel-header {
border-bottom: none;
background: transparent;
margin: -10px -10px 0;
}
.panel .panel-header h1,
.panel .panel-header h2,
.panel .panel-header h3,
.panel .panel-header h4 {
padding: 0 10px;
}
.panel .panel-header .right {
padding-right: 10px;
}
#header {
margin-bottom: 0;
border-bottom: none;
height: 50px;
position: fixed;
}
#header > .box-md {
display: none;
}
#mobile-header {
display: block;
}
#mobile-tab-menu {
display: block;
}
#wrapper > .box-md {
min-height: 400px;
}
.box-md {
margin: 50px 0;
}
.slider .slider-text > .post-title,
.slider .slider-text > .excerpt {
white-space: nowrap;
overflow: hidden;
-ms-text-overflow: ellipsis;
text-overflow: ellipsis;
max-width: 100%;
}
.slider .slider-text > .post-title {
font-weight: normal;
font-size: 14px;
line-height: 16px;
}
.posts-list > li .panel {
border-bottom: 1px solid #E6E6EB;
height: 85px;
}
.posts-list > li .panel:before {
content: '';
position: absolute;
right: 0;
top: 0;
height: 84px;
width: 10px;
background: #FFF;
z-index: 30;
}
.posts-list > li:last-child .panel {
border-bottom: none;
}
.posts-list > li .panel-header {
height: 10px;
}
.posts-list > li .post-title a {
position: absolute;
text-indent: 10px;
width: 100%;
height: 85px;
top: 0;
left: 0;
z-index: 50;
white-space: nowrap;
overflow: hidden;
-ms-text-overflow: ellipsis;
text-overflow: ellipsis;
padding-right: 10px;
}
.posts-list > li .post-title a:hover {
color: #333;
}
.posts-list > li .post-title a:active {
opacity: .3;
background: #000;
}
.posts-list > li.thumbnail .post-title a {
text-indent: 80px;
}
.posts-list > li .thumbnail-link,
.posts-list > li .thumbnail-link .thumbnail {
width: 65px;
height: 65px;
}
.posts-list > li .thumbnail-link + .right-box {
left: 80px;
}
.posts-list > li .right-box {
position: absolute;
top: 33px;
left: 10px;
}
.posts-list > li .excerpt {
line-height: 22px;
color: #999;
white-space: nowrap;
}
.posts-list > li .post-meta {
line-height: 22px;
}
.posts-list > li .post-meta > li {
border: none;
border-radius: none;
-moz-border-radius: none;
padding: 0;
line-height: 22px;
}
.posts-list > li .post-meta > li.author {
display: none;
}
.posts-list > li .post-meta > li,
.posts-list > li .post-meta > li a {
color: #999;
}
/**
* @since Beginning 4.0.0
*/
.posts-list.full-text > li .panel {
height: auto;
padding-bottom: 0;
}
.posts-list.full-text > li .panel:before {
display: none;
}
.posts-list.full-text > li .panel-header {
height: auto;
}
.posts-list.full-text > li .post-title {
white-space: inherit;
overflow: visible;
padding: 10px;
}
.posts-list.full-text > li .post-title a,
.posts-list.full-text > li.thumbnail .post-title a {
position: relative;
display: block;
width: 100%;
height: auto;
left: 0;
text-indent: 0;
white-space: inherit;
overflow: visible;
line-height: 22px;
padding-right: 0;
}
.posts-list.full-text > li .context {
display: none;
}
/**
* @since Beginning 4.0.0
*
* End
*/
.posts-list-page-navi {
display: none;
}
.posts-list-mobile-page-navi {
display: block;
}
.archive-header {
display: none;
}
#post-box .post-meta-box .post-meta {
display: none;
}
#post-box .panel-header {
margin-bottom: 10px;
}
#post-box .panel-header .right {
display: none;
}
.related-posts-box.collapse {
margin-top: -20px;
}
.related-posts-box .related-posts-box-panel {
margin-bottom: 0;
padding: 10px;
}
.related-posts-box.collapse .panel-header {
display: none;
}
.related-posts {
margin-top: 0;
}
.related-posts > li {
width: 33.33333333%;
}
.related-posts > li .related-posts-panel {
border-color: #E6E6EB;
}
.related-posts > li .excerpt {
top: 0;
}
#comments.collapse .panel {
margin-top: -20px;
}
#comments.collapse .panel .panel-header {
display: none;
}
.comments-list {
margin: 0 -10px -10px;
}
.comments-list li > .children .children {
margin-left: 0;
}
#commentform .comment-form-smiley .smiley-box {
width: 271px;
}
#commentform .comment-form-smiley .smiley-box > a {
width: 45px;
height: 45px;
line-height: 45px;
}
.search-header {
display: none;
}
.hot-searches {
display: block;
}
#sidebar {
display: none;
}
#footer {
height: 50px;
background: #FAFAFA;
position: fixed;
bottom: 0;
left: 0;
border-top: none;
}
#footer > .box-md {
display: none;
}
#mobile-menu {
display: block;
}
}
/*----------------------------------------------------------
600 Full screen
----------------------------------------------------------*/
@media screen and (max-width: 600px) {
.related-posts > li {
width: 100%;
}
#respond .comment-form-author,
#respond .comment-form-email {
width: 100%;
padding: 0;
}
}