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

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