94 lines
1.7 KiB
SCSS
94 lines
1.7 KiB
SCSS
@import "../../assets/scss/globals";
|
|
|
|
|
|
.contact-card {
|
|
background-color: color(white);
|
|
color: color(dark-blue);
|
|
white-space: wrap;
|
|
margin: 1rem 1rem;
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
justify-content: flex-start;
|
|
width: calc(25% - 2rem);
|
|
|
|
@media screen and (min-width: 1000px) and (max-width: 1200px - 1px) {
|
|
width: calc(50% - 2rem);
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
@media screen and (max-width: 1000px - 1px) {
|
|
width: 100%;
|
|
margin-bottom: 3rem;
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
|
|
&__title {
|
|
padding: 0.5rem;
|
|
margin-bottom: 0.5rem;
|
|
display: flex;
|
|
justify-content: center;
|
|
font-size: 1.5rem;
|
|
text-align: center;
|
|
font-weight: 300;
|
|
color: color(black);
|
|
}
|
|
|
|
&__image {
|
|
width: 100%;
|
|
height: 300px;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
background-position: center center;
|
|
margin-bottom: 1rem;
|
|
|
|
@media screen and (min-width: 1200px) {
|
|
height: 15vw;
|
|
}
|
|
|
|
@media screen and (max-width: 1200px - 1px) {
|
|
height: 35vh;
|
|
}
|
|
}
|
|
|
|
&__button {
|
|
display: flex;
|
|
justify-content: center;
|
|
|
|
button {
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
&__text {
|
|
display: flex;
|
|
justify-content: center;
|
|
text-align: center;
|
|
text-overflow: ellipsis;
|
|
font-size: 16px;
|
|
margin: 0 0 0.5rem;
|
|
font-weight: 200;
|
|
line-height: 22px;
|
|
color: color(black);
|
|
|
|
@media screen and (max-width: 1200px - 1px) {
|
|
margin: 0.5rem 0;
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
|
|
&__datetime {
|
|
color: color(orange1);
|
|
display: flex;
|
|
justify-content: center;
|
|
text-align: center;
|
|
font-size: 0.9rem;
|
|
font-weight: bold;
|
|
|
|
@media screen and (max-width: 1200px - 1px) {
|
|
margin: 0.5rem 0;
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
}
|