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.

255 lines
3.9 KiB
CSS

6 months ago
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;
6 months ago
}
.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 {
6 months ago
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
margin: auto;
6 months ago
}
.img-container {
flex: 0 0 250px;
display: flex;
flex-direction: column;
align-items: center;
padding-left: 6rem;
5 months ago
padding-right: 2rem;
margin-top: -20px;
text-decoration: none;
6 months ago
}
.img-container:nth-child(2) {
order: 3;
6 months ago
}
.img {
height: 250px;
width: auto;
6 months ago
}
.caption {
display: flex;
align-items: center;
justify-content: center;
padding-top: 1rem;
font-family: 'Redaction-Regular';
font-size: 1rem;
6 months ago
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;
6 months ago
font-family: 'Redaction-Regular';
color: #FCF6F1ff;
6 months ago
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;
6 months ago
}
.letterBox {
line-height: 150%;
5 months ago
font-size: 1rem;
6 months ago
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;
6 months ago
}
.letterContents {
width: 90%;
position: relative;
}
#closeButton img {
cursor: pointer;
5 months ago
height: 40px;
6 months ago
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
6 months ago
}
.title {
display: flex;
flex-direction: column;
margin-top: 30px;
margin-left: 20px;
}
.title-full {
display: none;
}
6 months ago
.subtitle {
display: none;
}
6 months ago
.title-mobile {
display: block;
font-family: 'Redaction_35-Regular', serif;
color: #FCF6F1ff;
font-size: 5rem;
position: relative;
left: -3rem;
6 months ago
margin-bottom: 10px;
margin-top: -40px;
line-height: 100%;
}
6 months ago
.sub-mobile {
6 months ago
font-size: 1rem;
6 months ago
display: inline-block;
6 months ago
width: 50px;
6 months ago
line-height: 1.5rem;
6 months ago
}
5 months ago
.img-container {
padding: 0;
}
.photos img {
6 months ago
margin: 20px;
margin-top: 20px;
height: 200px;
flex: auto;
}
#about {
position: absolute;
top: 10px;
right: 10px;
width: 50px;
height: auto;
}
.letterBox {
line-height: 130%;
font-size: 1rem;
6 months ago
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 ;
6 months ago
}
.img-container .caption {
opacity: 1;
}
}