minor optimize

This commit is contained in:
FarseaSH 2021-09-02 12:00:53 +08:00
parent d1bf0b5d0c
commit 3d1a633b70
2 changed files with 13 additions and 3 deletions

View file

@ -21,8 +21,7 @@
{{ end }} {{ end }}
<!-- 抬头 --> <!-- 抬头 -->
<!-- 头像前面margin2px --> <div class="user-info">
<div style="margin-top: 2px;" class="user-info">
<div class="avatar-block"> <div class="avatar-block">
{{ with .Params.avatar }} {{ with .Params.avatar }}
<img src='{{ . }}' class="avatar"> <img src='{{ . }}' class="avatar">

View file

@ -8,6 +8,7 @@ body{
font-weight: normal; font-weight: normal;
font-size: 16px; font-size: 16px;
line-height: 24px; line-height: 24px;
color: rgb(33, 37, 41);
} }
p{ p{
@ -55,11 +56,12 @@ p{
position: relative; position: relative;
} }
/* 时间 */ /* START - time */
.time{ .time{
text-align: right; text-align: right;
padding-right: 60px; padding-right: 60px;
/* white-space: nowrap; */ /* white-space: nowrap; */
font-weight: 300;
} }
@media (max-width: 576px){ @media (max-width: 576px){
.time{ .time{
@ -72,6 +74,15 @@ p{
padding-right: 20px; padding-right: 20px;
} }
} }
.time .month-day{
font-size: 24px;
margin-bottom: 10px;
}
.time .year{
font-size: 16px;
}
/* END - time */
/* 抬头 */ /* 抬头 */