﻿.content {
    margin-top: 60px;
}

.left-content {
    width: 13%;
    /*height: calc(100% - 60px);*/
    height: 90%;
    scrollbar-width: none;
}
    /*.content ::-webkit-scrollbar {
    display: none;
}*/
    .left-content::-webkit-scrollbar {
        width: 10px;
    }

    .left-content::-webkit-scrollbar-thumb {
        background-color: #49b1f5;
        background-image: -webkit-linear-gradient(45deg, hsla(0, 0%, 100%, .4) 25%, transparent 0, transparent 50%, hsla(0, 0%, 100%, .4) 0, hsla(0, 0%, 100%, .4) 75%, transparent 0, transparent);
        border-radius: 5px;
    }

/*    .left-content::-webkit-scrollbar-thumb:hover {
        background: #f40;
    }*/


.right-content {
    width: 87%;
}

.right-info {
    width:100%;
    max-width: 1800px;
    margin:auto;
    overflow:hidden;
}

.type-box {
    width: 100%;
    height: 80%;
    font-size: 1vw;
    text-align: center;
}

.site-box {
    width: 90%;
    margin: auto;
    margin-top: 100px;
}

.site-info{
    width:100%;
}

.site-introduce {
    width: 100%;
    position: relative;
}

.site-left {
    width: 250px;
    height:250px;
    position: relative;
    background-color: hsl(0 0% 87% / 0.40);
}

.site-img {
    width: 80px;
    height: 80px;
}

.site-browse{
    bottom:20px;
}

.site-right {
    flex: 3;
    width: 0;
    position: relative;
    margin-left: 20px;
}

.right-item{
    margin-top:10px;
}

.keyword-item{
    margin-bottom:40px;
}

.site-button {
    width:100%;
    position: absolute;
    display:flex;
    bottom: 0px;
    left: 0px;
}
.site-button .btn{
    flex:1;
    max-width:200px;
}
.site-button .add-like{
    margin-right:20px;
}

.site-details {
    margin-top: 40px;
}

/*ruisou广告*/
.carousel-box {
    flex: 2;
    height: 250px;
    margin-left: 20px;
    overflow: hidden;
}

#carouselExampleCaptions {
    width: 100%;
    height: 100%;
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100%;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    width: 100%;
    left: 0px;
    bottom: 0px;
    padding: 10px;
    background-image: linear-gradient(to top,rgba(0,0,0,.5) 20%,transparent 80%);
}

.carousel-ad {
    width: 100%;
    height:100%;
}

.ad-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.7rem;
    opacity: 0.5;
}

.site-list {
    width: 100%;
    margin-top: 50px;
    flex-wrap: wrap;
}
.recommend-site-title{
    position:relative;
}
#site_container {
    font-size: 0px;
}

.ad-box {
    width: 100%;
    margin: auto;
    margin-top: 150px;
    text-align: center;
}

/*推荐文章*/
.recommend-article {
    width: 90%;
    margin: auto;
    position: relative;
    margin-top: 20px;
}

.article-list {
    margin-top: 10px;
    margin-bottom: 50px;
}

    .article-list a {
        text-decoration: none;
        margin: 0px;
    }

.article-element {
    flex: 1;
    width: 0;
    max-width:400px;
    overflow: hidden;
    height: 300px;
    margin-right: 10px;
    margin-left: 10px;
}

.article-cover {
    width: 100%;
    height: 50%;
    overflow: hidden;
    text-align: center;
}

    .article-cover img {
        width: 100%;
        object-fit: contain;
    }

.article-text {
    margin: 10px;
}

.article-title {
    width: 100%;
    font-weight: bold;
    font-size: 1rem;
}

.article-profile {
    width: 100%;
    height: 80px;
    margin-top: 10px;
    font-size: 0.8rem;
}

/*中等屏幕（桌面显示器）*/
@media screen and (max-width: 1200px) {
    .article-element {
        height: 200px;
    }

    .article-profile {
        height: 40px;
    }
}

/*手机样式*/
@media screen and (max-width: 1000px) {
    .left-content {
        display: none;
    }

    .right-content{
        width:100%;
    }

    .site-box {
        margin-top: 100px;
    }

    .site-introduce {
        flex-wrap:wrap;
    }

    .site-left {
        min-width:100%;
    }

    .site-right {
        min-width: 100%;
        margin:0px;
        text-align:center;
    }

    .keyword-item{
        margin-bottom:0px;
    }

    .site-button {
        position: relative;
        margin-top: 20px;
    }

    .add-like{
        display:none;
    }
    .site-button .btn {
        max-width:100%;
        width: 100%;
        margin-bottom: 0px;
        margin-top: 20px;
    }

    .carousel-box {
        min-width: 100%;
        margin-left: 0px;
        margin-top: 20px;
        height: 100px;
    }

    .site-list {
        width: 100%;
        margin: auto;
        margin-top: 50px;
    }
    .recommend-site-title {
        margin: auto;
        text-align: center;
    }

    .article-list {
        flex-wrap:wrap;
    }
    .article-element {
        min-width:100%;
        margin:0px;
        margin-bottom:20px;
    }

    .ad-box {
        margin-top: 50px;
    }
}
