44 lines
1.2 KiB
CSS
44 lines
1.2 KiB
CSS
|
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
|
||
|
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
|
||
|
|
||
|
.polaroid {
|
||
|
width: 400px;
|
||
|
background-color: white;
|
||
|
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
|
||
|
position: absolute;
|
||
|
top: 50%;
|
||
|
left: 50%;
|
||
|
margin-right: -50%;
|
||
|
transform: translate(-50%, -50%);
|
||
|
padding: 20px;
|
||
|
border-radius: 2px;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.polaroid > img {
|
||
|
width: 400px;
|
||
|
height: 400px;
|
||
|
object-fit: cover;
|
||
|
border-radius: 3px;
|
||
|
}
|
||
|
|
||
|
.polaroid > h1 {
|
||
|
font-family: "Poppins", "Roboto", sans-serif;
|
||
|
color: rgba(0, 0, 0, .9);
|
||
|
margin: 10px auto 5px auto;
|
||
|
font-size: 22px;
|
||
|
font-weight: 600;
|
||
|
/* overflow:hidden;
|
||
|
display:inline-block;
|
||
|
text-overflow: ellipsis;
|
||
|
white-space: nowrap; */
|
||
|
width: 400px;
|
||
|
}
|
||
|
|
||
|
.polaroid > p {
|
||
|
font-family: "Poppins", "Roboto", sans-serif;
|
||
|
color: rgba(0,0,0,.6);
|
||
|
margin: 0 auto;
|
||
|
padding: 0;
|
||
|
font-size: 14px;
|
||
|
}
|