LoveIt/assets/css/_page/_home.scss
2019-08-27 01:15:00 +08:00

49 lines
No EOL
1 KiB
SCSS

/** Home **/
.home-intro {
transform: translateY(25vh);
text-align: center;
.home-avatar {
padding: 0.6rem;
img {
width: 8rem;
height: auto;
display: inline-block;
-webkit-border-radius: 100%;
border-radius: 100%;
-webkit-box-shadow: 0 0 0 0.3618em rgba(0, 0, 0, 0.05);
box-shadow: 0 0 0 0.3618em rgba(0, 0, 0, 0.05);
margin: 0 auto;
-webkit-transition: all ease 0.4s;
-moz-transition: all ease 0.4s;
-o-transition: all ease 0.4s;
transition: all ease 0.4s;
cursor: pointer;
&:hover {
position: relative;
-webkit-transform: translateY(-0.75rem);
-moz-transform: translateY(-0.75rem);
-ms-transform: translateY(-0.75rem);
-o-transform: translateY(-0.75rem);
transform: translateY(-0.75rem);
cursor: pointer;
}
}
}
.home-description {
font-size: 1rem;
font-weight: normal;
padding: .4rem;
}
.home-social-links {
padding-top: .6rem;
i {
font-size: 1.4rem;
}
}
}