Merge pull request #64 from dillonzq/fix/summary_height
fix(style): fix summary height
This commit is contained in:
@@ -107,7 +107,7 @@
|
|||||||
|
|
||||||
p {
|
p {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
margin: .5rem 0 .5rem 0;
|
margin: .5rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
@@ -319,15 +319,14 @@
|
|||||||
|
|
||||||
kbd {
|
kbd {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: .25em;
|
padding: .25rem;
|
||||||
background-color: $global-background-color;
|
background-color: $global-background-color;
|
||||||
border: 1px solid $global-border-color;
|
border: 1px solid $global-border-color;
|
||||||
border-bottom-color: $global-border-color;
|
border-bottom-color: $global-border-color;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
-webkit-box-shadow: inset 0 -1px 0 $global-border-color;
|
-webkit-box-shadow: inset 0 -1px 0 $global-border-color;
|
||||||
box-shadow: inset 0 -1px 0 $global-border-color;
|
box-shadow: inset 0 -1px 0 $global-border-color;
|
||||||
font-size: .8em;
|
font-size: .8rem;
|
||||||
line-height: 1.25rem;
|
|
||||||
font-family: $code-font-family;
|
font-family: $code-font-family;
|
||||||
color: $code-color;
|
color: $code-color;
|
||||||
|
|
||||||
|
|||||||
@@ -60,27 +60,30 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.post-content {
|
.post-content {
|
||||||
padding-top: .2rem;
|
display: -webkit-box;
|
||||||
font-size: .9rem;
|
margin-top: .3rem;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-height: 7rem;
|
max-height: 10rem;
|
||||||
overflow: hidden;
|
text-overflow: ellipsis;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-line-clamp: 2;
|
||||||
|
|
||||||
h2,
|
h2,
|
||||||
h3,
|
h3,
|
||||||
h4,
|
h4,
|
||||||
h5,
|
h5,
|
||||||
h6 {
|
h6,
|
||||||
|
p {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
line-height: 1rem;
|
margin: 0;
|
||||||
padding-top: .3rem;
|
padding: .2rem 0;
|
||||||
padding-bottom: .3rem;
|
overflow: hidden;
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
a {
|
||||||
margin: 0;
|
word-break: break-all;
|
||||||
padding-top: .3rem;
|
|
||||||
padding-bottom: .3rem;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
|||||||
|
{"Target":"css/lib/forkawesome/forkawesome.min.css","MediaType":"text/css","Data":{}}
|
||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user