diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2020-06-07 16:54:46 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2020-06-07 16:54:46 +0200 |
commit | 90a04beaed62c8c93140800eb11c7f4153d06b62 (patch) | |
tree | 53c5fee4e6c05f2d68e6f3fb2f77cf2c953f1b29 /sass | |
parent | 8ee8588fc63ddc4da812854e2f2158adb31a8308 (diff) | |
download | rabalderz-90a04beaed62c8c93140800eb11c7f4153d06b62.tar.gz rabalderz-90a04beaed62c8c93140800eb11c7f4153d06b62.tar.bz2 rabalderz-90a04beaed62c8c93140800eb11c7f4153d06b62.zip |
Styles: Only add margins on wide displays.
Diffstat (limited to 'sass')
-rw-r--r-- | sass/styles.scss | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sass/styles.scss b/sass/styles.scss index 94bb3fe..0a696bf 100644 --- a/sass/styles.scss +++ b/sass/styles.scss @@ -25,22 +25,22 @@ pre { .site-title { background-color: #3e4753; color: #ccc; - padding-left: 5rem; - padding-right: 5rem; font-size: 200%; } .site-description { background-color: #000; color: #ccc; - padding-left: 5rem; - padding-right: 5rem; font-size: x-small; } } -.page-content { - margin-left: 5em; - margin-right: 5em; +.page-content, +.site-title, +.site-description { + @media(min-width: 960px) { + padding-left: 5rem; + padding-right: 5rem; + } } .figure { text-align: center; |