franklinCSS-demo / flasktest /franklinStyles.css
PrakharPratap's picture
initial commit
1f8f99f
raw
history blame
1.35 kB
.cards {
display: grid;
width: 688px;
height: 2364.23px;
}
.cards > div {
background-color: rgb(238, 238, 238);
width: 688px;
height: 796.078px;
}
.cards > div > div:first-child {
height: 454.078px;
padding-top: 454.078px;
width: 688px;
}
.cards > div > div:first-child img {
display: block;
width: 688px;
height: 454.078px;
margin: 0;
padding: 0;
}
.cards > div > div:last-child {
padding: 50px 26px;
height: 342px;
width: 688px;
}
.cards h2 {
font-family: Lato, "Trebuchet MS", sans-serif;
font-size: 28px;
font-weight: 700;
height: 41px;
line-height: 41px;
margin: 0;
padding: 0;
text-align: center;
color: rgb(17, 17, 17);
margin-bottom: 32px;
}
.cards p {
font-family: Lato, "Trebuchet MS", sans-serif;
font-size: 16px;
font-weight: 400;
line-height: 26px;
margin: 0;
padding: 0;
text-align: start;
color: rgb(17, 17, 17);
width: 636px;
}
.cards a {
font-family: Lato, "Trebuchet MS", sans-serif;
font-size: 16px;
font-weight: 700;
line-height: normal;
display: block;
text-align: center;
color: rgb(255, 255, 255);
margin: 32px 47.7031px 0;
padding: 20px;
width: 540.594px;
text-decoration: none;
}
.cards div:nth-child(1) p {
height: 78px;
}
.cards div:nth-child(2) p {
height: 52px;
}
.cards div:nth-child(3) p {
height: 78px;
}