﻿.body{
    background-color:#f0f0f0;
}

#qrcode{
    width:200px;
    margin:auto;
}

.share-title{
    text-align:center;
}

.content {
    width: 90%;
    margin: auto;
    margin-top: 100px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.article {
    flex:8;
    width: 0;
    background-color: white;
    overflow: auto;
}

/*ruisou广告*/
.carousel-box {
    width: 100%;
    height: 200px;
    margin-top: 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;
}

.recommend {
    flex: 3;
    width: 0;
    margin-left:20px;
}

.recommend-element {
    width: 100%;
    overflow: hidden;
    height: 200px;
    margin-top: 20px;
}

#last_recommend_element {
    margin-bottom: 20px;
}

.recommend-element a {
    text-decoration: none;
    margin: 0px;
}

.element-cover {
    width: 100%;
    height: 80%;
    overflow: hidden;
    text-align: center;
}

    .element-cover img {
        width: 100%;
        object-fit: contain;
    }

.element-text {
    margin: 10px;
}

.element-title {
    width: 100%;
    font-weight: bold;
    font-size: 1rem;
}

.article-box {
    margin: 30px;
}

.title {
    font-size: 1.5rem;
}

.data-list {
    flex-wrap:wrap;
    margin-top: 20px;
    margin-bottom: 30px;
}

.data {
    margin-right: 20px;
    margin-bottom: 10px;
}

.share-btn{
    cursor:pointer;
}
.share-btn:hover{
    color:#dc3545;
}

.article img {
    max-width: 100%;
    object-fit: contain;
}
.article a {
    max-width: 50%;
    word-wrap: break-word;
}

.ad-box {
    width: 100%;
    margin-top: 20px;
}
/*.btn-collect {
    margin-left: 40px;
    cursor: pointer;
}*/
@media screen and (max-width: 1000px) {
    .content {
        width: 100%;
        margin-top: 80px;
    }
    .article {
        min-width:100%;
    }
    .recommend {
        min-width: 80%;
        max-width: 80%;
        margin-left: 0px;
        margin: auto;
    }
    .article-box {
        margin: 10px;
    }
    .title {
        font-size: 1.2rem;
        font-weight:bold;
    }
    .article-bg {
        background-color: white;
    }
}


/*静态页面样式*/
/*iframe样式*/
iframe{
    max-width:100%;
}
/* table 样式 */
table {
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
}

table td,
table th {
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
    padding: 3px 5px;
}

table th {
    border-bottom: 2px solid #ccc;
    text-align: center;
}

/* blockquote 样式 */
blockquote {
    display: block;
    border-left: 8px solid #d0e5f2;
    padding: 5px 10px;
    margin: 10px 0;
    line-height: 1.4;
    font-size: 100%;
    background-color: #f1f1f1;
}

/* code 样式 */
code {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    background-color: #f1f1f1;
    border-radius: 3px;
    padding: 3px 5px;
    margin: 0 3px;
}

pre code {
    display: block;
}

/* ul ol 样式 */
ul, ol {
    margin: 10px 0 10px 20px;
}
