NEW add icon to the right of each link, add cursor change over like-bin

This commit is contained in:
FarseaSH 2023-04-16 18:10:20 +08:00
parent 6f79007058
commit a27aa02797
2 changed files with 32 additions and 7 deletions

View file

@ -75,12 +75,6 @@ body{
}
}
a {
color: #0059b3;
&:visited {
color: #430085;
}
}
.page{
max-width: 1150px;
@ -264,6 +258,26 @@ $gray: #919EB1;
.context{
clear: left;
margin-bottom: 10px;
a {
text-decoration: none;
color: #0059b3;
&:visited {
color: #0059b3;
}
&::after {
padding-left: 3px;
font-family: "Font Awesome 5 Free";
content: "\f35d";
font-weight: 900;
display: inline-block;
font-style: normal;
font-variant: normal;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
}
}
}
.single-pic{
@ -355,6 +369,17 @@ $gray: #919EB1;
}
}
// note at the bottom of each row
.moment-note {
.like-btn {
padding-right: 12px;
&:hover {
cursor: pointer;
}
}
}
// hr
hr {
margin-top: 20px;

View file

@ -120,7 +120,7 @@
{{/* Note info shown below the main content */}}
<div class="moment-note">
<p class="note">{{ .Date.Format "15:04" }} {{ .Params.note }}</p>
<div style="padding-right: 12px;"><i class="far fa-heart"></i></div>
<div class="like-btn"><i class="far fa-heart"></i></div>
</div>
</div>