57 lines
930 B
CSS
57 lines
930 B
CSS
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
width: 100vw;
|
|
font-family: sans-serif;
|
|
}
|
|
a:hover { text-decoration: underline; }
|
|
a {
|
|
color: black;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.homebtn {
|
|
position: absolute;
|
|
top: 1rem;
|
|
left: 1rem;
|
|
}
|
|
.main {
|
|
margin: 2rem 0;
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
.main > h1, .content {
|
|
width: 70vw;
|
|
max-width: 50rem;
|
|
}
|
|
.main > h1 {
|
|
font-size: 1.4rem;
|
|
margin-bottom: 0;
|
|
text-align: center;
|
|
}
|
|
.content { white-space: pre-line; }
|
|
|
|
.toc {
|
|
box-sizing: border-box;
|
|
padding: 2rem;
|
|
width: 100%;
|
|
}
|
|
|
|
@media only screen and (max-width: 750px) {
|
|
.main {
|
|
margin-top: 4rem;
|
|
}
|
|
.main > h1, .content {
|
|
width: 90vw;
|
|
max-width: unset;
|
|
}
|
|
.homebtn {
|
|
left: unset;
|
|
right: 1rem;
|
|
}
|
|
}
|