diff options
author | sudan <sudan@douban.com> | 2016-01-21 10:13:35 +0800 |
---|---|---|
committer | sudan <sudan@douban.com> | 2016-01-21 11:16:11 +0800 |
commit | 1123a187c012df06381b415798db4b2c18a4016d (patch) | |
tree | 7de10187ec169f6beaf5a6d9c695ce4920b72453 /static | |
parent | merge from jiawei (diff) | |
download | stackbin-1123a187c012df06381b415798db4b2c18a4016d.tar.gz stackbin-1123a187c012df06381b415798db4b2c18a4016d.tar.bz2 stackbin-1123a187c012df06381b415798db4b2c18a4016d.zip |
style
Diffstat (limited to 'static')
-rw-r--r-- | static/small.css | 2 | ||||
-rw-r--r-- | static/style.css | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/static/small.css b/static/small.css index af50a92..caa5783 100644 --- a/static/small.css +++ b/static/small.css @@ -3,4 +3,4 @@ pre { line-height: 1.8em; } -.page { margin: 50px auto; width: 100%; } +.page { margin: 20px auto; width: 100%; } diff --git a/static/style.css b/static/style.css index d58599a..8d43349 100644 --- a/static/style.css +++ b/static/style.css @@ -1,22 +1,22 @@ body { margin: 0; padding: 0; } body, input { font-size: 16px; font-family: 'Helvetica Neue', sans-serif; } -.page { margin: 50px auto; width: 800px; } +.page { margin: 10px auto; max-width: 800px; } h1 { margin: 0; font-weight: normal; color: #c00; } a { color: black; } a:hover { color: #c00; } -.nav { margin: 0 0 20px 0; list-style: none; padding: 0; } +.nav { margin: 0 0 15px 0; font-size: 14px; list-style: none; padding: 0 10px; } .nav li { display: inline; } .nav li + li:before { content: " // "; } -h2 { font-weight: normal; margin: 0; } -dl { overflow: auto; font-size: 14px; } -dl dt { font-weight: bold; width: 90px; float: left; +h2 { font-weight: normal; color: #999; margin-bottom: 10px; padding: 0 10px} +dl { overflow: auto; font-size: 14px; padding: 0 10px} +dl dt { font-weight: bold; min-width: 70px; float: left; padding-right: 15px; clear: left; } dl dd { float: left; margin: 0; padding: 0; } -pre, textarea { font-family: 'Consolas', monospace; font-size: 18px; - background: #eee; padding: 0; margin: 0; line-height: 2em; +pre, textarea { font-family: 'Consolas', monospace; font-size: 16px; + background: #f4f4f4; padding: 10px; margin: 0; line-height: 1.6em; word-break: break-word; white-space: pre-wrap;} textarea { border: none; width: 100%; } -.code, .flash { background: #eee; padding: 20px; } +.code, .flash { background: #f4f4f4; padding: 0; } .pagination strong, .pagination span.ellipsis, .pagination a { border: 1px solid #d00; padding: 2px 6px; text-decoration: none; } |