css update

This commit is contained in:
Lee 2018-03-12 23:47:01 +08:00
parent f0057d3e8a
commit 6ce5f6bf90
1 changed files with 7 additions and 14 deletions

View File

@ -67,15 +67,14 @@ pre, code {
/* Header /* Header
============================================================= */ ============================================================= */
.header { .header {
display: flex;
justify-content: space-between;
height: 65px; height: 65px;
padding-left: 30px; padding-left: 30px;
padding-right: 30px; padding-right: 30px;
line-height: 65px; line-height: 65px;
background: #fff; background: #fff;
} }
.title {
float: left;
}
.title a { .title a {
display: block; display: block;
margin-top: 17px; margin-top: 17px;
@ -91,9 +90,6 @@ pre, code {
.menu-toggle { .menu-toggle {
display: none; display: none;
} }
.menu {
float: right;
}
.menu li { .menu li {
display: inline-block; display: inline-block;
margin-left: 20px; margin-left: 20px;
@ -105,7 +101,7 @@ pre, code {
display: block; display: block;
font-size: 15px; font-size: 15px;
} }
@media (max-width: 767px) { @media (max-width: 1023px) {
.noscroll { .noscroll {
overflow: hidden; overflow: hidden;
} }
@ -189,7 +185,7 @@ pre, code {
margin-right: auto; margin-right: auto;
} }
.list .main { .list .main {
padding-bottom: 60px; padding-bottom: 30px;
} }
.list-header, .list-header,
.list-footer { .list-footer {
@ -205,7 +201,7 @@ pre, code {
} }
.single .main { .single .main {
padding-top: 60px; padding-top: 60px;
padding-bottom: 60px; padding-bottom: 30px;
} }
.post-view { .post-view {
width: 640px; width: 640px;
@ -446,17 +442,15 @@ pre, code {
/* List footer /* List footer
------------------------------ */ ------------------------------ */
.pagination { .pagination {
display: flex;
overflow: hidden; overflow: hidden;
} }
.pagination a { .pagination a {
display: block; display: block;
line-height: 30px; line-height: 30px;
} }
.pagination-prev {
float: left;
}
.pagination-next { .pagination-next {
float: right; margin-left: auto;
} }
/* 404 /* 404
------------------------------ */ ------------------------------ */
@ -473,7 +467,6 @@ pre, code {
font-size: 13px; font-size: 13px;
line-height: 25px; line-height: 25px;
text-align: center; text-align: center;
box-shadow: 0 -1px 0 rgba(0, 0, 0, .05);
} }
.footer span { .footer span {
margin-left: 2px; margin-left: 2px;