/* 主框架 */ body{ background-color: #f5f5f5; } .jumbotron{ padding-top: 64px; padding-bottom: 64px; margin-bottom: 32px; } .page{ max-width: 1150px; margin: auto; background-color: white; } @media (min-width:1150px) { .page{ margin-top: 50px; } } .container{ max-width: 760px; margin: auto; } .moment-content { position: relative; } /* 时间 */ .time{ text-align: right; padding-right: 60px; /* white-space: nowrap; */ } @media (max-width: 576px){ .time{ text-align: center; padding-right: 15px; } } @media (max-width: 720px) and (min-width:576px){ .time{ padding-right: 20px; } } /* 抬头 */ .user-info{ display: flex; } .avatar{ max-height: 45px; float: left; margin-bottom: 10px; } .intro{ float: left; padding-left: 5px; } .name{ color:#186D9C!important; margin-bottom: 0; line-height: 1.1; font-size: 24px; } .tag::before{ content:"#" } .tag{ font-size: 80%; margin-left: 0px; margin-right: 10px; color: #6c757d!important; } /* 正文 */ .context{ clear: left; margin-bottom: 10px; } /* 图片 */ .pic1{ max-width: 80%; max-height: 250px; padding-bottom:10px; margin-top: 5px; } /* 图片集 */ .pic-grid{ max-width: 80%; } .pic-grid .img-container{ padding-top: 50%; padding-bottom: 50%; position: relative; height: 0px; } .pic-grid img{ object-fit: cover; height: 100%; width: 100%; position: absolute; top: 0 } .pic-grid .add-padding{ padding: 2.5px; } /* 内容附带的超链接 */ .share-link-block{ padding-bottom:10px; padding-top:10px; margin-bottom:10px; background: #f7f7f7; } .link-table{ margin-left: 10%; max-width: 80%; } .link-logo{ max-width: 50px; max-height: 50px; } .share-link-block a{ color:#17a2b8; word-wrap: break-word; } /* 附注信息 */ .moment-note{ display: flex; margin-bottom: 10px; justify-content: space-between; } .moment-note .note{ font-size: 80%; text-indent: 20px; color: rgb(0, 0, 0, 0.5); margin-top: 0; margin-bottom: 0; } .moment-note{ margin-right: 5px; color:#808080 } /* hr */ hr { border-width: 0; border-top: 1px solid; border-color: rgb(0, 0, 0, 0.1); } /* footer底注 */ .footer { background-color: #f5f5f5; text-align: center; font-size: 95%; } .footcontainer { width: auto; padding-right: 15px; padding-left: 15px; } .footcontainer a{ text-decoration: underline !important; color:#6c757d !important; }