summaryrefslogtreecommitdiffstats
path: root/sass
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2020-06-07 16:54:46 +0200
committerHarald Eilertsen <haraldei@anduin.net>2020-06-07 16:54:46 +0200
commit90a04beaed62c8c93140800eb11c7f4153d06b62 (patch)
tree53c5fee4e6c05f2d68e6f3fb2f77cf2c953f1b29 /sass
parent8ee8588fc63ddc4da812854e2f2158adb31a8308 (diff)
downloadrabalderz-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.scss14
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;