digital-theory/css/5-popover.css

101 lines
1.7 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 {
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-style: normal;
font-weight: 600;
font-size: 60px;
line-height: 110%;
/* identical to box height, or 66px */
letter-spacing: -0.04em;
}
.text-grey{
font-weight: 400;
font-size: 18px;
line-height: 26px;
}
2023-04-25 12:26:45 +02:00
.slider-screen .text{
position: relative;
2023-04-25 15:54:47 +02:00
left: 55vw;
2023-04-25 12:26:45 +02:00
top: -30%;
width: 400px;
text-align:left;
}
.slider-screen .text-title
{
margin-bottom:2rem;
}
.phone-container{
border-radius: 1rem;
width: 411px;
}
2023-04-25 12:05:23 +02:00
.phone-container .top{
height: 60px;
2023-04-25 12:26:45 +02:00
background: url('/img/phone_rectangle_top.jpg') no-repeat center;
border-top-right-radius: 1rem;
border-top-left-radius: 1rem;
2023-04-25 12:05:23 +02:00
}
.phone-container .bottom{
2023-04-27 16:30:13 +02:00
height: 62px;
2023-04-25 12:26:45 +02:00
background: url('/img/phone_rectangle_bottom.jpg') no-repeat center;
2023-04-27 16:30:13 +02:00
top: 676.5px;
2023-04-25 12:05:23 +02:00
position: relative;
2023-04-27 16:30:13 +02:00
border-bottom-right-radius: 2rem;
border-bottom-left-radius: 2rem;
2023-04-25 12:05:23 +02:00
}
.phone-container.transparent{
background: rgba(248, 243, 241, 0.1);
border-radius: 70px;
width: 350px;
height: 700px;
}
2023-04-25 15:54:47 +02:00
.slider-screen .phone-container {
2023-04-25 12:05:23 +02:00
height: 776px;
width: 411px;
background: url('/img/phone_cream.png') no-repeat;
background-position: center;
background-size: cover;
position: relative;
2023-04-25 15:54:47 +02:00
left: 20vw;
2023-04-25 12:05:23 +02:00
top: 20vh;
}
2023-04-25 12:26:45 +02:00
2023-04-27 16:30:13 +02:00
.close-button {
position: relative;
right: 40px;
top: 56px;
float: right;
}
.arrow-right {
position: relative;
right: 40px;
top: 50vh;
float: right;
}
.arrow-left {
position: relative;
left: 40px;
top: 50vh;
float: left;
}
.bullets{
position: relative;
left: 0;
top: 30vh;
}