digital-theory/css/5-popover.css

120 lines
2.1 KiB
CSS

/******** phone base *********/
#popover {
background: url("/img/bg_pink.png") no-repeat;
background-position: center;
background-size: cover;
}
#popover .dark-emphasis {
color: #3b3b49;
font-family: "GT Walsheim Pro";
font-size: 60px;
font-style: normal;
font-weight: 600;
letter-spacing: -0.04em;
/* identical to box height, or 66px */
line-height: 110%;
}
.text-grey {
font-size: 18px;
font-weight: 400;
line-height: 26px;
}
.slider-screen .text {
left: 55vw;
position: relative;
text-align: left;
top: -30%;
width: 400px;
}
.slider-screen .text-title {
margin-bottom: 2rem;
}
.phone-container {
border-radius: 1rem;
width: 411px;
}
.phone-container .top {
background: url("/img/phone_rectangle_top.jpg") no-repeat center;
border-top-left-radius: 1rem;
border-top-right-radius: 1rem;
height: 60px;
}
.phone-container .bottom {
background: url("/img/phone_rectangle_bottom.jpg") no-repeat center;
border-bottom-left-radius: 2rem;
border-bottom-right-radius: 2rem;
height: 62px;
position: relative;
top: 676.5px;
}
.phone-container.transparent {
background: rgba(248, 243, 241, 0.1);
border-radius: 70px;
height: 700px;
width: 350px;
}
.slider-screen .phone-container {
background: url("/img/phone_cream.png") no-repeat;
background-position: center;
background-size: cover;
height: 776px;
left: 20vw;
position: relative;
top: 20vh;
width: 411px;
}
.close-button {
float: right;
position: relative;
right: 40px;
top: 56px;
}
.arrow-left, .arrow-right {
backdrop-filter: blur(5px);
background: linear-gradient(310.41deg, rgba(255, 255, 255, 0.3) 10.9%, rgba(255, 255, 255, 0) 81.35%);
border: solid 2px #1e33da;
border-radius: 70px;
/* Note: backdrop-filter has minimal browser support */
cursor: pointer;
padding: 1.5rem;
transform: matrix(-1, 0, 0, 1, 0, 0);
}
.arrow-right {
float: right;
position: relative;
top: 50vh;
transform: rotate(0deg);
}
.arrow-left {
float: left;
left: 40px;
position: relative;
top: 50vh;
}
.bullets {
left: 0;
position: relative;
top: 30vh;
}
.bullets img {
cursor: pointer;
}