Commit 99246e06 authored by Daniel Shumway's avatar Daniel Shumway

style: slightly more mobile friendly articles

Not great, but it'll do for now.
parent 2a99b969
Pipeline #22778191 passed with stage
in 53 seconds
...@@ -194,6 +194,12 @@ main { ...@@ -194,6 +194,12 @@ main {
main article nav li.active { main article nav li.active {
font-weight: bold; } font-weight: bold; }
@media only screen and (max-width: 60rem) {
main {
grid-template-columns: 0 auto 16rem; }
main article nav {
display: none; } }
article { article {
margin-bottom: 4rem; margin-bottom: 4rem;
padding-left: 1rem; padding-left: 1rem;
......
...@@ -45,6 +45,14 @@ main { ...@@ -45,6 +45,14 @@ main {
} }
} }
@media only screen and (max-width: 65rem) {
main {
grid-template-columns: 0 auto 16rem;
article nav { display: none; }
}
}
article { article {
margin-bottom: 4rem; margin-bottom: 4rem;
padding-left: 1rem; padding-left: 1rem;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment