digital-theory/css/5-popover.css

120 lines
2.1 KiB
CSS
Raw Normal View History

2023-04-25 12:05:23 +02:00
/******** phone base *********/
2023-04-27 16:30:13 +02:00
#popover {
2023-04-27 17:04:28 +02:00
background: url("/img/bg_pink.png") no-repeat;
2023-04-27 16:30:13 +02:00
background-position: center;
background-size: cover;
}
#popover .dark-emphasis {
2023-04-27 17:04:28 +02:00
color: #3b3b49;
font-family: "GT Walsheim Pro";
font-size: 60px;
2023-04-27 16:30:13 +02:00
font-style: normal;
font-weight: 600;
letter-spacing: -0.04em;
2023-04-27 17:04:28 +02:00
/* identical to box height, or 66px */
line-height: 110%;
2023-04-27 16:30:13 +02:00
}
2023-04-27 16:43:02 +02:00
.text-grey {
2023-04-27 16:30:13 +02:00
font-size: 18px;
2023-04-27 17:04:28 +02:00
font-weight: 400;
2023-04-27 16:30:13 +02:00
line-height: 26px;
}
2023-04-27 16:43:02 +02:00
.slider-screen .text {
2023-04-25 15:54:47 +02:00
left: 55vw;
2023-04-27 17:04:28 +02:00
position: relative;
text-align: left;
2023-04-25 12:26:45 +02:00
top: -30%;
width: 400px;
}
2023-04-27 16:43:02 +02:00
.slider-screen .text-title {
margin-bottom: 2rem;
2023-04-25 12:26:45 +02:00
}
2023-04-27 16:43:02 +02:00
.phone-container {
2023-04-25 12:26:45 +02:00
border-radius: 1rem;
width: 411px;
}
2023-04-27 16:43:02 +02:00
.phone-container .top {
2023-04-27 17:04:28 +02:00
background: url("/img/phone_rectangle_top.jpg") no-repeat center;
border-top-left-radius: 1rem;
2023-04-25 12:26:45 +02:00
border-top-right-radius: 1rem;
2023-04-27 17:04:28 +02:00
height: 60px;
2023-04-25 12:05:23 +02:00
}
2023-04-27 16:43:02 +02:00
.phone-container .bottom {
2023-04-27 17:04:28 +02:00
background: url("/img/phone_rectangle_bottom.jpg") no-repeat center;
border-bottom-left-radius: 2rem;
border-bottom-right-radius: 2rem;
2023-04-27 16:30:13 +02:00
height: 62px;
2023-04-25 12:05:23 +02:00
position: relative;
2023-04-27 17:04:28 +02:00
top: 676.5px;
2023-04-25 12:05:23 +02:00
}
2023-04-27 16:43:02 +02:00
.phone-container.transparent {
2023-04-25 12:05:23 +02:00
background: rgba(248, 243, 241, 0.1);
border-radius: 70px;
height: 700px;
2023-04-27 17:04:28 +02:00
width: 350px;
2023-04-25 12:05:23 +02:00
}
2023-04-25 15:54:47 +02:00
.slider-screen .phone-container {
2023-04-27 17:04:28 +02:00
background: url("/img/phone_cream.png") no-repeat;
2023-04-25 12:05:23 +02:00
background-position: center;
background-size: cover;
2023-04-27 17:04:28 +02:00
height: 776px;
2023-04-25 15:54:47 +02:00
left: 20vw;
2023-04-27 17:04:28 +02:00
position: relative;
2023-04-25 12:05:23 +02:00
top: 20vh;
2023-04-27 17:04:28 +02:00
width: 411px;
2023-04-25 12:05:23 +02:00
}
2023-04-25 12:26:45 +02:00
2023-04-27 16:30:13 +02:00
.close-button {
2023-04-27 17:04:28 +02:00
float: right;
2023-04-27 16:30:13 +02:00
position: relative;
right: 40px;
top: 56px;
}
2023-04-27 16:43:02 +02:00
.arrow-left, .arrow-right {
backdrop-filter: blur(5px);
2023-04-27 17:04:28 +02:00
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;
2023-04-27 16:43:02 +02:00
/* Note: backdrop-filter has minimal browser support */
cursor: pointer;
2023-04-27 17:04:28 +02:00
padding: 1.5rem;
transform: matrix(-1, 0, 0, 1, 0, 0);
2023-04-27 16:43:02 +02:00
}
2023-04-27 16:30:13 +02:00
.arrow-right {
2023-04-27 17:04:28 +02:00
float: right;
2023-04-27 16:30:13 +02:00
position: relative;
top: 50vh;
2023-04-27 16:43:02 +02:00
transform: rotate(0deg);
2023-04-27 16:30:13 +02:00
}
2023-04-27 16:43:02 +02:00
2023-04-27 16:30:13 +02:00
.arrow-left {
2023-04-27 17:04:28 +02:00
float: left;
2023-04-27 16:30:13 +02:00
left: 40px;
2023-04-27 17:04:28 +02:00
position: relative;
2023-04-27 16:30:13 +02:00
top: 50vh;
}
2023-04-27 16:43:02 +02:00
.bullets {
2023-04-27 16:30:13 +02:00
left: 0;
2023-04-27 17:04:28 +02:00
position: relative;
2023-04-27 16:30:13 +02:00
top: 30vh;
}
2023-04-27 16:43:02 +02:00
.bullets img {
cursor: pointer;
}