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.
201 lines
3.1 KiB
CSS
201 lines
3.1 KiB
CSS
6 months ago
|
body {
|
||
|
background-color: rgb(53, 67, 196);
|
||
|
min-height: 100vH;
|
||
|
}
|
||
|
|
||
|
.container {
|
||
|
display: flex;
|
||
|
flex-wrap: wrap;
|
||
|
padding: 20px;
|
||
|
}
|
||
|
|
||
|
.title {
|
||
|
font-family: 'Redaction_35-Regular', serif;
|
||
|
color: #FCF6F1ff;
|
||
|
font-size: 8rem;
|
||
|
flex: 0 0 auto;
|
||
|
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;
|
||
|
}
|
||
|
|
||
6 months ago
|
.photos {
|
||
6 months ago
|
display: flex;
|
||
|
flex-wrap: wrap;
|
||
|
justify-content: center;
|
||
|
padding: 20px;
|
||
|
}
|
||
|
|
||
6 months ago
|
.photos, img {
|
||
6 months ago
|
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: 20px;
|
||
|
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: 17px;
|
||
|
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;
|
||
|
font-family: 'WorkSans-Medium';
|
||
|
}
|
||
|
|
||
|
.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; /* Adjust font size */
|
||
|
margin-bottom: 10px;
|
||
|
margin-top: -40px;
|
||
|
margin-left: -20px;
|
||
|
line-height: 100%;
|
||
|
}
|
||
|
|
||
|
.subtitle {
|
||
|
font-size: 1rem;
|
||
|
width: 50px;
|
||
|
right: 140px;
|
||
|
text-align: left;
|
||
|
position: absolute;
|
||
|
top: 50px;
|
||
|
}
|
||
|
|
||
6 months ago
|
.images 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: 11px;
|
||
|
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;
|
||
|
font-family: 'WorkSans-Medium';
|
||
|
}
|
||
|
|
||
|
.img-container .caption {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
}
|