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.

225 lines
4.0 KiB
CSS

5 months ago
.body {
font-family: 'Redaction-Regular';
background-color: #FCF6F1ff;
5 months ago
font-size: 1rem;
5 months ago
margin: 0;
padding: 0;
5 months ago
}
5 months ago
5 months ago
.content {
margin: 1rem auto;
5 months ago
max-width: 1000px;
5 months ago
display: flex;
flex-wrap: wrap;
justify-content: center;
}
5 months ago
.ending {
display: flex;
flex-wrap: wrap;
justify-content: center;
font-family:'Redaction_50-Regular';
padding-top: 4rem;
font-size: 2rem;
}
5 months ago
5 months ago
.content-item {
max-width: 80%;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
5 months ago
}
5 months ago
.content-item > * {
max-width: 50%;
}
5 months ago
.content-item:nth-child(odd) > * {
align-self: flex-end;
text-align: right;
float: right;
}
.content-item:nth-child(even) > * {
align-self: flex-start;
position: static;
right: 0;
text-align: left;
}
5 months ago
.content-item img {
height: auto;
}
5 months ago
.content-item p {
margin: 10px 0;
font-family: 'Redaction-Regular';
line-height: 1.6rem;
font-size: 1.1rem;
}
5 months ago
p::selection {
color: #ee98b1;
}
5 months ago
#home {
5 months ago
position: relative;
5 months ago
top: 30px;
left: 30px;
width: 100px;
5 months ago
height: auto;
opacity: 1;
}
5 months ago
#home:hover {
5 months ago
cursor: pointer;
}
5 months ago
.letterBox {
5 months ago
font-size: 18px;
padding: 20px;
max-width: 70%;
border-radius: 5px;
overflow: hidden;
border: 1px solid black;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
display: flex;
flex-wrap: wrap;
justify-content: right;
z-index: 1000;
margin: auto;
}
5 months ago
.letterContents {
5 months ago
width: 90%;
position: relative;
}
5 months ago
#closeButton {
5 months ago
font-size: 40px;
cursor: pointer;
height: 30px;
}
5 months ago
#about {
5 months ago
position: relative;
5 months ago
top: -36px;
left: 60px;
width: 80px;
5 months ago
height: auto;
}
5 months ago
#about:hover {
5 months ago
cursor: pointer;
}
5 months ago
#mute-btn {
5 months ago
color: #ee98b1;
font-family: 'Redaction-Regular', serif;
font-weight: bold;
font-size: 20px;
position: fixed;
padding: 25px;
5 months ago
right: 20px;
top: 20px;
5 months ago
text-align: center;
cursor: pointer;
border: none;
background: transparent;
}
5 months ago
#mute-btn:hover {
5 months ago
color:#FCF6F1ff;
background-color:#ee98b1;
border-radius: 30px;
}
@media only screen and (max-width: 767px) {
body {
font-size: 1rem;
5 months ago
}
5 months ago
#about {
5 months ago
position: absolute;
top: 10px;
left: 40px;
width: 70px;
height: auto;
z-index: 1000;
opacity: 1;
}
5 months ago
#home {
position: absolute;
top: 20px;
left: 20px;
width: 70px;
height: auto;
opacity: 1;
}
5 months ago
.content-item {
5 months ago
font-size: 1rem;
width: 100%;
line-height: 25px;
}
.content-item > * {
5 months ago
width: 60%;
}
5 months ago
.content-item p {
5 months ago
margin: 10px 0;
font-family: 'Redaction-Regular';
line-height: 24px;
font-size: 1rem;
width: 200px;
}
.content-item:first-of-type img {
5 months ago
margin-top: 100px;
}
5 months ago
.content-item:last-child {
5 months ago
margin-bottom: 200px;
}
5 months ago
.content-item:nth-child(odd) {
align-self: flex-end;
text-align: right;
}
5 months ago
.content-item:nth-child(even) {
5 months ago
align-items: flex-start;
margin-right: 50px;
}
5 months ago
.letterBox {
5 months ago
font-size: 16px;
padding: 18px;
max-width: 70%;
border-radius: 10px;
overflow: hidden;
border: 1px solid black;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
display: flex;
flex-wrap: wrap;
justify-content: right;
z-index: 1000;
margin: auto;
margin-top: 110px;
}
5 months ago
.ending {
5 months ago
display: flex;
flex-wrap: wrap;
justify-content: center;
font-family:'Redaction-Regular';
padding-top: 4rem;
font-size: 1rem;
5 months ago
}
5 months ago
}