262 lines
3.2 KiB
CSS
262 lines
3.2 KiB
CSS
.demo__container_mobile {
|
|
padding: 0;
|
|
}
|
|
|
|
.demos_container {
|
|
font-family: "Inter";
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
border-radius: 16px;
|
|
position: relative;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.demo__container {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
gap: 24px;
|
|
}
|
|
|
|
|
|
.demo {
|
|
cursor: pointer;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 581px;
|
|
}
|
|
|
|
.demo_image {
|
|
background: linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
|
|
border-radius: 16px;
|
|
object-fit: cover;
|
|
width: 100%;
|
|
height: 300px;
|
|
}
|
|
|
|
.demo_info {
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
padding: 32px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
width: 100%;
|
|
}
|
|
|
|
.title__demo {
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
font-size: 22px;
|
|
line-height: 100%;
|
|
/* identical to box height, or 24px */
|
|
|
|
/* Landing/White */
|
|
|
|
color: #ebebeb;
|
|
}
|
|
|
|
.caption {
|
|
margin: 0;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 14px;
|
|
line-height: 120%;
|
|
/* identical to box height, or 17px */
|
|
|
|
/* Landing/White */
|
|
|
|
color: #ebebeb;
|
|
|
|
opacity: 0.5;
|
|
}
|
|
|
|
|
|
.caption1 {
|
|
margin: 0 0 10px 0;
|
|
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 16px;
|
|
line-height: 130%;
|
|
|
|
/* or 25px */
|
|
|
|
/* Landing/White */
|
|
|
|
color: #ebebeb;
|
|
}
|
|
|
|
.caption2 {
|
|
margin: 0;
|
|
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 14px;
|
|
line-height: 140%;
|
|
/* or 20px */
|
|
|
|
/* Landing/White */
|
|
|
|
color: #ebebeb;
|
|
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.width {
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.title__block {
|
|
display: flex;
|
|
gap: 5px;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.title__demo {
|
|
margin: 0;
|
|
}
|
|
|
|
.demo__icon {
|
|
position: absolute;
|
|
width: 16px;
|
|
height: 16px;
|
|
right: 32px;
|
|
top: 58%;
|
|
}
|
|
|
|
|
|
.demos_container:hover > div > img {
|
|
transition: opacity ease-out 0.2s;
|
|
opacity: 1;
|
|
}
|
|
|
|
.demos__list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
@media screen and (min-width: 1600px) {
|
|
.demo__icon {
|
|
top: 57%;
|
|
}
|
|
|
|
.title__demo {
|
|
font-size: 26px;
|
|
}
|
|
|
|
.caption {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.caption1 {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.caption2 {
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 1279px) {
|
|
.demo__icon {
|
|
top: 334px;
|
|
top: 234px;
|
|
right: 24px;
|
|
}
|
|
|
|
.demos__tittle {
|
|
font-size: 40px;
|
|
}
|
|
|
|
.demo_image {
|
|
height: 210px;
|
|
}
|
|
|
|
.demo__container {
|
|
gap: 20px;
|
|
}
|
|
|
|
.demo_info {
|
|
padding: 32px;
|
|
}
|
|
|
|
.title__demo {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.caption {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.caption1 {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.caption2 {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.demo_info {
|
|
gap: 12px;
|
|
padding: 24px;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 1024px) {
|
|
.title__demo {
|
|
font-size: 1.5vw;
|
|
}
|
|
|
|
.caption {
|
|
font-size: 1.2vw;
|
|
}
|
|
|
|
.caption1 {
|
|
font-size: 1.3vw;
|
|
}
|
|
|
|
.caption2 {
|
|
font-size: 1.1vw;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 639px) {
|
|
.demo__container {
|
|
grid-template-columns: 1fr;
|
|
gap: 10px;
|
|
}
|
|
|
|
.demo__icon {
|
|
right: 16px;
|
|
top: 228px;
|
|
}
|
|
|
|
.title__demo {
|
|
font-size: 3.5vw;
|
|
}
|
|
|
|
.caption {
|
|
font-size: 2.9vw;
|
|
}
|
|
|
|
.caption1 {
|
|
font-size: 3.2vw;
|
|
}
|
|
|
|
.caption2 {
|
|
font-size: 2.9vw;
|
|
}
|
|
|
|
.demo_info {
|
|
padding: 16px;
|
|
}
|
|
|
|
.demos__tittle {
|
|
font-size: 28px;
|
|
width: 300px;
|
|
|
|
}
|
|
}
|