﻿/* 文章详情页样式表
 * @Author: INSO
 * @Date: 2019-10-09 11:32:01
 * @Last Modified by:   INSO
 * @Last Modified time: 2019-10-09 11:32:01
 */

/* Google 风格配色方案 */
:root {
    --google-blue: #4285F4;
    --google-red: #EA4335;
    --google-yellow: #FBBC04;
    --google-green: #34A853;
    --primary-blue: #4285F4;
    --secondary-blue: #5294F7;
    --accent-blue: #1A73E8;
    --hover-blue: #669DF6;
    --light-blue: #A8C7FA;
}

.left {
    -moz-transition: all .6s;
    -o-transition: all .6s;
    -webkit-transition: all .6s;
    transition: all .6s;
}

.article-detail {
    background: #FFFFFF;
    padding: 10px 15px;
    margin-bottom: 15px;
    overflow-x: hidden;
    border: 1px solid #DADCE0;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.1);
}

.article-tool {
    height: 24px;
    line-height: 24px;
    margin-bottom: 15px;
}

    .article-tool .tool-box {
        float: right;
    }

.article-detail-title {
    text-align: center;
    margin: 10px -15px 15px;
    color: #202124;
    background-color: #F8F9FA;
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    padding: 18px 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.article-detail-abstract {
    padding: 10px;
    margin: 10px 0;
    margin-top: 20px;
    border: 1px solid #E8EAED;
    border-radius: 8px;
    background-color: #F8F9FA;
    line-height: 26px;
    color: #5F6368;
}

    .article-detail-abstract span {
        margin-right: 5px;
    }

.article-detail-content {
    padding: 10px 5px;
    color: #202124;
    line-height: 1.8;
}

.component-box {
    margin: 0 auto;
    text-align: center;
    font-size: 0;
    position: relative;
    width: 260px;
}

    .component-box a {
        display: inline-block;
        font-size: 14px;
    }

    .component-box .fa {
        text-indent: 0;
        margin-right: 3px;
    }

    .component-box .praise,
    .component-box .share {
        width: 110px;
        height: 34px;
        line-height: 34px;
        color: #fff;
    }

    .component-box .praise {
        padding-right: 20px;
        background: var(--google-blue);
        text-indent: 1em;
        border-top-left-radius: 50px;
        border-bottom-left-radius: 50px;
        background: -webkit-linear-gradient(left, var(--accent-blue), var(--google-blue)); /* Safari 5.1 - 6.0 */
        background: -o-linear-gradient(right, var(--accent-blue), var(--google-blue)); /* Opera 11.1 - 12.0 */
        background: -moz-linear-gradient(right, var(--accent-blue), var(--google-blue)); /* Firefox 3.6 - 15 */
        background: linear-gradient(to right, var(--accent-blue), var(--google-blue)); /* 标准的语法 */
        box-shadow: 0 2px 4px rgba(66, 133, 244, 0.3);
    }

        .component-box .praise:hover {
            background: var(--google-blue);
            box-shadow: 0 4px 8px rgba(66, 133, 244, 0.4);
        }

    .component-box .share {
        background: var(--secondary-blue);
        padding-left: 20px;
        text-indent: .8em;
        border-top-right-radius: 50px;
        border-bottom-right-radius: 50px;
        background: -webkit-linear-gradient(left, var(--google-blue), var(--hover-blue)); /* Safari 5.1 - 6.0 */
        background: -o-linear-gradient(right, var(--google-blue), var(--hover-blue)); /* Opera 11.1 - 12.0 */
        background: -moz-linear-gradient(right, var(--google-blue), var(--hover-blue)); /* Firefox 3.6 - 15 */
        background: linear-gradient(to right, var(--google-blue), var(--hover-blue)); /* 标准的语法 */
        box-shadow: 0 2px 4px rgba(102, 157, 246, 0.3);
    }

        .component-box .share:hover {
            background: var(--secondary-blue);
            box-shadow: 0 4px 8px rgba(102, 157, 246, 0.4);
        }

    .component-box .reword {
        border-radius: 50%;
        width: 40px;
        height: 40px;
        line-height: 40px;
        color: #FFFFFF;
        position: absolute;
        left: 110px;
        top: -6px;
        border: 3px solid #FFFFFF;
        background-color: var(--google-yellow);
        font-size: 16px;
        box-shadow: 0 2px 4px rgba(251, 188, 4, 0.3);
    }

.article-detail-copyright {
    border: 1px solid #E8EAED;
    border-radius: 8px;
    background-color: #F8F9FA;
    padding: 10px 15px !important;
    margin-top: 10px;
}

    .article-detail-copyright p {
        margin: 5px 0 !important;
    }

.article-component {
    border: 1px solid #DADCE0;
    border-top: none;
    margin-top: -15px;
    margin-bottom: 15px;
    background-color: #FFFFFF;
    padding: 20px 0;
    border-radius: 0 0 8px 8px;
}

.article-music {
    border: 1px solid #DADCE0;
    margin-bottom: 15px;
    background-color: #FFFFFF;
    border-radius: 8px;
}

    .article-music .layui-badge {
        border-radius: 4px;
        margin-left: 5px;
        margin-top: 5px;
        margin-bottom: 5px;
        background-color: var(--google-blue);
    }

    .article-music .aplayer {
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

        .article-music .aplayer .aplayer-pic {
            border: 1px solid #f2f2f2;
            -moz-box-sizing: border-box;
            -webkit-box-sizing: border-box;
            box-sizing: border-box;
        }

        .article-music .aplayer.aplayer-withlist .aplayer-info {
            border-bottom: none;
        }

        .article-music .aplayer .aplayer-list {
            border: 1px solid #e9e9e9;
            margin-top: 5px;
        }

            .article-music .aplayer .aplayer-list ol li.aplayer-list-light {
                background-color: #f2f2f2;
            }

            .article-music .aplayer .aplayer-list ol li:hover {
                background-color: transparent;
            }

                .article-music .aplayer .aplayer-list ol li:hover > * {
                    color: var(--primary-blue)
                }
/*文章详情页END*/
@media (max-width: 767px) {
    .article-detail {
        padding: 10px;
        font-size: 13px;
    }

    .article-detail-copyright p {
        font-size: 12px;
    }
}
