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.
177 lines
3.4 KiB
CSS
177 lines
3.4 KiB
CSS
|
|
.body {
|
|
font-family: 'Redaction-Regular';
|
|
background-color: #FCF6F1ff;
|
|
font-size: 18px;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.content {
|
|
margin: 40px;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
max-width: 1000px;
|
|
position: relative;
|
|
}
|
|
|
|
.content-item {width: 100%;display: flex;flex-direction: column;}
|
|
|
|
.content-item > * {
|
|
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: 24px;font-size: 18px;/* width: 200px; */}
|
|
|
|
p::selection {
|
|
color: #ee98b1;
|
|
}
|
|
|
|
#home {
|
|
position: relative;
|
|
top: 40px;
|
|
left: 40px;
|
|
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;
|
|
/* margin-top: 150px; */
|
|
}
|
|
|
|
.letterContents {
|
|
width: 90%;
|
|
position: relative;
|
|
}
|
|
|
|
#closeButton {
|
|
font-size: 40px;
|
|
cursor: pointer;
|
|
height: 30px;
|
|
}
|
|
|
|
#about {
|
|
position: relative;
|
|
top: -30px;
|
|
left: 70px;
|
|
width: 80px;
|
|
height: auto;
|
|
opacity: 1;
|
|
}
|
|
|
|
#about:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
#mute-btn {
|
|
color: #ee98b1;
|
|
font-family: 'Redaction-Regular', serif;
|
|
font-weight: bold;
|
|
font-size: 20px;
|
|
position: fixed;
|
|
padding: 25px;
|
|
right: 5px;
|
|
top: 5px;
|
|
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: 18px;
|
|
}
|
|
|
|
#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 {
|
|
width: 100%;
|
|
line-height: 25px;
|
|
}
|
|
|
|
.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;
|
|
/* margin-left: 50px; */
|
|
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;
|
|
}
|
|
} |