personal-site/assets/css/elements/portfolio-project.scss

95 lines
1.4 KiB
SCSS
Raw Normal View History

2021-01-02 20:17:33 +00:00
.portfolio{
list-style: none;
padding: 20px;
display: flex;
flex-direction: column;
align-content: center;
align-items: center;
justify-content: center;
}
.project{
display: flex;
flex-direction: column;
padding: 26px;
box-shadow: 4px 4px 32px rgba(0, 0, 0, 0.34);
border-radius: 10px;
background: var(--background);
font-family: $main-font;
text-align: center;
margin: 20px 0;
max-width: 70vw;
transition: 0.3s;
&:hover, &:focus{
2021-06-07 17:55:11 +00:00
box-shadow: 4px 4px 24px rgba(0, 0, 0, 0.6);
}
& h2 {
margin-bottom: 0;
2021-01-02 20:17:33 +00:00
}
}
.project-name{
color: $header-color;
margin: 0;
& a{
color: $header-color;
text-decoration: none;
}
}
.project-gallery{
list-style: none;
padding: 0;
}
.project-links{
padding: 0;
list-style: none;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}
2021-06-07 17:55:11 +00:00
.project-icon{
width: 35px;
height: auto;
margin-right: 10px;
}
2021-01-02 20:17:33 +00:00
.project-link{
margin-right: 10px;
display: flex;
align-items: center;
align-content: center;
vertical-align: center;
&::before{
margin-right: 10px;
}
&--github{
&::before{
2021-06-07 17:55:11 +00:00
content: url("./github-icon.svg");
2021-01-02 20:17:33 +00:00
}
}
&--iphone{
&::before{
2021-06-07 17:55:11 +00:00
content: url("./appstore.svg");
2021-01-02 20:17:33 +00:00
}
}
&--android{
&::before{
2021-06-07 17:55:11 +00:00
content: url("./googleplay.svg");
2021-01-02 20:17:33 +00:00
}
}
&--app-page{
&::before{
2021-06-07 17:55:11 +00:00
content: url("./app-page.svg");
2021-01-02 20:17:33 +00:00
}
}
}
.project-link__logo{
margin-right: 10px;
width: 30px;
2021-06-07 17:55:11 +00:00
}