Files
KM_Design/V1/resources/css/components/follow.css

128 lines
2.2 KiB
CSS

.follow-container {
background-color: #F8FAFC;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 10vmin;
}
.follow-title {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 5vmin;
}
.follow-title h1 {
font-family: 'Mona-Sans';
font-size: 8vmin;
font-weight: 700;
text-align: center;
color: #222;
margin: 0;
}
.follow-title h2 {
color: #222;
margin: 0;
font-family: 'Moonstone History';
font-size: 15vmin;
font-weight: 10;
line-height: 10vmin;
}
.follow-sub-container {
position: relative;
overflow: scroll;
border-top: 1px solid #D4D6D8;
border-bottom: 1px solid #D4D6D8;
height: 250px;
width: 100%;
padding: 2vmin;
margin-top: 5vmin;
}
.follow-sub-line {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-auto-rows: minmax(100px, auto);
font-family: 'Overused Grotesk';
color:#222;
margin: 25px 2vmin;
}
.follow-sub-line-number {
grid-column: 1;
font-weight: 700;
font-size: 40px;
}
.follow-sub-line-title {
grid-column: 2;
font-weight: 700;
font-size: 40px;
}
.follow-sub-line-text {
grid-column: 3;
font-weight: 100;
max-width: 90%;
}
.follow-sub-line-icon {
grid-column: 4;
display: flex;
align-items: end;
flex-direction: column;
z-index: 2;
}
.follow-sub-line-icon svg {
background-color: white;
border-radius: 28.5px;
height: 82px;
width: 47px;
padding: 5px;
}
.follow-sub-background {
position: absolute;
background-color: #EFEFEF;
z-index: 1;
border-radius: 38px;
width: 77px;
height: calc(4vmin + 575px);
display: block;
top: 33px;
right: calc(4vmin - 10px);
}
@media only screen and (max-width: 1200px) {
.follow-container {
height: auto;
}
.follow-sub-container {
height: auto;
}
.follow-sub-line {
grid-template-columns: repeat(3, 1fr);
margin: 25px 0px;
}
.follow-sub-line-title {
grid-column: 2 / 3;
}
.follow-sub-line-text {
grid-column: 1 / 4;
grid-row: 2;
}
.follow-sub-background {
display: none;
}
}