Skip to content
Snippets Groups Projects
Verified Commit a327701e authored by Jakob Moser's avatar Jakob Moser
Browse files

Default to 5 column layout

parent aee73473
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,7 @@ main { ...@@ -23,7 +23,7 @@ main {
display: grid; display: grid;
margin: 4em 0; margin: 4em 0;
grid-template-columns: repeat(4, min-content); grid-template-columns: repeat(5, min-content);
column-gap: 4em; column-gap: 4em;
row-gap: 2em; row-gap: 2em;
...@@ -88,6 +88,12 @@ a.detail:hover { ...@@ -88,6 +88,12 @@ a.detail:hover {
color: white; color: white;
} }
@media (max-width: 1150px) {
main {
grid-template-columns: repeat(4, min-content);
}
}
@media (max-width: 980px) { @media (max-width: 980px) {
main { main {
grid-template-columns: repeat(3, min-content); grid-template-columns: repeat(3, min-content);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment