feat(header): add Logo, pre and post config for header title (#252)

This commit is contained in:
Dillon
2020-04-23 16:49:30 +08:00
committed by GitHub
parent 919f559fd0
commit 87fbb05e86
23 changed files with 141 additions and 44 deletions

View File

@@ -1,7 +1,3 @@
.archive-item {
margin-left: 2rem;
}
.categories-card {
margin: 0 auto;
margin-top: 3rem;
@@ -10,7 +6,6 @@
justify-content: space-between;
flex-direction: row;
flex-wrap: wrap;
padding: 0 2.5rem;
line-height: 1.6rem;
.card-item {
@@ -32,6 +27,8 @@
font-size: 1.2rem;
font-weight: bold;
display: inline-block;
margin-top: 1rem;
margin-bottom: .75rem;
}
span {
@@ -42,12 +39,19 @@
}
}
.archive-item {
display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
margin: .25rem 0 .25rem 1.5rem;
}
.archive-item-link {
display: inline-block;
min-width: 10%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 95%;
text-overflow: ellipsis;
&:hover {
color: $global-link-hover-color;
@@ -64,7 +68,7 @@
}
.archive-item-date {
float: right;
width: 4em;
text-align: right;
color: $global-font-secondary-color;