Shrink enlarged font on small screens

This commit is contained in:
Michael Noronha
2018-08-18 15:26:18 -07:00
parent bd0140e926
commit a78ed1edcf
2 changed files with 7 additions and 4 deletions

View File

@@ -275,11 +275,7 @@ div.main .container {
} }
div.main .content { div.main .content {
color: #111111; color: #111111;
{{ if .Site.Params.enlarged }}
font-size: 17px;
{{ else }}
font-size: 16px; font-size: 16px;
{{ end }}
} }
div.main .content .title-container { div.main .content .title-container {
display: -webkit-flex; display: -webkit-flex;

View File

@@ -130,6 +130,13 @@ padding-bottom: 60px;
div.main { div.main {
padding-top: 0; padding-top: 0;
} }
div.main .content {
{{ if .Site.Params.enlarged }}
font-size: 17px;
{{ else }}
font-size: 16px;
{{ end }}
}
div.main .container .content .post-item { div.main .container .content .post-item {
display: flex; display: flex;
list-style: none; list-style: none;