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.
206 lines
3.1 KiB
CSS
206 lines
3.1 KiB
CSS
body {
|
|
background-color: rgb(53, 67, 196);
|
|
min-height: 100vH;
|
|
font-family: 'Redaction-Regular', serif;
|
|
}
|
|
|
|
.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;
|
|
padding: 20px;
|
|
}
|
|
|
|
.photos, img {
|
|
height: 250px;
|
|
margin: 10px;
|
|
margin-top: 10px;
|
|
flex: auto;
|
|
}
|
|
|
|
.img-container {
|
|
position: relative;
|
|
margin: 10px;
|
|
}
|
|
|
|
.img-container img {
|
|
display: block;
|
|
}
|
|
|
|
.img-container .caption {
|
|
position: absolute;
|
|
left: 0;
|
|
width: 100%;
|
|
text-align: center;
|
|
color: #FCF6F1ff;
|
|
font-size: 1.5rem;
|
|
font-family: 'Redaction-Regular';
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.img-container:hover .caption {
|
|
opacity: 1;
|
|
}
|
|
|
|
.img2 {
|
|
margin-top: 250px;
|
|
}
|
|
|
|
.letterBox {
|
|
line-height: 150%;
|
|
font-size: 1.3rem;
|
|
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: 50px;
|
|
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;
|
|
}
|
|
|
|
.title {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-top: 30px;
|
|
margin-left: 20px;
|
|
}
|
|
|
|
.title-full {
|
|
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%;
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 1rem;
|
|
width: 50px;
|
|
right: 140px;
|
|
text-align: left;
|
|
position: absolute;
|
|
top: 50px;
|
|
}
|
|
|
|
.images img {
|
|
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;
|
|
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;
|
|
}
|
|
}
|