150 lines
2.1 KiB
CSS
150 lines
2.1 KiB
CSS
:root {
|
|
--section-color: #fccce4bb;
|
|
--border-color: #f6da92;
|
|
--header-color: #fc94bcbb;
|
|
}
|
|
|
|
*, *::before, *::after {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
font-size: 16px;
|
|
}
|
|
|
|
body {
|
|
background-image: url("../site-resources/assets/bg.png");
|
|
background-attachment: fixed;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
main {
|
|
margin: 2rem 0 2rem 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 2rem;
|
|
width: 60vw;
|
|
height: auto;
|
|
}
|
|
|
|
.welcome-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.baxter-info {
|
|
display: grid;
|
|
grid-template-rows: 1.5rem 1fr;
|
|
grid-template-columns: 1fr 1fr;
|
|
justify-items: center;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.baxter-info p {
|
|
margin: 1rem;
|
|
}
|
|
|
|
.baxter-info ul {
|
|
margin: 1rem;
|
|
list-style-type: none;
|
|
}
|
|
|
|
.facts-header {
|
|
grid-column: 1/4;
|
|
grid-row: 1/2;
|
|
}
|
|
|
|
.baxter-is {
|
|
grid-column: 1/3;
|
|
grid-row: 2/3;
|
|
padding-right: 20rem;
|
|
}
|
|
|
|
.baxter-loves {
|
|
grid-column: 2/4;
|
|
grid-row: 2/3;
|
|
padding-left: 5rem;
|
|
}
|
|
|
|
.favorite-baxter-photos {
|
|
display: grid;
|
|
grid-template-rows: 5rem 25rem 25rem;
|
|
grid-template-columns: 20rem 20rem;
|
|
gap: 1rem;
|
|
justify-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.favorite-baxter-photos h3 {
|
|
grid-row: 1/2;
|
|
grid-column: 1/3;
|
|
}
|
|
|
|
.favorite-baxter-photos figure {
|
|
height: 22.5rem;
|
|
width: 22.5rem;
|
|
text-wrap: wrap;
|
|
text-align: center;
|
|
}
|
|
|
|
.favorite-baxter-photos img {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
object-fit: fill;
|
|
}
|
|
|
|
header {
|
|
width: 100%;
|
|
height: auto;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
padding: 1rem;
|
|
background-color: var(--header-color);
|
|
border-bottom: 4px solid var(--border-color);
|
|
}
|
|
|
|
header img {
|
|
height: 72px;
|
|
width: auto;
|
|
}
|
|
|
|
header p {
|
|
font-size: 1.25rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
header p:not(:first-child) {
|
|
padding-bottom: 0.5rem;
|
|
}
|
|
|
|
header a {
|
|
font-size: 1.25rem;
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
}
|
|
|
|
header a:not(:first-child) {
|
|
padding-left: 0.75rem;
|
|
}
|
|
|
|
section {
|
|
background-color: var(--section-color);
|
|
padding: 1.25rem;
|
|
border: 4px solid var(--border-color);
|
|
border-radius: 15px;
|
|
width: 60vw;
|
|
}
|
|
|
|
section img {
|
|
border-radius: 15px;
|
|
}
|