diff options
author | Matthew Rhone <matthew.rhone@outlook.com> | 2017-01-09 00:13:56 +0300 |
---|---|---|
committer | Matthew Rhone <matthew.rhone@outlook.com> | 2017-01-09 00:13:56 +0300 |
commit | 67098ce706d37f324b9e9c603d26d454a3dad681 (patch) | |
tree | 1fff57b5ab3ff214ae70d3ba12e84f88887bd730 | |
parent | bf394fbc95dc3252bcf486c27696fca359037964 (diff) |
Add rusksack font sizing to ul lists.
-rw-r--r-- | postcss/src/style.min.css | 3 | ||||
-rw-r--r-- | static/css/style.min.css | 13 |
2 files changed, 16 insertions, 0 deletions
diff --git a/postcss/src/style.min.css b/postcss/src/style.min.css index 80a7859..ba7153c 100644 --- a/postcss/src/style.min.css +++ b/postcss/src/style.min.css @@ -131,4 +131,7 @@ p { margin-top: 5px; } article { lost-center: 100% flex; +} +ul { + font-size: responsive; }
\ No newline at end of file diff --git a/static/css/style.min.css b/static/css/style.min.css index 4c7b69a..b0af0eb 100644 --- a/static/css/style.min.css +++ b/static/css/style.min.css @@ -308,4 +308,17 @@ article { max-width: 100%; margin-left: auto; margin-right: auto; +} +ul { + font-size: calc(12px + 9 * ((100vw - 420px) / 860)); +} +@media screen and (min-width: 1280px) { + ul { + font-size: 21px; + } +} +@media screen and (max-width: 420px) { + ul { + font-size: 12px; + } }
\ No newline at end of file |