mirror of
https://github.com/ArthurDanjou/arthurdanjou.fr.git
synced 2026-01-29 19:30:27 +01:00
117 lines
2.1 KiB
SCSS
117 lines
2.1 KiB
SCSS
#about-home {
|
|
background-color: $black-1;
|
|
width: 100%;
|
|
padding: $padding-content;
|
|
|
|
@media screen and (max-width: 700px) {
|
|
padding: $padding-content-mobile;
|
|
}
|
|
|
|
.tag{
|
|
color: $red-color;
|
|
background-color: $red-bg;
|
|
}
|
|
|
|
.about-content {
|
|
padding: $padding-container;
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-content: center;
|
|
text-align: center;
|
|
|
|
@media screen and (max-width: 700px) {
|
|
flex-direction: column-reverse;
|
|
}
|
|
|
|
.about-left, .about-right {
|
|
width: 40%;
|
|
|
|
@media screen and (max-width: 700px) {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.about-left {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-self: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.about-right img {
|
|
animation: imgAnimation infinite 8s;
|
|
|
|
@media screen and (max-width: 700px) {
|
|
animation: none;
|
|
margin-bottom: 10px;
|
|
}
|
|
}
|
|
|
|
.content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
|
|
h1 {
|
|
font-size: $web-h1;
|
|
color: $white;
|
|
margin-bottom: 30px;
|
|
|
|
@media screen and (max-width: 700px) {
|
|
font-size: $mobile-h1;
|
|
}
|
|
|
|
}
|
|
|
|
p {
|
|
color: $grey;
|
|
font-size: $web-p;
|
|
|
|
@media screen and (max-width: 700px) {
|
|
font-size: $mobile-p;
|
|
}
|
|
|
|
.color {
|
|
color: $red-bg;
|
|
}
|
|
}
|
|
}
|
|
|
|
.page-button {
|
|
margin: 20px 0;
|
|
background-color: $grey;
|
|
color: $white;
|
|
border-radius: 7px;
|
|
padding: 20px 25px;
|
|
transition: .3s;
|
|
text-align: center;
|
|
font-size: $web-h3;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-self: center;
|
|
|
|
@media screen and (max-width: 700px) {
|
|
padding: 10px 13px;
|
|
font-size: $mobile-h3;
|
|
}
|
|
|
|
&:hover {
|
|
cursor: pointer;
|
|
background-color: $black-2;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@keyframes imgAnimation {
|
|
0% {
|
|
transform: translateY(0px);
|
|
}
|
|
50% {
|
|
transform: translateY(-20px);
|
|
}
|
|
100% {
|
|
transform: translateY(0px);
|
|
}
|
|
} |