diff options
author | Kenton Hamaluik <kenton@hamaluik.com> | 2014-01-26 20:47:02 -0700 |
---|---|---|
committer | Kenton Hamaluik <kenton@hamaluik.com> | 2014-01-26 20:47:02 -0700 |
commit | f73be382f127766875cbd75fab16e8421997d52d (patch) | |
tree | e664e32abaf2a4a91712e5457481a96e8dac81df /foundation-default-colours/static/css/custom.css | |
parent | 1bc386fdee2c1cb8eba254d787b779ce55a55b14 (diff) | |
download | pelican-themes-f73be382f127766875cbd75fab16e8421997d52d.tar.gz |
Made it so code listings have horizontal scrollbars instead of getting super wide and messig with the design
Diffstat (limited to 'foundation-default-colours/static/css/custom.css')
-rw-r--r-- | foundation-default-colours/static/css/custom.css | 28 |
1 files changed, 25 insertions, 3 deletions
diff --git a/foundation-default-colours/static/css/custom.css b/foundation-default-colours/static/css/custom.css index 37912ba..49d8dd3 100644 --- a/foundation-default-colours/static/css/custom.css +++ b/foundation-default-colours/static/css/custom.css @@ -50,9 +50,6 @@ .highlighttable { background: #272822; border: 1px solid #8f908a; - /* uncomment to center the code blocks */ - /*margin-left: auto; - margin-right: auto;*/ width: 100%; } @@ -114,4 +111,29 @@ p { .archive-entry { border-top: 1px dotted; +} + +table.highlighttable { + table-layout: fixed; + white-space: nowrap; + width:100%; +} + +.linenos { + width: 2.25rem; + text-align: right; + margin: 0; + padding: 0; + vertical-align: top; +} + +.highlight{ + width: 100%; + height: auto; + overflow: auto; +} + +.linenodiv { + margin: 0.55rem 0.5rem 0 0; + padding: 0; }
\ No newline at end of file |