Skip to content

Commit

Permalink
fix: home-footage.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
reuixiy committed Feb 17, 2024
1 parent 2220515 commit 382381c
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions assets/scss/pages/_home-footage.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.home {
font-family: STShusong, serif;
&::before {
background-image: $homePoster;
background-repeat: no-repeat;
Expand All @@ -23,13 +22,13 @@
.content {
text-align: center;
width: auto;
max-width: 26em;
max-width: 28em;
margin: 0 auto;
color: #fff;
padding: 5em 1em 10em;
}
.links {
color: #aaa;
color: #ccc;
position: absolute;
bottom: 10%;
left: 5%;
Expand All @@ -39,7 +38,8 @@
.avatar {
width: 8em;
height: 8em;
transition: transform 1s ease-out;
border-radius: 50%;
transition: transform 1.5s ease-out;
&:hover {
transform: rotateZ(360deg);
}
Expand All @@ -49,19 +49,17 @@
font-size: 1.7em;
line-height: 1em;
font-weight: bold;
font-family: 'Source Han Serif CN', serif;
margin: 0.67em 0;
}
.motto {
margin-bottom: 1em;
font-family: STKaiti, serif;
}
.description {
line-height: 1.618;
margin: 1em 0;
}
.keywords {
font-family: STFangsong, serif;
font-size: 90%;
line-height: 1.5;
margin: 1em 0;
}
Expand All @@ -71,7 +69,7 @@
background-image: linear-gradient(90deg, transparent, #fff, transparent);
}
a {
color: #aaa;
color: #ccc;
transition: color 0.5s;
text-decoration: none;
&:hover {
Expand Down

0 comments on commit 382381c

Please sign in to comment.