Skip to content

Commit

Permalink
fix: improve typography
Browse files Browse the repository at this point in the history
tune line height, border color
  • Loading branch information
winddweb committed Apr 1, 2017
1 parent 4bd63b4 commit 9b050cc
Showing 1 changed file with 40 additions and 9 deletions.
49 changes: 40 additions & 9 deletions zhihu-question.scss
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ header {
// Question header
.QuestionHeader-main {
padding: 0 10px;
.QuestionRichText {
// font-size: 15px;
line-height: 24px;
}
}
.QuestionHeader-side {

Expand Down Expand Up @@ -195,23 +199,50 @@ header {
min-height: auto;
}
}
.QuestionMainAction,
.AnswerAdd {
background: #efefef;
}
.AnswerItem-meta.AnswerItem-meta--related {
border-bottom: 1px solid #ccc;
}

.ContentItem-actions:not(.is-fixed) {
border-bottom: 1px solid #ccc;
margin-bottom: 40px;
}
.List-header {
margin: 0 12px;
}

.List-item {
.ContentItem-meta {

}

.RichContent {
// font-size: 15px;
line-height: 24px;
}

.RichText {
p {
margin-bottom: 0.5em;
}
}
}

.List-item:not(:last-child):after {
border-bottom:none;
// border-bottom:none;
// border-top: 1px solid #ccc;
}

.QuestionMainAction,
.AnswerAdd {
background: #efefef;
}
.AnswerItem-meta.AnswerItem-meta--related {
border-bottom: 1px solid #ccc;
}

.QuestionAnswers-answerAdd {
.AnswerForm-editor {
&.is-focus {

}
}
}
}
.Question-sideColumn {
Expand Down

0 comments on commit 9b050cc

Please sign in to comment.