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