This commit is contained in:
@@ -744,12 +744,28 @@ a {
|
||||
color: #999; }
|
||||
|
||||
.content-reset {
|
||||
overflow: hidden;
|
||||
color: #555;
|
||||
font-size: 14px; }
|
||||
.content-reset a {
|
||||
color: #991a1a; }
|
||||
.content-reset blockquote {
|
||||
font-family: Georgia, "Times New Roman", serif;
|
||||
background: #f7f7f7;
|
||||
margin: 20px 0;
|
||||
padding: 10px 20px;
|
||||
border-left: 4px solid #991a1a; }
|
||||
.content-reset pre > code {
|
||||
color: #555;
|
||||
background-color: #f7f7f7;
|
||||
padding: 10px; }
|
||||
|
||||
.b3-solo-list {
|
||||
display: none; }
|
||||
|
||||
.header {
|
||||
padding: 10px 0;
|
||||
box-sizing: border-box;
|
||||
top: 0;
|
||||
background-color: #2a2a2a;
|
||||
color: #fff;
|
||||
@@ -774,9 +790,9 @@ a {
|
||||
color: #999; }
|
||||
|
||||
.wrapper {
|
||||
max-width: 920px;
|
||||
max-width: 768px;
|
||||
margin: 0 auto;
|
||||
padding: 0 20px; }
|
||||
padding: 0 70px 0 20px; }
|
||||
|
||||
.footer {
|
||||
color: #999;
|
||||
@@ -801,6 +817,11 @@ a {
|
||||
transition: color 0.2s; }
|
||||
.article__title a:hover {
|
||||
color: #991a1a; }
|
||||
.article__title sup {
|
||||
font-weight: normal;
|
||||
color: #999;
|
||||
font-size: 12px;
|
||||
top: -10px; }
|
||||
|
||||
.article__content {
|
||||
margin: 20px 0; }
|
||||
@@ -813,6 +834,39 @@ a {
|
||||
color: #991a1a;
|
||||
display: block; }
|
||||
|
||||
.article__near {
|
||||
margin: 50px 0 70px;
|
||||
position: relative; }
|
||||
.article__near:before {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
margin-top: -4px;
|
||||
margin-left: -4px;
|
||||
content: "";
|
||||
border-radius: 50%;
|
||||
background: #ddd;
|
||||
box-shadow: 0 1px 2px #fff; }
|
||||
.article__near a {
|
||||
font-size: 12px;
|
||||
line-height: 1.6em;
|
||||
color: #999;
|
||||
padding: 0 20px; }
|
||||
.article__near a:hover {
|
||||
text-decoration: none;
|
||||
color: #555; }
|
||||
.article__near a.first {
|
||||
text-align: right; }
|
||||
.article__near strong {
|
||||
margin-bottom: 6px;
|
||||
font-size: 14px;
|
||||
letter-spacing: 2px;
|
||||
color: #ddd;
|
||||
font-weight: bold;
|
||||
display: block; }
|
||||
|
||||
.pagination {
|
||||
margin: 20px 0 40px; }
|
||||
.pagination__item {
|
||||
@@ -836,3 +890,90 @@ a {
|
||||
.tags a {
|
||||
margin-right: 20px;
|
||||
float: left; }
|
||||
|
||||
.comments__title {
|
||||
padding-top: 20px; }
|
||||
|
||||
.comment__item {
|
||||
list-style: none;
|
||||
margin: 20px 0; }
|
||||
|
||||
.comment__avatar {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
border-radius: 3px;
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-position: 50%;
|
||||
margin-right: 20px; }
|
||||
|
||||
.comment__main {
|
||||
position: relative;
|
||||
border: 1px solid #CFD8DC;
|
||||
border-radius: 0;
|
||||
padding: 20px; }
|
||||
.comment__main:before, .comment__main:after {
|
||||
position: absolute;
|
||||
top: 11px;
|
||||
left: -16px;
|
||||
display: block;
|
||||
width: 0;
|
||||
height: 0;
|
||||
pointer-events: none;
|
||||
content: "";
|
||||
border-color: transparent;
|
||||
border-style: solid solid outset;
|
||||
border-width: 8px;
|
||||
border-right-color: #CFD8DC; }
|
||||
.comment__main:after {
|
||||
margin-top: 1px;
|
||||
margin-left: 2px;
|
||||
border-width: 7px;
|
||||
border-right-color: #fff; }
|
||||
|
||||
.comment__btn {
|
||||
cursor: pointer;
|
||||
color: #666; }
|
||||
.comment__btn:hover {
|
||||
color: #333; }
|
||||
|
||||
.comment__content {
|
||||
margin-top: 20px; }
|
||||
.comment__content > p:last-child {
|
||||
margin-bottom: 0; }
|
||||
|
||||
.form {
|
||||
width: 100%;
|
||||
padding: 0 0 0 64px; }
|
||||
.form #commentErrorTip,
|
||||
.form #commentErrorTipReply {
|
||||
line-height: 37px; }
|
||||
.form #captcha,
|
||||
.form #captchaReply {
|
||||
height: 32px;
|
||||
display: inline-block;
|
||||
vertical-align: inherit; }
|
||||
.form input,
|
||||
.form textarea,
|
||||
.form button {
|
||||
background-color: #fff;
|
||||
padding: 7px 8px;
|
||||
border: 1px solid #CFD8DC;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
font-size: 14px;
|
||||
outline: none;
|
||||
font-family: "Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif; }
|
||||
.form button {
|
||||
width: auto;
|
||||
vertical-align: bottom;
|
||||
transition: all 0.3s ease;
|
||||
cursor: pointer;
|
||||
margin-top: 20px; }
|
||||
.form button:hover {
|
||||
background-color: #2a2a2a;
|
||||
color: #FFF;
|
||||
border-color: #2a2a2a; }
|
||||
.form input:focus,
|
||||
.form textarea:focus {
|
||||
border-color: #2a2a2a; }
|
||||
|
2
Jane/css/base.min.css
vendored
2
Jane/css/base.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -52,16 +52,37 @@ a {
|
||||
}
|
||||
|
||||
.content-reset {
|
||||
overflow: hidden;
|
||||
color: #555;
|
||||
font-size: 14px;
|
||||
|
||||
a {
|
||||
color: $red;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
font-family: Georgia, "Times New Roman", serif;
|
||||
background: #f7f7f7;
|
||||
margin: 20px 0;
|
||||
padding: 10px 20px;
|
||||
border-left: 4px solid $red;
|
||||
}
|
||||
|
||||
pre > code {
|
||||
color: #555;
|
||||
background-color: #f7f7f7;
|
||||
padding: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.b3-solo-list {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// header
|
||||
.header {
|
||||
padding: 10px 0;
|
||||
box-sizing: border-box;
|
||||
top: 0;
|
||||
background-color: #2a2a2a;
|
||||
color: #fff;
|
||||
@@ -95,9 +116,9 @@ a {
|
||||
|
||||
// framework
|
||||
.wrapper {
|
||||
max-width: 920px;
|
||||
max-width: 768px;
|
||||
margin: 0 auto;
|
||||
padding: 0 20px;
|
||||
padding: 0 70px 0 20px;
|
||||
}
|
||||
|
||||
// footer
|
||||
@@ -131,6 +152,13 @@ a {
|
||||
color: $red;
|
||||
}
|
||||
}
|
||||
|
||||
sup {
|
||||
font-weight: normal;
|
||||
color: $gray;
|
||||
font-size: 12px;
|
||||
top: -10px;
|
||||
}
|
||||
}
|
||||
|
||||
&__content {
|
||||
@@ -146,8 +174,47 @@ a {
|
||||
color: $red;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
&__near {
|
||||
margin: 50px 0 70px;
|
||||
position: relative;
|
||||
&:before {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
margin-top: -4px;
|
||||
margin-left: -4px;
|
||||
content: "";
|
||||
border-radius: 50%;
|
||||
background: #ddd;
|
||||
box-shadow: 0 1px 2px #fff;
|
||||
}
|
||||
a {
|
||||
font-size: 12px;
|
||||
line-height: 1.6em;
|
||||
color: $gray;
|
||||
padding: 0 20px;
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
&.first {
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
strong {
|
||||
margin-bottom: 6px;
|
||||
font-size: 14px;
|
||||
letter-spacing: 2px;
|
||||
color: #ddd;
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.pagination {
|
||||
margin: 20px 0 40px;
|
||||
@@ -169,7 +236,6 @@ a {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// other page
|
||||
.tags {
|
||||
line-height: 32px;
|
||||
@@ -184,4 +250,119 @@ a {
|
||||
margin-right: 20px;
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.comments {
|
||||
&__title {
|
||||
padding-top: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.comment {
|
||||
&__item {
|
||||
list-style: none;
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
&__avatar {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
border-radius: 3px;
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-position: 50%;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
&__main {
|
||||
position: relative;
|
||||
border: 1px solid #CFD8DC;
|
||||
border-radius: 0;
|
||||
padding: 20px;
|
||||
&:before,
|
||||
&:after {
|
||||
position: absolute;
|
||||
top: 11px;
|
||||
left: -16px;
|
||||
display: block;
|
||||
width: 0;
|
||||
height: 0;
|
||||
pointer-events: none;
|
||||
content: "";
|
||||
border-color: transparent;
|
||||
border-style: solid solid outset;
|
||||
border-width: 8px;
|
||||
border-right-color: #CFD8DC;
|
||||
}
|
||||
&:after {
|
||||
margin-top: 1px;
|
||||
margin-left: 2px;
|
||||
border-width: 7px;
|
||||
border-right-color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
&__btn {
|
||||
cursor: pointer;
|
||||
color: #666;
|
||||
&:hover {
|
||||
color: #333;
|
||||
}
|
||||
}
|
||||
|
||||
&__content {
|
||||
margin-top: 20px;
|
||||
& > p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.form {
|
||||
width: 100%;
|
||||
padding: 0 0 0 64px;
|
||||
|
||||
#commentErrorTip,
|
||||
#commentErrorTipReply {
|
||||
line-height: 37px;
|
||||
}
|
||||
|
||||
#captcha,
|
||||
#captchaReply {
|
||||
height: 32px;
|
||||
display: inline-block;
|
||||
vertical-align: inherit;
|
||||
}
|
||||
|
||||
input,
|
||||
textarea,
|
||||
button {
|
||||
background-color: #fff;
|
||||
padding: 7px 8px;
|
||||
border: 1px solid #CFD8DC;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
font-size: 14px;
|
||||
outline: none;
|
||||
font-family: "Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif;
|
||||
}
|
||||
|
||||
button {
|
||||
width: auto;
|
||||
vertical-align: bottom;
|
||||
transition: all 0.3s ease;
|
||||
cursor: pointer;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background-color: #2a2a2a;
|
||||
color: #FFF;
|
||||
border-color: #2a2a2a;
|
||||
}
|
||||
|
||||
input:focus,
|
||||
textarea:focus {
|
||||
border-color: #2a2a2a;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user