You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
256 lines
3.9 KiB
CSS
256 lines
3.9 KiB
CSS
body {
|
|
background-color: rgb(53, 67, 196);
|
|
min-height: 100vh;
|
|
font-family: 'Redaction-Regular', serif;
|
|
padding: 0.2rem;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
padding: 20px;
|
|
}
|
|
|
|
.title {
|
|
font-family: 'Redaction_35-Regular', serif;
|
|
color: #FCF6F1ff;
|
|
font-size: 8rem;
|
|
text-align: left;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.title-full {
|
|
display: block;
|
|
}
|
|
|
|
.title-mobile {
|
|
display: none;
|
|
}
|
|
|
|
.subtitle {
|
|
font-family: 'Redaction_20', serif;
|
|
color: #FCF6F1ff;
|
|
font-size: 1.5rem;
|
|
flex: 1 1 auto;
|
|
text-align: left;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.photos {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin: auto;
|
|
}
|
|
|
|
.img-container {
|
|
flex: 0 0 250px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding-left: 6rem;
|
|
padding-right: 2rem;
|
|
margin-top: -20px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.img-container:nth-child(2) {
|
|
order: 3;
|
|
}
|
|
|
|
.img {
|
|
height: 250px;
|
|
width: auto;
|
|
}
|
|
|
|
.caption {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding-top: 1rem;
|
|
font-family: 'Redaction-Regular';
|
|
font-size: 1rem;
|
|
color: #FCF6F1ff;
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.img-container:hover .caption {
|
|
opacity: 1;
|
|
}
|
|
|
|
.caption {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding-top: 1rem;
|
|
font-size: 2rem;
|
|
font-family: 'Redaction-Regular';
|
|
color: #FCF6F1ff;
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.img-container:hover .caption {
|
|
opacity: 1;
|
|
}
|
|
|
|
.img2 {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.caption {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding-top: 1rem;
|
|
font-size: 1.5rem;
|
|
font-family: 'Redaction-Regular';
|
|
color: #FCF6F1ff;
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.img-container:hover .caption {
|
|
opacity: 1;
|
|
}
|
|
|
|
.letterBox {
|
|
line-height: 150%;
|
|
font-size: 1rem;
|
|
padding: 30px;
|
|
margin: 60px;
|
|
max-width: 99%;
|
|
margin-top: 160px;
|
|
z-index: 1000;
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
background-color: #FCF6F1ff;
|
|
color: rgb(53, 67, 196);
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: right;
|
|
position: absolute;
|
|
}
|
|
|
|
.letterContents {
|
|
width: 90%;
|
|
position: relative;
|
|
}
|
|
|
|
#closeButton img {
|
|
cursor: pointer;
|
|
height: 40px;
|
|
width: auto;
|
|
margin: 0;
|
|
}
|
|
|
|
#about {
|
|
position: absolute;
|
|
top: 20px;
|
|
right: 20px;
|
|
width: 80px;
|
|
height: auto;
|
|
}
|
|
|
|
#about:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.container {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
flex-wrap: nowrap;
|
|
}
|
|
|
|
.title {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-top: 30px;
|
|
margin-left: 20px;
|
|
}
|
|
|
|
.title-full {
|
|
display: none;
|
|
}
|
|
|
|
.subtitle {
|
|
display: none;
|
|
}
|
|
|
|
.title-mobile {
|
|
display: block;
|
|
font-family: 'Redaction_35-Regular', serif;
|
|
color: #FCF6F1ff;
|
|
font-size: 5rem;
|
|
position: relative;
|
|
left: -3rem;
|
|
margin-bottom: 10px;
|
|
margin-top: -40px;
|
|
line-height: 100%;
|
|
}
|
|
|
|
.sub-mobile {
|
|
font-size: 1rem;
|
|
display: inline-block;
|
|
width: 50px;
|
|
line-height: 1.5rem;
|
|
}
|
|
|
|
.img-container {
|
|
padding: 0;
|
|
}
|
|
|
|
.photos img {
|
|
margin: 20px;
|
|
margin-top: 20px;
|
|
height: 200px;
|
|
flex: auto;
|
|
}
|
|
|
|
.img-container:nth-child(2) {
|
|
order: unset;
|
|
}
|
|
|
|
#about {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
width: 50px;
|
|
height: auto;
|
|
}
|
|
|
|
.letterBox {
|
|
line-height: 130%;
|
|
font-size: 1rem;
|
|
padding: 30px;
|
|
margin: 30px;
|
|
max-width: 99%;
|
|
margin-top: 150px;
|
|
z-index: 1000;
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
background-color: #FCF6F1ff;
|
|
color: rgb(53, 67, 196);
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: right;
|
|
position: absolute;
|
|
}
|
|
|
|
.letterBox p {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.img-container .caption {
|
|
opacity: 1;
|
|
}
|
|
}
|