171 lines
2.7 KiB
CSS
171 lines
2.7 KiB
CSS
:root {
|
|
--section-color: #fccce4dd;
|
|
--border-color: #f6da92;
|
|
--header-color: #fc94bcdd;
|
|
--text-color: #121481;
|
|
--scrollbar-thumb: #FC819E;
|
|
--scrollbar-track: #FFCAD4;
|
|
--border-width: 5px;
|
|
}
|
|
|
|
*, *::before, *::after {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
font-size: 16px;
|
|
scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
|
|
}
|
|
|
|
body {
|
|
background-image: url("../site-resources/assets/bg.png");
|
|
background-attachment: fixed;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
.favorite-baxter-photos h3 {
|
|
grid-row: 1/2;
|
|
grid-column: 1/3;
|
|
}
|
|
|
|
.favorite-baxter-photos figure {
|
|
text-wrap: wrap;
|
|
text-align: center;
|
|
}
|
|
|
|
.favorite-baxter-photos img, .growing-up img, .young-adult-baxter img {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
object-fit: fill;
|
|
}
|
|
|
|
.favorite-baxter-photos h3, .goodbye h3, .growing-up h3, .young-adult-baxter h3, .goodbye p, .growing-up p, .young-adult-baxter p, .favorite-baxter-photos figcaption, {
|
|
padding: 1rem;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.baxter-info li , .baxter-info p, .baxter-info h3 {
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.baxter-info h3 {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.growing-up div, .young-adult-baxter div {
|
|
display: grid;
|
|
grid-template-columns: 50vh 50vh;
|
|
justify-content: center;
|
|
align-items: stretch;
|
|
gap: 2rem;
|
|
}
|
|
|
|
header {
|
|
width: 100%;
|
|
height: auto;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
padding: 1rem;
|
|
background-color: var(--header-color);
|
|
border-bottom: var(--border-width) solid var(--border-color);
|
|
}
|
|
|
|
header img {
|
|
max-height: 100%;
|
|
max-width: 100%;
|
|
object-fit: fill;
|
|
}
|
|
|
|
header p {
|
|
font-size: 1.5rem;
|
|
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: var(--border-width) solid var(--border-color);
|
|
border-radius: 15px;
|
|
width: 65vw;
|
|
}
|
|
|
|
section img {
|
|
border-radius: 15px;
|
|
}
|