demo10-css分块

/* Table of Contents
/* ------------------------------------------------------------

This is a development CSS file which is built to a minified
production stylesheet in assets/built/screen.css

1.  Global Styles
2.  Layout
     2.1. home page style 
3.  Special Templates
4.  Site Header
5.  Site Navigation
6.  Post Feed
    6.1. post-card style
7.  Single Post
  7.1. Subscribe Form
  7.2. Post Footer
  7.3. Comments
  7.4. Related Posts
  7.5. Floating Header
8.  Author Template
9.  Error Template
10. Subscribe Overlay
11. Site Footer

*/


/* 1. Global - Set up the things
/* ---------------------------------------------------------- */
@import "global.css";
@import "font.css";
::-webkit-scrollbar{
    width : 5px;
}
/* ::-webkit-scrollbar-track  
 {  
     border-radius: 10px;  
 }  */ 
  
/*定义滑块 内阴影+圆角*/  
::-webkit-scrollbar-thumb  
{  
    border-radius: 10px;
    background-color: rgba(0,0,0,0.5)  
} 
html{
    height: 100%;
}

body {
    background: #f4f8fb;
}

.img {
    display: block;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    border-radius: 100%;
}

.hidden {
    visibility: hidden;
    position: absolute;
    text-indent: -9999px;
}


/* 2. Layout - Page building blocks
/* ---------------------------------------------------------- */

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-main {
    z-index: 100;
    flex-grow: 1;
}

/* Full width page blocks */
.outer {
    position: relative;
    padding: 0 4vw;
}

/* Centered content container blocks */
.inner {
    margin: 0 auto;
    max-width: 1040px;
    width: 100%;
}

/* Usage:

<div class="outer">
    <div class="inner">
        Centered content
    </div>
</div>

*/

/* 2.1 home page style */
.home-template .site-header{
    position: fixed;
    width: 100%;
    height: 100%;
}
.home-template .site-footer{
    position: fixed;
    bottom: 0;
    background-color : transparent;
    width: 100%; 
}

.social-nav{
    font-family: 'iconfont';
    text-decoration: none;
    display: flex;
    justify-content : center;
    align-items : center;
}
.social-nav ul{
    margin: 20px 0 0 0;
    list-style: none;
    font-size: 2em;
    display: flex;
    justify-content : center;
    align-items : center;
    position: relative;
}
.social-nav li{
    padding: 0 1rem;
    color : #eee;
}
.social-nav .qq-nav{
    cursor: pointer;
}
.social-nav .qq-nav:hover + .qrcode{
    opacity: 1;
    visibility: visible;
    height: 200px;    
}
.social-nav .qrcode{
    width: 200px;
    height: 0;
    position: absolute;
    background: url('../images/qrcode.jpg') no-repeat;
    background-size: cover;
    opacity: 0;
    visibility: hidden;
    z-index: 101;
    transition : all .3s ease;
}
.social-nav a{
    color: rgba(255,255,255,.7);
}
.social-nav a:hover{
    text-decoration: none;
    color: #fff;
}
@media (max-width: 700px){
    .home-template .site-nav .nav{
        width: 100%;
        margin: 0;
    }
    .home-template .nav li{
        line-height: inherit;
    }
    .social-nav ul a{
        font-size: 2rem;
    }
    .social-nav .qrcode{
        position: fixed;
        left: 0;
        right: 0;
        margin: 0 auto;
        bottom: 20px;
    }
    .qrcode:before{
        content: "";
        width:150%;
        height: 300px;
        display: block;
        background-color: rgba(0,0,0,0.3);
        position: fixed;
        margin-left: -50%;
    }
    .social-nav .qq-nav:hover + .qrcode{
        height: 250px;
        width: 250px;
        opacity: 1;
        visibility: visible;
    }
}

/* 3. Special Template Styles
/* ---------------------------------------------------------- */

@media (min-width: 900px) {
    .tag-template .post-feed,
    .author-template .post-feed {
        margin-top: -70px;
        padding-top: 0;
    }
/*     .home-template .site-nav {
    position: relative;
    top: -70px;
} */
    .home-template .post-feed{
        margin-top: 50px;
    }
}


/* 4. Site Header
/* ---------------------------------------------------------- */

.site-header {
    position: relative;
    padding-top: 12px;
    padding-bottom: 12px;
    color: #fff;
    /* background: color(var(--darkgrey) l(-5%)) no-repeat center center; */
    background: #000 no-repeat center center;
    background-size: cover;
}

.site-header:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    background: rgba(0,0,0,0.4);
}

.site-header:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    z-index: 10;
    display: block;
    height: 80px;
    background: linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0));
}

.site-header.no-cover:before,
.site-header.no-cover:after {
    display: none;
}

.site-header-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10vw 4vw;
    min-height: 200px;
    max-height: 450px;
    text-align: center;
}

.site-title {
    z-index: 10;
    margin: 0;
    padding: 0;
    font-size: 3.8rem;
    font-weight: 700;
}

.site-logo {
    max-height: 45px;
}

.site-description {
    z-index: 10;
    margin: 0;
    padding: 5px 0;
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    opacity: 0.8;
}
.author-name{
    font-size: 2.2rem;
    z-index: 1;
}
@media (max-width: 500px) {
    .site-title {
        font-size: 3rem;
    }
    .site-description {
        font-size: 1.8rem;
    }
    .author-name{
        font-size: 1.8rem;
    }
}


/* 5. Site Navigation
/* ---------------------------------------------------------- */




/* .site-nav-left {
    display: flex;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    margin-right: 10px;
    padding-bottom: 80px;
    letter-spacing: 0.4px;
    white-space: nowrap;

    -ms-overflow-scrolling: touch;
} */

/* Site Nav Hack Explanation (above):

What's happening above it .site-nav-left is set to overflow-x and allow sideways scrolling, so that when there isn't enough space for all nav items (either due to lots of nav items, or a small viewport), you can still scroll side-to-side to reach them.

The knock-on effect of this is ugly browser-scroll bars at the bottom, so 80px of padding-bottom and a 40px fixed height parent (.site-nav) hides that entirely. Slightly hacky code. But nice clean end-result.

*/

.site-nav-logo {
    flex-shrink: 0;
    display: block;
    /* margin-right: 24px; */
    padding: 11px 0;
    color: #fff;
    font-size: 1.7rem;
    line-height: 1em;
    font-weight: bold;
    letter-spacing: -0.5px;
}

.site-nav-logo:hover {
    text-decoration: none;
}

.site-nav-logo img {
    display: block;
    width: auto;
    height: 3rem;
}
.site-nav {
    position: relative;
    z-index: 300;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow-y: hidden;
    height: 40px;
    font-size: 1.2rem;
}
/* body:not(.home-template) .site-nav:before{
    content : '\e678\e679\e602\e601\e6cf';
    font-family: 'iconfont';
    font-size: 1.7rem;
} */
.nav{
    /* width: 90%; */
    display: flex;
/*     justify-content : center;
align-items : center; */
    margin: 0 0 0 -12px;
    list-style : none;
}
.nav li{
 /*    flex : 1 1; */
    text-align: center;
    text-transform: uppercase;
    padding : 0;
    margin : 0;
    font-size: 1.2rem;
    font-weight: 500;
}
.nav li a {
    display: block;
    margin: 0;
    /* padding: 5px 15px; */
    padding: 9px 16px;
    color: #fff;
    opacity: 0.8;
    white-space: nowrap;
}
.nav a:hover{
    text-decoration: none;
     opacity: 1;
}
.home-template .site-nav{
    justify-content : center;
    height: auto;
    overflow-x: hidden;
}
.home-template .nav {
    margin: 0 0 0 5px;
    padding: 0;
    width: 40%;
    justify-content : center;
}

.home-template .nav li {
    margin: 0 5px;
    padding: 0 ;
    border: 1px solid #fff;
    border-radius: 19px;
}
.home-template .nav li a{
    font-size: 1.2rem;
    line-height: 1;
}

/* .home-template .nav li a {
    color: #fff;
    opacity: 0.8;
    white-space: nowrap;
}

.home-template .nav li a:hover {
    text-decoration: none;
    opacity: 1;
} */

.site-nav-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    height: 40px;
}

.social-links {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.social-links a:last-of-type {
    padding-right: 20px;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 10px;
    color: #fff;
    opacity: 0.8;
}

.social-link:hover {
    opacity: 1;
}

.social-link svg {
    height: 1.8rem;
    fill: #fff;
}


@media (max-width: 700px) {
    .site-header {
        padding-right: 0;
        padding-left: 0;
    }
    .site-nav-left {
        margin-right: 0;
        padding-left: 4vw;
    }
    .site-nav-right {
        display: none;
    }
    .home-template a{
        font-size: 0.9rem;
    }
}


/* 6. Post Feed
/* ---------------------------------------------------------- */

.post-feed {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin: 0 -20px;
    padding: 40px 0 0 0;
}

.post-card {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0 20px 40px;
    min-height: 300px;
    background: #fff center center;
    background-size: cover;
    border-radius: 5px;
    box-shadow: rgba(39,44,49,0.06) 8px 14px 38px, rgba(39, 44, 49, 0.03) 1px 3px 8px;
    transition: all 0.5s ease;
}

.post-card:hover {
    box-shadow: 0 0 1px rgba(39,44,49,0.10), 0 3px 16px rgba(39, 44, 49,0.07);
    transition: all 0.3s ease;
    transform: translate3D(0, -1px, 0);
}

.post-card-image-link {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 5px 5px 0 0;
}

.post-card-image-link:hover{
    text-decoration: none;
}

.post-card-image {
    width: auto;
    height: 200px;
    background: var(--lightgrey) no-repeat center center;
    background-size: cover;
}

.post-card-content-link {
    position: relative;
    display: block;
    padding: 25px 25px 0;
    color: var(--darkgrey);
}

.post-card-content-link:hover {
    text-decoration: none;
}

.post-card-tags {
    display: block;
    margin-bottom: 4px;
    color: var(--midgrey);
    font-size: 1.2rem;
    line-height: 1.15em;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.post-card-title {
    margin-top: 0;
}

.post-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.post-card-excerpt {
    font-family: Georgia, serif;
}

.post-card-meta {
    padding: 0 25px 25px;
}

.author-profile-image {
    margin-right: 5px;
    width: 25px;
    height: 25px;
    border-radius: 100%;

    object-fit: cover;
}

.post-card-author {
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* 
// post-card style
// .post-card .post-card-image-link:hover{
//  text-decoration: none !important;
// }
 */

.post-card-image-time{
    display: block;
    width: 100%;
    text-align: center;
    height: 30px;
    line-height: 30px;
    background-color: rgba(0,0,0,0.2);
    color: #fff;
    text-decoration: none;
}

.post-card-image{
    display: flex;
    align-items : flex-end;
}

.post-card-date{
    height: 200px;
    width: 100%;
    background-color: #34cba3;
    color: #fff;
    display: flex;
    justify-content : center;
    align-items : center;
    flex-wrap : wrap;
}

.post-card-date:hover{
    background-color: #61debd;
    text-decoration: none;
}

.post-card-month,
.post-card-day,
.post-card-weekday,
.post-card-year{
    flex : 1 1 100%;
    text-align: center;
}

.post-card-weekday{
    align-self: flex-start;     
}

.post-card-day time{
    font-size: 50px;
    border-bottom: 1px solid #fff;
}

.post-card-year{
    align-self : flex-end;
    font-size: 12px;
}

.post-card-excerpt {
    font-family: "ff-tisa-web-pro-1","ff-tisa-web-pro-2","Lucida Grande","Hiragino Sans GB","Hiragino Sans GB W3","Microsoft YaHei","WenQuanYi Micro Hei",sans-serif;
    max-height: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5em;
    color: #6e6e6e;
}

.post-card-meta{
    padding-top: 10px;
}

.post-card-tags{
    display: inline-block;
    background-color: #34cba3;
    color: #fff;
    margin: 0 5px;
    height: 20px;
  line-height: 20px;
  padding: 0 5px;
  border-radius: 10px;
}

@media (min-width 795px) {
 .home-template .post-feed .post-card:nth-child(6n+1) .post-card-date{
    flex: 1 1 100%;
    flex-direction: row;
    }
}

/* Special Styling for home page grid (below):

The first (most recent) post in the list is styled to be bigger than the others and take over the full width of the grid to give it more emphasis. Wrapped in a media query to make sure this only happens on large viewports / desktop-ish devices.

 */

@media (min-width: 795px) {
    .home-template .post-feed .post-card:nth-child(6n+1):not(.no-image) {
        flex: 1 1 100%;
        flex-direction: row;
    }

    .home-template .post-feed .post-card:nth-child(6n+1):not(.no-image) .post-card-image-link {
        position: relative;
        flex: 1 1 auto;
        border-radius: 5px 0 0 5px;
    }

    .home-template .post-feed .post-card:nth-child(6n+1):not(.no-image) .post-card-image {
        position: absolute;
        width: 100%;
        height: 100%;
    }

    .home-template .post-feed .post-card:nth-child(6n+1):not(.no-image) .post-card-content {
        flex: 0 1 357px;
    }

    .home-template .post-feed .post-card:nth-child(6n+1):not(.no-image) h2 {
        font-size: 2.6rem;
    }

    .home-template .post-feed .post-card:nth-child(6n+1):not(.no-image) p {
        font-size: 1.8rem;
        line-height: 1.55em;
    }

    .home-template .post-feed .post-card:nth-child(6n+1):not(.no-image) .post-card-content-link {
        padding: 30px 40px 0;
    }

    .home-template .post-feed .post-card:nth-child(6n+1):not(.no-image) .post-card-meta {
        padding: 0 40px 30px;
    }
}

.home-template .site-header:after {
    display: none;
}


/* Adjust some margins for smaller screens */
@media (max-width: 650px) {
    .post-feed {
        padding-top: 5vw;
    }
    .post-card {
        margin: 0 20px 5vw;
    }
}



/* 7. Single Post
/* ---------------------------------------------------------- */

.post-template .site-main,
.page-template .site-main {
    padding-bottom: 4vw;
    background: #fff;
}

.post-full {
    position: relative;
    z-index: 50;
}
/* ^ Required to make .post-full-content:before/after z-index stacking work */

.post-full-header {
    margin: 0 auto;
    padding: 6vw 3vw 3vw;
    max-width: 1040px;
    text-align: center;
}
@media (max-width: 500px) {
    .post-full-header {
        padding: 14vw 3vw 10vw;
    }
}

.post-full-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--midgrey);
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    flex-wrap : wrap;
}

.post-full-meta-date {
    color: var(--blue);
    margin-right: 10px;
}

.post-full-title {
    margin: 0;
    color: color(var(--darkgrey) l(-5%));
}

.date-divider {
    display: inline-block;
    margin: 0 6px 1px;
}

.post-full-image {
    margin: 0 -10vw -165px;
    height: 800px;
    background: var(--lightgrey) center center;
    background-size: cover;
    border-radius: 5px;
}

@media (max-width: 1170px) {
    .post-full-image {
        margin: 0 -4vw -100px;
        height: 600px;
        border-radius: 0;
    }
}

@media (max-width: 800px) {
    .post-full-image {
        height: 400px;
    }
}

.post-full-content {
    position: relative;
    margin: 0 auto;
    padding: 70px 100px 0;
    min-height: 230px;
    font-family: Georgia, serif;
    font-size: 2.2rem;
    line-height: 1.6em;
    background: #fff;
}

@media (max-width: 1170px) {
    .post-full-content {
        padding: 5vw 7vw 0;
    }
}
@media (max-width: 800px) {
    .post-full-content {
        font-size: 1.9rem;
    }
}

.post-full-content:before {
    content: "";
    position: absolute;
    top: 15px;
    left: -5px;
    z-index: -1;
    display: block;
    width: 20px;
    height: 200px;
    background: rgba(39,44,49,0.15);
    filter: blur(5px);
    transform: rotate(-5deg);
}

.post-full-content:after {
    content: "";
    position: absolute;
    top: 15px;
    right: -5px;
    z-index: -1;
    display: block;
    width: 20px;
    height: 200px;
    background: rgba(39,44,49,0.15);
    filter: blur(5px);
    transform: rotate(5deg);
}

.no-image .post-full-content {
    padding-top: 0;
}

.no-image .post-full-content:before,
.no-image .post-full-content:after {
    display: none;
}

/* // .kg-card-markdown {
//     display: flex;
//     flex-direction: column;
//     align-items: center;
//     max-width: 920px;
// }

// .post-full-content h1,
// .post-full-content h2,
// .post-full-content h3,
// .post-full-content h4,
// .post-full-content h5,
// .post-full-content h6,
// .post-full-content p,
// .post-full-content ul,
// .post-full-content ol,
// .post-full-content dl,
// .post-full-content pre,
// .post-full-content blockquote,
// .post-full-comments,
// .footnotes {
//     min-width: 100%;
// }

// .post-full-content li {
//     word-break: break-word;
// }

// .post-full-content li p {
//     margin: 0;
// }

// .post-template .kg-card-markdown > p:first-child {
//     font-size: 1.25em;
//     line-height: 1.5em;
// }

// .post-full-content a {
//     color: #000;
//     box-shadow: var(--blue) 0 -1px 0 inset;
// }

// .post-full-content a:hover {
//     color: var(--blue);
//     text-decoration: none;
// }

// .post-full-content strong,
// .post-full-content em {
//     color: color(var(--darkgrey) l(-5%));
// }

// .post-full-content small {
//     display: inline-block;
//     line-height: 1.6em;
// }

// .post-full-content li:first-child {
//     margin-top: 0;
// }

// .post-full-content img,
// .post-full-content video {
//     display: block;
//     margin: 1.5em auto;
//     max-width: 1040px;
// }
// @media (max-width: 1040px) {
//     .post-full-content img,
//     .post-full-content video {
//         width: 100%;
//     }
// }


Full bleed images (#full)
Super neat trick courtesy of @JoelDrapper

Usage (In Ghost edtior):

![img](/some/image.jpg#full)
// .post-full-content img[src$="#full"] {
//     max-width: none;
//     width: 100vw;
// }


Image captions

Usage (In Ghost editor):

![img](/some/image.jpg)
<small>Your image caption</small>
// .post-full-content img + br + small {
//     display: block;
//     margin-top: -3em;
//     margin-bottom: 1.5em;
// }


// .post-full-content iframe {
//     margin: 0 auto;
// }

// .post-full-content blockquote {
//     margin: 0 0 1.5em;
//     padding: 0 1.5em;
//     border-left: #3eb0ef 3px solid;
// }

// .post-full-content blockquote p {
//     margin: 0 0 1em 0;
//     color: inherit;
//     font-size: inherit;
//     line-height: inherit;
//     font-style: italic;
// }

// .post-full-content blockquote p:last-child {
//     margin-bottom: 0;
// }

// .post-full-content code {
//     padding: 0 5px 2px;
//     font-size: 0.8em;
//     line-height: 1em;
//     font-weight: 400!important;
//     background: var(--whitegrey);
//     border-radius: 3px;
// }

// .post-full-content pre {
//     overflow-x: auto;
//     margin: 1.5em 0 3em;
//     padding: 20px;
//     max-width: 100%;
//     border: color(var(--darkgrey) l(-10%)) 1px solid;
//     color: var(--whitegrey);
//     font-size: 1.4rem;
//     line-height: 1.5em;
//     background: color(var(--darkgrey) l(-3%));
//     border-radius: 5px;
// }

// .post-full-content pre code {
//     padding: 0;
//     font-size: inherit;
//     line-height: inherit;
//     background: transparent;
// }

// .post-full-content pre code * {
//     color: inherit;
// }

// .post-full-content .fluid-width-video-wrapper {
//     margin: 1.5em 0 3em;
// }

// .post-full-content hr {
//     margin: 4vw 0;
// }

// .post-full-content hr:after {
//     content: "";
//     position: absolute;
//     top: -15px;
//     left: 50%;
//     display: block;
//     margin-left: -10px;
//     width: 1px;
//     height: 30px;
//     background: color(var(--lightgrey) l(+10%));
//     box-shadow: #fff 0 0 0 5px;
//     transform: rotate(45deg);
// }

// .post-full-content h1,
// .post-full-content h2,
// .post-full-content h3,
// .post-full-content h4,
// .post-full-content h5,
// .post-full-content h6 {
//     color: color(var(--darkgrey) l(-5%));
//     font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
// }

// .post-full-content h1 {
//     margin: 0.5em 0 0.2em 0;
//     font-size: 4.6rem;
//     font-weight: 700;
// }
// @media (max-width: 500px) {
//     .post-full-content h1 {
//         font-size: 2.8rem;
//     }
// }

// .post-full-content h2 {
//     margin: 0.5em 0 0.2em 0;
//     font-size: 3.6rem;
//     font-weight: 700;
// }
// @media (max-width: 500px) {
//     .post-full-content h2 {
//         font-size: 2.6rem;
//     }
// }

// .post-full-content h3 {
//     margin: 0.5em 0 0.2em 0;
//     font-size: 2.8rem;
//     font-weight: 700;
// }
// @media (max-width: 500px) {
//     .post-full-content h3 {
//         font-size: 2.2rem;
//     }
// }

// .post-full-content h4 {
//     margin: 0.5em 0 0.2em 0;
//     font-size: 2.8rem;
//     font-weight: 700;
// }
// @media (max-width: 500px) {
//     .post-full-content h4 {
//         font-size: 2.2rem;
//     }
// }

// .post-full-content h5 {
//     display: block;
//     margin: 0.5em 0;
//     padding: 1em 0 1.5em;
//     border: 0;
//     color: var(--blue);
//     font-family: Georgia,serif;
//     font-size: 3.2rem;
//     line-height: 1.35em;
//     text-align: center;
// }
// @media (min-width: 1180px) {
//     .post-full-content h5 {
//         max-width: 1060px;
//         width: 100vw;
//     }
// }
// @media (max-width: 500px) {
//     .post-full-content h5 {
//         padding: 0 0 0.5em;
//         font-size: 2.2rem;
//     }
// }

// .post-full-content h6 {
//     margin: 0.5em 0 0.2em 0;
//     font-size: 2.3rem;
//     font-weight: 700;
// }
// @media (max-width: 500px) {
//     .post-full-content h6 {
//         font-size: 2rem;
//     }
// } */
.top{
    width: 45px;
    height: 35px;
    background-color: rgba(150,150,150,.4);
    position: fixed;
    bottom: 210px;
    right: 20px;
    display: none;
    z-index: 100;
    text-align: center;
    font-family: 'iconfont';
    font-size: 3rem;
    line-height: 35px;
    border-radius: 3px;
    transition : background .3s ease;
}
.top:hover{
    background-color: rgba(100,100,100,.4);
}
.top a{
    color: #fff;
}
.top a:hover{
    text-decoration: none;
}
.top.show{
    display: block;
}
.footnotes-sep {
    margin-bottom: 30px;
}

.footnotes {
    font-size: 1.5rem;
}

.footnotes p {
    margin: 0;
}

.footnote-backref {
    color: var(--blue) !important;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none !important;
    box-shadow: none !important;
}
@media (max-width : 700px){
    .post-full-meta-date{
        width: 100%;
    }
}
 /* Some grouped styles for smaller viewports */
@media (max-width: 500px) {
    .post-full-meta {
        font-size: 1.2rem;
        line-height: 1.3em;
    }
    .post-full-title {
        font-size: 2.9rem;
    }
    .post-full-image {
        margin-bottom: 4vw;
        height: 350px;
    }
    .post-full-content {
        padding: 0;
    }
    .post-full-content:before,
    .post-full-content:after {
        display: none;
    }
}

/* 7.2. Post Footer
/* ---------------------------------------------------------- */

.post-full-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 3vw 0 6vw 0;
    max-width: 840px;
}

.author-card {
    display: flex;
    align-items: center;
}

.author-card .author-profile-image {
    margin-right: 15px;
    width: 60px;
    height: 60px;
}

.author-card-name {
    margin: 0 0 2px 0;
    padding: 0;
    font-size: 2rem;
}

.author-card-name a {
    color: var(--darkgrey);
    font-weight: 700;
}

.author-card-name a:hover {
    text-decoration: none;
}

.author-card-content p {
    margin: 0;
    color: var(--midgrey);
    line-height: 1.3em;
}

.post-full-footer-right {
    flex-shrink: 0;
    margin-left: 20px;
}

.author-card-button {
    display: block;
    padding: 9px 16px;
    border: var(--midgrey) 1px solid;
    color: var(--midgrey);
    font-size: 1.2rem;
    line-height: 1;
    font-weight: 500;
    border-radius: 20px;
    transition: all ease 0.2s;
}

.author-card-button:hover {
    border-color: var(--blue);
    color: var(--blue);
    text-decoration: none;
}


/* 7.3. Comments
/* ---------------------------------------------------------- */

/* .post-full-comments {
    margin: 0 auto;
    max-width: 840px;
} */


/* 7.4. Related posts
/* ---------------------------------------------------------- */

.read-next-feed {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -20px;
    padding: 40px 0 0 0;
}

.read-next-card {
    position: relative;
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0 20px 40px;
    padding: 25px;
    color: #fff;
    background: var(--darkgrey) center center;
    background-size: cover;
    border-radius: 5px;
    box-shadow: rgba(39,44,49,0.06) 8px 14px 38px, rgba(39, 44, 49, 0.03) 1px 3px 8px;
}

.read-next-card:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    background: linear-gradient(135deg, rgba(0,40,60,0.8) 0%,rgba(0,20,40,0.7) 100%);
    border-radius: 5px;

    backdrop-filter: blur(2px);
}

.read-next-card-header {
    position: relative;
    z-index: 50;
    padding-top: 20px;
    text-align: center;
}

.read-next-card-header-sitetitle {
    display: block;
    font-size: 1.3rem;
    line-height: 1.3em;
    opacity: 0.8;
}

.read-next-card-header-title {
    margin: 0;
    padding: 0 20px;
    color: #fff;
    font-size: 3rem;
    line-height: 1.2em;
    letter-spacing: 1px;
}

.read-next-card-header-title a {
    color: #fff;
    font-weight: 300;
    text-decoration: none;
}

.read-next-card-header-title a:hover {
    text-decoration: none;
}

.read-next-divider {
    position: relative;
    display: flex;
    justify-content: center;
    height: 80px;
}

.read-next-divider svg {
    width: 40px;
    fill: transparent;
    stroke: #fff;

    stroke-width: 0.5px;
    stroke-opacity: 0.65;
}

.read-next-card-content {
    position: relative;
    z-index: 50;
    flex-grow: 1;
    display: flex;
    font-size: 1.7rem;
}

.read-next-card-content ul {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    list-style: none;
}

.read-next-card-content li {
    margin: 0;
    padding: 0;
    font-size: 1.6rem;
    line-height: 1.25em;
    font-weight: 200;
    letter-spacing: -0.5px;
}

.read-next-card-content li a {
    display: block;
    padding: 20px 0;
    border-bottom: rgba(255,255,255,0.3) 1px solid;
    color: #fff;
    font-weight: 500;
    vertical-align: top;
    transition: opacity 0.3s ease;
}

.read-next-card-content li:first-of-type a {
    padding-top: 10px;
}

.read-next-card-content li a:hover {
    opacity: 1;
}

.read-next-card-footer {
    position: relative;
    margin: 15px 0 3px 0;
    text-align: center;
}

.read-next-card-footer a {
    color: #fff;
}


/* 7.5. Floating Header
/* ---------------------------------------------------------- */

.floating-header {
    visibility: hidden;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    height: 60px;
    border-bottom: rgba(0,0,0,0.06) 1px solid;
    background: rgba(255,255,255,0.95);
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
    transform: translate3d(0, -120%, 0);
}

.floating-active {
    visibility: visible;
    transition: all 500ms cubic-bezier(0.22, 1, 0.27, 1);
    transform: translate3d(0, 0, 0);
}

.floating-header-logo {
    overflow: hidden;
    margin: 0 0 0 20px;
    font-size: 1.6rem;
    line-height: 1em;
    letter-spacing: -1px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.floating-header-logo a {
    display: flex;
    align-items: center;
    color: var(--darkgrey);
    line-height: 1.1em;
    font-weight: 700;
}

.floating-header-logo a:hover {
    text-decoration: none;
}

.floating-header-logo img {
    margin: 0 10px 0 0;
    max-height: 20px;
}

.floating-header-divider {
    margin: 0 5px;
    line-height: 1em;
}

.floating-header-title {
    flex: 1;
    overflow: hidden;
    margin: 0;
    color: #2e2e2e;
    font-size: 1.6rem;
    line-height: 1.3em;
    font-weight: bold;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.floating-header-share {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-left: 2%;
    font-size: 1.3rem;
    line-height: 1;
}

.floating-header-share a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-header-share svg {
    width: auto;
    height: 16px;
    fill: #fff;
}

.floating-header-share-label {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-right: 10px;
    color: rgba(0,0,0,0.7);
    font-weight: 500;
}

.floating-header-share-label svg {
    margin: 0 5px 0 10px;
    width: 18px;
    height: 18px;
    stroke: rgba(0,0,0,0.7);
    transform: rotate(90deg);
}

.floating-header-share .jiathis_style{
    display: flex;
    justify-content : center;
    align-items : center;
}
.floating-header-share .jiathis_style .jtico{
    background: url();
    padding: 0 !important;
}
.jiathis_button_tsina:hover,.jiathis_button_weixin:hover{
    text-decoration: none;
}
.floating-header-share .jiathis_style .jiathis_button_tsina:before{
    content: "\e6eb";
    font-family: 'iconfont';
    font-size: 1.5em;
    color: #f80017;
    cursor: pointer;
    margin: 1px 5px;
}
.floating-header-share .jiathis_style .jiathis_button_weixin:before{
    content: "\e65a";
    font-family: 'iconfont';
    font-size: 1.5em;
    color : #25c91a;
    cursor: pointer;
    margin: 1px 5px;
}
/* .floating-header-share-tw,
.floating-header-share-fb {
    display: block;
    align-items: center;
    width: 60px;
    height: 60px;
    color: #fff;
    line-height: 48px;
    text-align: center;
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
}

.floating-header-share-tw {
    background: #33b1ff;
}

.floating-header-share-fb {
    background: #005e99;
} */

.progress {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    border: none;
    /* color: var(--blue); */
    color: #3eb0ef;
    background: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;   
    appearance: none;
}

.progress::-webkit-progress-bar {
    background-color: transparent;
}

.progress::-webkit-progress-value {
    background-color: var(--blue);
}

.progress::-moz-progress-bar {
    background-color: var(--blue);
}

.progress-container {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    background-color: transparent;
}

.progress-bar {
    display: block;
    width: 50%;
    height: inherit;
    background-color: var(--blue);
}

@media (max-width: 900px) {
    .floating-header {
        height: 40px;
    }
    .floating-header-title,
    .floating-header-logo {
        font-size: 1.5rem;
    }
    .floating-header-share-tw,
    .floating-header-share-fb {
        width: 40px;
        height: 40px;
        line-height: 38px;
    }
}

@media (max-width: 800px) {
    .floating-header-logo {
        margin-left: 10px;
    }
    .floating-header-logo a {
        color: #2e2e2e;
    }
    .floating-header-title,
    .floating-header-divider {
        visibility: hidden;
    }
}

@media (max-width: 450px) {
    .floating-header-share-label {
        display: none;
    }
}


/* 8. Author Template
/* ---------------------------------------------------------- */

.site-header-content .author-profile-image {
    z-index: 10;
    flex-shrink: 0;
    margin: 0 0 20px 0;
    width: 100px;
    height: 100px;
    box-shadow: rgba(255,255,255,0.1) 0 0 0 6px;
}

.site-header-content .author-bio {
    z-index: 10;
    flex-shrink: 0;
    margin: 5px 0 10px 0;
    max-width: 600px;
    font-size: 2rem;
    line-height: 1.3em;
    font-weight: 300;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.site-header-content .author-meta {
    z-index: 10;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 10px 0;
    font-family: Georgia, serif;
    /* font-style: italic; */
}

.site-header-content .author-location svg {
    height: 1.9rem;
    stroke: #fff;
}

.site-header-content .bull {
    display: inline-block;
    margin: 0 12px;
    opacity: 0.5;
}

.site-header-content .social-link:first-of-type {
    padding-left: 4px;
}

@media (max-width: 500px) {
    .site-header-content .author-bio {
        font-size: 1.8rem;
        line-height: 1.15em;
        letter-spacing: 0;
    }
    .author-location,
    .author-stats {
        display: none;
    }
}


/* 9. Error Template
/* ---------------------------------------------------------- */

.error-template .site-main {
    padding: 7vw 4vw;
}

.site-nav-center {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.site-nav-center .site-nav-logo {
    margin-right: 0;
}

.error-message {
    text-align: center;
}

.error-code {
    margin: 0;
    font-size: 12vw;
    line-height: 1em;
    letter-spacing: -5px;
    opacity: 0.3;
}

.error-description {
    margin: 0;
    color: var(--midgrey);
    font-size: 3rem;
    line-height: 1.3em;
    font-weight: 400;
}

@media (max-width: 800px) {
    .error-description {
        margin: 5px 0 0 0;
        font-size: 1.8rem;
    }
}

.error-link {
    display: inline-block;
    margin-top: 5px;
}

.error-template .post-feed {
    padding-top: 0;
}

/* 11. Site Footer
/* ---------------------------------------------------------- */

.site-footer {
    position: relative;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
   /* background: color(var(--darkgrey) l(-15%)); */
    background-color:#000; 
}

.site-footer-content {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-between; */
    justify-content : center;
    align-items: center;
    color: rgba(255,255,255,0.7);
    font-size: 1.3rem;
}

.site-footer-content a {
    color: rgba(255,255,255,0.7);
}

.site-footer-content a:hover {
    color: rgba(255,255,255,1);
    text-decoration: none;
}
.site-footer-top{
    width: 100%;
    display: flex;
    align-items : center;
    justify-content : center;
}
.site-tag-block{
    max-width: 350px;
}
.site-tag-block h4{
    font-size: 1.5em;
    margin-top: 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #303030;
    position: relative;
}
.site-tag-block h4:after{
    content: "";
    width: 90px;
    height: 1px;
    background: #e67e22;
    position: absolute;
    left: 0;
    bottom: -1px;
}
.site-tag-block .tag-list{
    padding-left: 0;
    list-style: none;
    width: 100%;
    display: flex;
    flex-wrap : wrap;
}
.tag-list-item{
    margin : 0.5em 0.3em;
    padding-right: 0.3em;
    border : 1px solid #303030;
    transition : all .2s ease;
}
.tag-list-item:hover{
    background-color: #e67e22;
    border : 1px solid #e67e22;
}
.site-footer-bottom{
    display: flex;
    justify-content : center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.author-info a{
    text-decoration: underline;
}
.author-info .star-github{
    text-decoration: none;
}
.star-github i{
    font-family: 'iconfont';
    font-style: normal;
    font-size: 1.4em;
}
.site-footer-nav {
    display: flex;
}

.site-footer-nav a {
    position: relative;
    margin-left: 20px;
}

.site-footer-nav a:before {
    content: "";
    position: absolute;
    top: 11px;
    left: -11px;
    display: block;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 100%;
}

.site-footer-nav a:first-of-type:before {
    display: none;
}

@media (max-width: 650px) {
    .site-footer-content {
        flex-direction: column;
    }
    .site-footer-nav a:first-child {
        margin-left: 0;
    }
}

 

posted @ 2018-04-10 14:02  blackatall  阅读(71)  评论(0)    收藏  举报