123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754 |
- /*global*/
- html, body {
- height: 100%;
- -webkit-font-smoothing: antialiased;
- text-rendering: optimizeLegibility;
- -moz-osx-font-smoothing: grayscale;
- font-feature-settings: 'liga';
- -webkit-text-size-adjust: 100%;
- font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Helvetica Neue, Helvetica, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Source Han Sans CN, sans-serif;
- font-weight: 400;
- background: #f4f4f4;
- font-size: 14px;
- color: #616161;
- }
- body {
- background-color: #f4f4f4;
- }
- a {
- color: #333;
- }
- a:hover {
- color: #18bc9d;
- text-decoration: none;
- }
- .cl-header {
- background-color: #fff;
- /*height: 80px;*/
- /*line-height: 80px;*/
- box-shadow: 0 5px 15px rgba(153, 153, 153, 0.1)
- }
- .header-content {
- position: relative;
- }
- .cl-logo {
- position: absolute;
- left: 0;
- top: 0;
- height: 80px;
- width: 300px;
- overflow: hidden;
- }
- .cl-logo img {
- max-width: 100%;
- max-height: 100%;
- }
- @media (min-width: 992px) {
- .navbar-expand-lg .navbar-nav .nav-link {
- padding-right: 1rem;
- padding-left: 1rem;
- }
- }
- .navbar-toggler:not(:disabled):not(.disabled):focus {
- outline: none;
- }
- .navbar {
- padding: 0;
- }
- .navbar-light .navbar-nav .nav-link {
- font-size: 1.14rem;
- }
- .navbar-light .navbar-nav .active > .nav-link {
- color: #18bc9d;
- font-weight: bold;
- }
- .nav .nav-item a.active {
- color: #18bc9d;
- font-weight: bold;
- }
- .navbar .navbar-brand img {
- max-width: 100%;
- max-height: 100%;
- }
- #category .dropdown-menu li {
- padding: 5px 10px;
- }
- #category .dropdown-menu li.active {
- background: #eee;
- }
- .recommend-index {
- margin-bottom: 20px;
- }
- /*left*/
- .cl-left {
- margin: 20px 0;
- padding: 0;
- }
- .recommend-top {
- margin-bottom: 20px;
- }
- .recommend-bottom {
- display: flex;
- justify-content: space-between;
- }
- .recommend-item {
- width: 49%;
- /*height: 170px;*/
- overflow: hidden;
- }
- .cl-artical-content, .recommend-panel, .comment {
- background-color: #fff;
- padding: 0 20px 20px 20px;
- }
- /*card*/
- .cl-card {
- background-color: #fff;
- padding: 1rem;
- margin: 0 0 20px 0;
- }
- .cl-card .cl-card-image {
- overflow: hidden;
- }
- .cl-card .cl-card-image img {
- width: 100%;
- max-width: 100%;
- }
- .cl-card .cl-card-more a {
- color: #18bc9d;
- }
- .cl-card-main-title a:hover, .cl-card .cl-card-more a:hover {
- text-decoration: underline;
- }
- .cl-card-main-title {
- height: 2rem;
- overflow: hidden;
- }
- .cl-card-main-title a {
- font-size: 1.4rem;
- color: #333;
- font-weight: normal;
- }
- .cl-card-main-title a:hover {
- text-decoration: underline;
- }
- .cl-card-main-info {
- font-size: 1rem;
- color: #999;
- height: 3rem;
- overflow: hidden;
- margin: 0.5rem 0 2rem 0;
- }
- .img-zoom {
- overflow: hidden;
- display: inline-block;
- }
- .img-zoom img {
- -webkit-transition: all 0.3s;
- -moz-transition: all 0.3s;
- -o-transition: all 0.3s;
- transition: all 0.3s;
- }
- .img-zoom:hover img {
- -webkit-transform: scale(1.1);
- -moz-transform: scale(1.1);
- -o-transform: scale(1.1);
- -ms-transform: scale(1.1);
- transform: scale(1.1);
- }
- .object-responsive {
- position: relative;
- display: block;
- height: 0;
- padding: 0;
- overflow: hidden;
- }
- .object-responsive img {
- position: absolute;
- object-fit: cover;
- width: 100%;
- height: 100%;
- border: 0;
- }
- .object-responsive-16by9 {
- padding-bottom: 56.25%;
- }
- .object-responsive-4by3 {
- padding-bottom: 75%;
- }
- .object-responsive-square {
- padding-bottom: 100%;
- }
- /*page*/
- .pagination .page-item.active .page-link {
- background-color: #18bc9d;
- border-color: #18bc9d;
- color: #fff;
- }
- .pagination .page-item .page-link {
- color: #666;
- }
- .pagination {
- margin: 20px 0 0 0;
- }
- .pagination li.disabled .page-link {
- background-color: #eee;
- color: #999;
- }
- .pagination li.disabled {
- cursor: not-allowed;
- }
- /*right*/
- .cl-right {
- margin: 20px 0;
- }
- .right-card-main {
- background-color: #fff;
- margin: 0 0 20px 0;
- }
- .right-card-main .img-responsive {
- width: 100%;
- }
- .cl-code {
- width: 80%;
- margin: 10px auto;
- padding: 0 0 10px 0;
- }
- .right-card-title {
- font-size: 1.2rem;
- color: #666;
- font-weight: bold;
- padding: 15px 0 10px 10px;
- }
- .cl-code p {
- color: #999;
- line-height: 1.2rem;
- margin-top: 10px;
- text-align: center;
- }
- /*right-recommended*/
- .right-recommended {
- padding: 10px;
- height: 120px;
- overflow: hidden;
- }
- .right-recommended-list {
- list-style: none;
- padding: 0 10px 20px 10px;
- box-sizing: border-box;
- }
- .right-recommended-list i {
- color: #999;
- margin-right: 4px;
- }
- .right-recommended-list li {
- width: 100%;
- /*border-bottom: 1px dashed #eaeaea;*/
- color: #666;
- height: 40px;
- line-height: 40px;
- overflow: hidden;
- }
- /*label*/
- .label {
- list-style: none;
- display: flex;
- flex-wrap: wrap;
- padding: 10px;
- }
- .label li a {
- display: block;
- border: 1px solid #dbdbdb;
- padding: 2px 10px;
- margin: 0 8px 8px 0;
- color: #666;
- }
- .label li a:hover {
- background-color: #18bc9d;
- border-color: #18bc9d;
- color: #fff;
- }
- /*footer*/
- .cl-footer {
- background-color: #fbfbfb;
- text-align: center;
- padding: 2rem 0 1rem 0;
- margin: 1rem 0 0 0;
- border-top: 1px solid #f1f1f1;
- }
- .cl-footer-link a {
- font-size: 20px;
- padding: 1rem 0;
- color: #666;
- }
- .cl-copyright {
- color: #666;
- font-size: 14px;
- line-height: 0.8em;
- }
- /*artical*/
- .cl-artical {
- margin-bottom: 15px;
- }
- .cl-artical-title {
- padding: 20px 0 10px 0;
- }
- .cl-card-tag {
- color: #999;
- font-size: 1rem;
- }
- .cl-artical h1, .cl-artical h2, .cl-artical h3, .cl-artical h4, .cl-artical h5 {
- padding: 1.5rem 0 0.5rem 0;
- }
- .cl-artical h1 {
- font-size: 2rem;
- }
- .cl-artical h2 {
- font-size: 1.75rem;
- }
- .cl-artical h3 {
- font-size: 1.5rem;
- }
- .cl-artical h4 {
- font-size: 1.25rem;
- }
- .cl-artical h5 {
- font-size: 1rem;
- }
- .cl-artical {
- padding: 1.5rem 0 0 0;
- color: #666;
- }
- .cl-artical blockquote {
- font-size: 18px;
- padding: 2rem 1rem 2rem 2rem;
- border-left: 4px solid #3F6600;
- background-color: #f3f3f3;
- /*font-style: italic;*/
- font-weight: bold;
- line-height: 1.8em;
- }
- .cl-artical blockquote:before {
- content: " “ ";
- font-size: 60px;
- vertical-align: bottom;
- color: #3F6600;
- }
- .cl-artical blockquote span {
- font-size: 36px
- }
- .cl-artical p img {
- vertical-align: middle;
- width: 100%;
- max-width: 100%;
- height: auto;
- }
- .cl-artical p {
- padding: 0.5rem 0 0.5rem 0;
- line-height: 1.8rem;
- }
- .cl-content-info {
- color: #999;
- }
- /*comment panel*/
- .comment-panel {
- padding-bottom: 2rem;
- margin-top: 2rem;
- border-bottom: 1px solid #dee2e6;
- position: relative;
- }
- .comment-secondary-panel {
- padding-bottom: 0.5rem;
- margin-top: 1rem;
- padding-top: 1rem;
- background-color: #f4f4f4;
- position: relative;
- }
- .triangle-icon {
- position: absolute;
- left: 50px;
- top: -30px;
- color: #f4f4f4;
- font-size: 60px;
- }
- .comment-panel .comment-panel-portrait {
- position: absolute;
- top: 0;
- left: 0;
- }
- .comment-panel-portrait img {
- width: 60px;
- height: 60px;
- }
- .comment-panel .comment-panel-content {
- padding: 0 0 0 70px;
- width: 100%;
- }
- .comment-panel .comment-secondary-panel .comment-panel-content {
- padding: 0 0 10px 20px;
- width: 100%;
- }
- .comment-panel-content-item div {
- display: inline;
- padding: 0 0.5rem 0 0;
- font-size: 14px;
- color: #999;
- }
- .comment-panel-content-item .comment-author {
- font-size: 16px;
- color: #333;
- font-weight: bold;
- }
- .comment-panel .comment-panel-content .comment-panel-content-main {
- margin-top: 0.5rem;
- color: #666;
- }
- .comment-panel .comment-panel-secondary {
- border: 1px solid #e5e5e5;
- padding: 0.5rem 0.5rem 0 0.5rem;
- margin: 0.5rem 0;
- background-color: #fffffb;
- }
- .comment-panel .comment-reply {
- position: absolute;
- right: 5px;
- top: 2px;
- color: #eee;
- }
- .comment-panel .comment-reply a {
- color: #999;
- }
- @media (min-width: 576px) {
- .ll-panel {
- max-width: 30%;
- }
- }
- /*comment form*/
- .cl-comment-from {
- padding: 10px 0 0 0;
- }
- .cl-comment-from div {
- height: 3rem;
- border: 1px solid #dfdfdf;
- }
- .cl-comment-from button {
- float: right;
- border: none;
- background-color: #18bc9d;
- color: #fff;
- font-size: 16px;
- padding: 0.5rem 1rem;
- cursor: pointer;
- margin-top: 10px;
- }
- .cl-comment-from button:hover {
- background-color: #f38d00;
- }
- .cl-comment-from .input {
- border: 1px solid #ced4da;
- padding: 0.3rem 0.5rem;
- border-radius: 2px;
- }
- .cl-comment-from > div > textarea {
- border: none;
- width: 100%;
- height: 100%;
- line-height: 3rem;
- padding: 0 1rem;
- box-sizing: border-box;
- }
- .cl-comment-from > div > textarea:focus, .cl-comment-from button:focus {
- outline: none;
- }
- /*recommend aritical*/
- .recommend-panel {
- margin: 20px 0;
- }
- .recommend-panel a.recommend-panel-link {
- display: block;
- }
- .recommend-panel-bottom {
- padding: 0.5rem;
- font-size: 14px;
- }
- .ll-title {
- margin: 3rem 0 1rem 0;
- color: #333;
- }
- .recommend-panel-top {
- overflow: hidden;
- height: 12rem;
- }
- .recommend-panel-top img, .recommend-item img, .cl-card-image img {
- width: 100%;
- max-width: 100%;
- }
- #comments h3, #respond h3 {
- font-size: 1.2rem;
- margin-top: 5px;
- }
- #respond h3 a {
- font-size: 1rem;
- color: #007bff;
- }
- .comment-panel #respond {
- margin-top: 1rem;
- padding: 0 0 0 70px;
- }
- .floatbar {
- width: 50px;
- position: fixed;
- right: 0;
- bottom: 40px;
- z-index: 999;
- }
- .floatbar a {
- display: block;
- padding: 5px 10px;
- font-size: 30px;
- opacity: .5;
- }
- .floatbar a:hover {
- opacity: 1;
- }
- .pagination {
- padding-left: 0;
- margin: 17px 0;
- border-radius: 3px
- }
- .pagination > li {
- display: inline
- }
- .pagination > li > a, .pagination > li > span {
- position: relative;
- float: left;
- padding: 6px 12px;
- line-height: 1.42857143;
- text-decoration: none;
- color: #2c3e50;
- background-color: #fff;
- border: 1px solid #ddd;
- margin-left: -1px
- }
- .pagination > li:first-child > a, .pagination > li:first-child > span {
- margin-left: 0;
- border-bottom-left-radius: 3px;
- border-top-left-radius: 3px
- }
- .pagination > li:last-child > a, .pagination > li:last-child > span {
- border-bottom-right-radius: 3px;
- border-top-right-radius: 3px
- }
- .pagination > li > a:focus, .pagination > li > a:hover, .pagination > li > span:focus, .pagination > li > span:hover {
- z-index: 2;
- color: #11181f;
- background-color: #eee;
- border-color: #ddd
- }
- .pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
- z-index: 3;
- color: #fff;
- background-color: #2c3e50;
- border-color: #2c3e50;
- cursor: default
- }
- .pagination > .disabled > a, .pagination > .disabled > a:focus, .pagination > .disabled > a:hover, .pagination > .disabled > span, .pagination > .disabled > span:focus, .pagination > .disabled > span:hover {
- color: #777;
- background-color: #fff;
- border-color: #ddd;
- cursor: not-allowed
- }
- .pager .pagination {
- margin: 0
- }
- .pager li {
- margin: 0 .4em;
- display: inline-block
- }
- .pager li:first-child > a, .pager li:first-child > span, .pager li:last-child > a, .pager li:last-child > span {
- padding: .5em 1.2em
- }
- .pager li > a, .pager li > span {
- border: 1px solid #e6e6e6;
- border-radius: .25em;
- padding: .5em .93em;
- font-size: 14px
- }
- /* 搜索建议 */
- .autocomplete-suggestions {
- text-align: left;
- cursor: default;
- background: #fff;
- border: 1px solid rgba(0, 0, 0, 0.15);
- border-radius: 2px;
- -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
- -moz-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
- box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
- background-clip: padding-box;
- position: absolute;
- display: none;
- z-index: 1036;
- max-height: 254px;
- overflow: hidden;
- overflow-y: auto;
- box-sizing: border-box;
- }
- .autocomplete-suggestions .autocomplete-suggestion {
- padding: 5px 12px;
- }
- .autocomplete-suggestions .autocomplete-suggestion:hover {
- background: #f0f0f0;
- }
- /* 加载更多 */
- .loadmore {
- width: 80%;
- margin: 1.5em auto;
- line-height: 1.6em;
- font-size: 14px;
- text-align: center;
- }
- .loadmore-tips {
- display: inline-block;
- vertical-align: middle;
- }
- .loadmore-line {
- border-top: 1px solid #E5E5E5;
- margin-top: 2.4em;
- }
- .loadmore-line .loadmore-tips {
- position: relative;
- top: -0.9em;
- padding: 0 .55em;
- background-color: #FFFFFF;
- color: #808080;
- }
|