distorsion.interhacker.space/assets/sass/_members.scss
2025-01-24 23:17:58 +01:00

77 lines
No EOL
1.3 KiB
SCSS

.members {
.members-item {
position: relative;
width: 50%;
padding: 0;
height: 650px;
overflow: hidden;
&::after {
content: "";
display: block;
padding-bottom: 100%;
}
&:hover {
.overlay {
visibility: visible;
opacity: 1;
}
}
}
/*.overlay {
visibility: hidden;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
transition: .2s ease-out;
opacity: 0;
background-color: $black;
cursor: pointer;
a {
color: $white;
&:hover {
color: $accent;
}
}
h2 {
margin: $vertical-rhythm;
color: $white;
}
}*/
.members-img-container {
display: flex;
/*position: absolute;*/
align-items: center;
justify-content: center;
/*width: 100%;
height: 100%;*/
}
img {
padding: $vertical-rhythm * 3;
border-radius: 50%;
width: 450px;
height: 450px;
}
.members-modal-link {
display: flex;
position: absolute;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
}
}