Smaller fonts and one column layout on mobile

This commit is contained in:
vas3k
2020-01-10 20:48:16 +01:00
parent 3dfe631502
commit a3feac62dd
2 changed files with 10 additions and 1 deletions

View File

@@ -74,10 +74,13 @@
}
}
@media only screen and (max-width : 570px) {
@media only screen and (max-width : 750px) {
.block {
grid-template-columns: 100%;
}
}
@media only screen and (max-width : 570px) {
.block-header {
grid-column-start: 1;

View File

@@ -45,6 +45,12 @@ body {
background-color: var(--bg-color);
}
@media only screen and (max-width : 800px) {
body {
font-size: 14px;
}
}
a {
color: var(--link-color);
transition: all linear .1s;