summaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2015-12-20 14:29:53 -0500
committerBen Burwell <ben@benburwell.com>2015-12-20 14:29:53 -0500
commitfe7909494e59c03b76c35b8498ca0bb8ec561137 (patch)
treed48cf384204f835256b2fc3ba657247382c8f748 /_includes
parent7bc8ea07e5116fa2e60a2b7e4aeebcbbaa1280c8 (diff)
Use overflow for better viewport adaptation
Diffstat (limited to '_includes')
-rw-r--r--_includes/site.scss5
1 files changed, 4 insertions, 1 deletions
diff --git a/_includes/site.scss b/_includes/site.scss
index eec856c..a66904b 100644
--- a/_includes/site.scss
+++ b/_includes/site.scss
@@ -102,6 +102,8 @@ li {
}
pre {
+ font-family: $monospace;
+ overflow: auto;
margin: 1rem 0;
}
@@ -172,10 +174,11 @@ aside {
height: 100%;
text-align: center;
pre {
- margin-top: 2em;
+ margin-top: 2rem;
display: inline-block;
text-align: left;
line-height: 2rem;
+ overflow: auto;
}
}