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 }}
<!-- 抬头 -->
<!-- 头像前面margin2px -->
<div style="margin-top: 2px;" class="user-info">
<div class="user-info">
<div class="avatar-block">
{{ with .Params.avatar }}
<img src='{{ . }}' class="avatar">

View file

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