From e9a7bc742058330efb95d3db89f7057a4012b60e Mon Sep 17 00:00:00 2001 From: bnewbold Date: Tue, 21 Jun 2016 02:24:52 -0400 Subject: css: overflow text; terminal-style code blocks --- static/style/default.css | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'static/style') diff --git a/static/style/default.css b/static/style/default.css index 1b0a029..4c0dd3d 100644 --- a/static/style/default.css +++ b/static/style/default.css @@ -80,14 +80,22 @@ hr { border-right: 55px solid #FFFFFF; } dt { font-weight: bold; } -pre.large { +pre.highlight { font-family: courier; - margin: 10px; + background-color: black; + color: white; + margin: 1em; padding: 6px; - border: 1px solid black; - background-color: #F2D1D1; + border: 2px solid grey; + overflow: auto; } +pre.terminal { + font-family: courier; + background-color: black; + color: white; + margin: 1em; + padding: 6px; + border: 2px solid grey; overflow: auto; } - .search_box { border: 1px solid black; padding: 0.1em; @@ -154,7 +162,8 @@ pre.large { margin-bottom: 0px; padding-left: 24px; padding-right: 24px; - padding-bottom: 12px; } + padding-bottom: 12px; + overflow: hidden; } .content img { border: 1px solid black; } .content_footer { -- cgit v1.2.3