fix(style): fix summary height

This commit is contained in:
Dillon 2020-02-10 22:16:30 +08:00
parent e88647514a
commit 3b833daa30
6 changed files with 38 additions and 18 deletions

View file

@ -107,7 +107,7 @@
p {
font-size: 1rem;
margin: .5rem 0 .5rem 0;
margin: .5rem 0;
}
a {
@ -319,15 +319,14 @@
kbd {
display: inline-block;
padding: .25em;
padding: .25rem;
background-color: $global-background-color;
border: 1px solid $global-border-color;
border-bottom-color: $global-border-color;
border-radius: 3px;
-webkit-box-shadow: inset 0 -1px 0 $global-border-color;
box-shadow: inset 0 -1px 0 $global-border-color;
font-size: .8em;
line-height: 1.25rem;
font-size: .8rem;
font-family: $code-font-family;
color: $code-color;

View file

@ -60,27 +60,33 @@
}
.post-content {
padding-top: .2rem;
font-size: .9rem;
display: -webkit-box;
margin-top: .3rem;
width: 100%;
max-height: 7rem;
overflow: hidden;
max-height: 10rem;
text-overflow: ellipsis;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
h2,
h3,
h4,
h5,
h6 {
font-size: 1rem;
line-height: 1rem;
padding-top: .3rem;
padding-bottom: .3rem;
h6,
p {
margin: 0;
padding: .3rem 0;
overflow: hidden;
overflow-wrap: break-word;
text-overflow: ellipsis;
}
p {
margin: 0;
padding-top: .3rem;
padding-bottom: .3rem;
padding: 0;
}
a {
word-break: break-all;
}
}

File diff suppressed because one or more lines are too long

View file

@ -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