Position text content (article) pages

This commit is contained in:
Tom Russell 2020-02-03 21:17:07 +00:00
parent 0e23e47762
commit f03e2de1ec

View File

@ -11,7 +11,20 @@ body {
* Text pages * Text pages
*/ */
article { article {
margin-top: 85px; position: absolute;
top: 76px;
left: 0;
right: 0;
bottom: 0;
padding: 0 1rem;
max-height: 100vh;
overflow-y: auto;
}
@media (min-width: 990px) {
article {
top: 0px;
left: 480px;
}
} }
article section { article section {
overflow: hidden; overflow: hidden;