/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none} /*# sourceMappingURL=normalize.min.css.map */ /**************************************************/ /*公共样式 start*/ body { background-color: #f6f6f6; } a { color: #467B96; text-decoration: none; } a:hover { text-decoration: none; } .to-top img { width: 40px; } /*公共样式 end*/ /**************************************************/ /**************************************************/ /*导航样式 start*/ .navbar-logo { height: 40px; } .navbar-text .form-control, .navbar-text .btn { border-radius: 0; } .navbar-nav .nav-item { letter-spacing: 2px; position: relative; } .navbar-nav .nav-item::after { -webkit-transition: all .5s; -moz-transition: all .5s; -o-transition: all .5s; transition: all .5s; content: ''; width: 0; height: 2px; background-color: #0c5460; position: absolute; left: 0; bottom: 0; } .navbar-nav .nav-item:hover::after { width: 100%; } /*小屏幕*/ @media (max-width: 768px) { .navbar-nav { display: flex; text-align: center; justify-content: space-between; flex-direction: row; } .navbar-text, .navbar-text .form-control, .navbar-text .form-group { width: 100%; } .navbar-text .btn { float: right; margin-top: 1rem; width: 10rem; } } /*导航样式 end*/ /**************************************************/ /**************************************************/ /*首页样式 start*/ /*大屏幕s*/ @media (min-width: 1300px) { .navbar-brand { /*margin:0 0 0 3rem ;*/ } .nav-item { margin: 0 1rem 0 1rem; } /*.collapse.navbar-collapse{*/ /*margin-left: -5rem;*/ /*}*/ } .main-wrapper { margin-top: 1rem; } @media (max-width:768px) { .main-wrapper{ margin-top: 1rem; } } .post-wrapper { margin-bottom: 0.5rem; padding: 10px 10px 0px 10px; border: solid 1px #eeeeee; border-radius: .300rem; background-color: #fff; -webkit-box-shadow: 0 0.0625rem 0.125rem rgba(0, 0, 0, .1); -moz-box-shadow: 0 .0625rem .125rem rgba(0, 0, 0, .1); box-shadow: 0 0.0625rem 0.125rem rgba(0, 0, 0, .1); } .post-wrapper .no-thumb-image { width: 100%; height: 100px; background-color: #dfdfdf; position: relative; color: #aaaaaa; } .post-wrapper .no-thumb-image span { position: absolute;; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #aaaaaa; } .post-wrapper .title-link:hover { text-decoration: none; } .post-wrapper h3 { overflow: hidden; text-overflow: ellipsis; margin-bottom: .5rem; white-space: nowrap; font-size: 1.2rem; } .post-wrapper .post-thumb-image { width: 100%; height: 100px; } .post-wrapper .thumb-wrapper { position: relative; float: left; overflow: hidden; margin: 1.125rem; width: 8rem; /*height: 100px;*/ } .post-wrapper .post-content { color: #aaaaaa; } .post-wrapper .row { } .post-meta { margin-top: 0.5rem; padding: .5rem; border-top: .0625rem solid #f3f3f3; background-color: rgba(0, 0, 0, .01); } .post-meta ul { list-style: none;; -webkit-margin-before: 0em; -webkit-margin-after: 0em; -webkit-padding-start: 0px; margin-left: 0.5rem; } .post-meta li { list-style: none; display: inline-block; margin-right: 1rem; color: #748594; } .post-meta li a { color: #748594; font-size: 14px; } .post-meta li a:hover { color: #007bff; text-decoration: none; } /*首页样式 end*/ /**************************************************/ /**************************************************/ /*分页样式 start*/ .pagination li a { position: relative; display: block; padding: .5rem .75rem; margin-left: -1px; line-height: 1.25; background-color: #fff; border: 1px solid #dee2e6; } .pagination li.active a { z-index: 1; color: #fff; background-color: #467B96; border-color: #007bff; } .center-pagination .pagination{ justify-content: center; } /*分页样式 end*/ /**************************************************/ /**************************************************/ /*边栏 start*/ #secondary .list-group { border-radius: 0; } #secondary .list-group-item:first-child { border-radius: 0; } #secondary .list-group-item { overflow: hidden;; text-overflow: ellipsis;; white-space: nowrap; } #secondary .comment-item { font-size: 14px; } #secondary .list-group-item.list-group-item-info { background-color: #17a2b8; font-weight: bold; color: #fff; } .widget { margin-bottom: 2rem; } #secondary .widget { position: sticky; position: -webkit-sticky; top: 10px; } #secondary { margin-top: 1rem; } @media (min-width: 769px) { #secondary { margin-top: 0rem; } } /*边栏 end*/ /**************************************************/ /**************************************************/ /*底部样式 start*/ #footer { margin-top: 5rem; margin-bottom: 1rem; width: 100%; } /*底部样式 end*/ /**************************************************/ /*单独页面的公共样式 start*/ .page-header .page-title { letter-spacing: 2px; } .page-header hr { border-top: 2px solid rgba(0, 0, 0, .1); border-radius: 5px; width: 100px; } .page-header .page-title .archive-title { color: #0c5460;; } @media all and (min-width: 769px) { .page-wrapper { /*min-height: 700px;*/ margin-top: 2rem; } } .page-content.markdown-body { padding: 40px; } @media screen and (max-width: 768px) { .page-content.markdown-body { padding:15px; } } /*单独页面的公共样式 end*/ /**************************************************/ /*文章分类 start*/ @media all and (min-width: 769px) { .categary-wrapper .categary-content { } } .categary-content .categary-item-wrapper { /*padding:0;*/ display: inline-block; margin-bottom: 3rem; } .categary-content .categary-item { padding: 15px; text-align: center; border: solid 1px #cccccc; } .categary-content ul, .categary-content li { list-style: none; -webkit-margin-before: 0em; -webkit-margin-after: 0em; -webkit-margin-start: 0px; -webkit-margin-end: 0px; -webkit-padding-start: 0px; } .categary-content .categary-item a { display: block; padding: 2rem; } /*文章分类 end*/ /**************************************************/ /*单独页面的公共样式 start*/ .tags-wrapper .tags-list { } .tags-wrapper .tags-list .tag-item { display: inline-block; margin: 5px 0; } @media all and (min-width: 769px) { } /*单独页面的公共样式 end*/ /*文章样式 start*/ #post-item { padding-top: 1rem; background-color: #ffffff; padding-right: 15px; } #post-item .post-title { margin: 0; text-align: center; } #post-item .post-meta { margin-top: 0rem; border: 0; padding: 5px 0; text-align: center; } #post-item .post-keywords { width: 100%; padding: 5px 10px; border: 1px dashed #dfdfdf; margin-top: 2rem; background-color: #fdfdfd; } #post-item .post-keywords a { display: inline-block; margin-left: 5px; padding: 5px; -webkit-transition: all .5s; -moz-transition: all .5s; -ms-transition: all .5s; -o-transition: all .5s; transition: all .5s; } #post-item .post-keywords a:hover { background-color: #000000; color: #ffffff; } #post-item .post-well { margin-top: 1rem; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } #post-item .post-well p { margin: 5px 0; } #post-item .post-near { list-style: none; -webkit-padding-start: 0px; margin-top: 2rem; } /*文章样式 end*/ /*404样式 start*/ .search-form .form-control { border-radius: 0; } .search-form .btn { border-radius: 0; } /*404样式 end*/ /*archive 样式 start*/ .card.post-wrapper .card-meta { display: flex; justify-content: space-around; width: 100%; flex-wrap: wrap; } .card.post-wrapper .card-meta-item { width: 50%; font-size: 12px; } .card.post-wrapper .card-body { width: 100%; padding-bottom: .2rem; padding-top: .4rem; padding-left: .2rem; padding-right: .2rem; } .card.post-wrapper .card-text { height: 100px; padding: .5rem .2rem; overflow: hidden; text-overflow: ellipsis; } .card.post-wrapper .card-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .card-item { float: left; } /*archive 样式 end*/