All checks were successful
Build and Deploy Docker Image / build (push) Successful in 21s
125 lines
1.9 KiB
CSS
125 lines
1.9 KiB
CSS
:root {
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: hsl(30, 38%, 92%);
|
|
font-size: 18px;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
font-family: "Montserrat", serif;
|
|
}
|
|
.container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 2.5em 2em 0 2em;
|
|
}
|
|
.content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
background-color: hsl(0, 0%, 100%);
|
|
padding: 2em;
|
|
border-radius: 0 0 0.5em 0.5em;
|
|
}
|
|
|
|
.content h3,
|
|
p {
|
|
font-size: 1.5em;
|
|
color: hsl(228, 12%, 48%);
|
|
}
|
|
|
|
.content h3 {
|
|
letter-spacing: 0.2em;
|
|
}
|
|
.content p {
|
|
line-height: 1.6em;
|
|
text-align: left;
|
|
font-weight: 500;
|
|
font-size: 1.6em;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.content h1 {
|
|
font-size: 3.5em;
|
|
font-weight: 700;
|
|
font-family: "Fraunces", serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.hero-img {
|
|
border-radius: 0.5em 0.5em 0 0;
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
.price {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 20px;
|
|
}
|
|
|
|
.price h2,
|
|
span {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.price h2 {
|
|
font-size: 3.5em;
|
|
font-family: "Fraunces", serif;
|
|
color: hsl(158, 36%, 37%);
|
|
}
|
|
|
|
.price span {
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
.btn {
|
|
padding: 0.8em;
|
|
margin-top: 1em;
|
|
font-size: 1.5em;
|
|
font-family: "Montserrat", serif;
|
|
font-weight: 700;
|
|
color: hsl(0, 0%, 100%);
|
|
background-color: hsl(158, 36%, 37%);
|
|
border-radius: 0.5em;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.attribution {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: end;
|
|
align-self: center;
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.material-symbols-outlined {
|
|
vertical-align: middle;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
@media only screen and (min-width: 800px) {
|
|
.container {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
width: 60vw;
|
|
align-self: center;
|
|
}
|
|
.content {
|
|
width: 50%;
|
|
border-radius: 0 0.5em 0.5em 0;
|
|
}
|
|
.hero-img {
|
|
width: 50%;
|
|
border-radius: 0.5rem 0 0 0.5em;
|
|
object-fit: cover;
|
|
}
|
|
}
|