digital-theory/css/5-popover.css
2023-04-25 15:54:47 +02:00

62 lines
1.1 KiB
CSS

/******** phone base *********/
.slider-screen .text{
position: relative;
left: 55vw;
top: -30%;
width: 400px;
text-align:left;
}
.slider-screen .text-title
{
margin-bottom:2rem;
}
.phone-container{
border-radius: 1rem;
width: 411px;
}
.phone-container .top{
height: 60px;
background: url('/img/phone_rectangle_top.jpg') no-repeat center;
border-top-right-radius: 1rem;
border-top-left-radius: 1rem;
}
.phone-container .bottom{
height: 60px;
background: url('/img/phone_rectangle_bottom.jpg') no-repeat center;
top: 655.5px;
position: relative;
border-bottom-right-radius: 1rem;
border-bottom-left-radius: 1rem;
}
.phone-container.transparent{
background: rgba(248, 243, 241, 0.1);
border-radius: 70px;
width: 350px;
height: 700px;
}
#popover {
background: url('/img/bg_pink.png') no-repeat;
background-position: center;
background-size: cover;
}
.slider-screen .phone-container {
height: 776px;
width: 411px;
background: url('/img/phone_cream.png') no-repeat;
background-position: center;
background-size: cover;
position: relative;
left: 20vw;
top: 20vh;
}