From 35d68cc0769f2f3c8fb0d63f85fc780b856a8209 Mon Sep 17 00:00:00 2001 From: ofshellohicy Date: Fri, 18 Jul 2014 14:50:32 +0800 Subject: remove useless feature --- static/style.css | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'static/style.css') diff --git a/static/style.css b/static/style.css index 7b19c76..7905a59 100644 --- a/static/style.css +++ b/static/style.css @@ -1,6 +1,6 @@ body { margin: 0; padding: 0; } body, input { font-size: 16px; font-family: 'Helvetica Neue', sans-serif; } -.page { margin: 50px auto; width: 740px; } +.page { margin: 50px auto; width: 100%; } h1 { margin: 0; font-weight: normal; color: #c00; } a { color: black; } a:hover { color: #c00; } @@ -13,9 +13,10 @@ dl dt { font-weight: bold; width: 90px; float: left; clear: left; } dl dd { float: left; margin: 0; padding: 0; } pre, textarea { font-family: 'Consolas', monospace; font-size: 14px; - background: #eee; padding: 0; margin: 0; } -textarea { border: none; width: 720px; } -.code, .flash { background: #eee; margin: 10px -30px; padding: 10px 30px; } + background: #eee; padding: 0; margin: 0; + word-break: break-word; white-space: pre-wrap;} +textarea { border: none; width: 100%; } +.code, .flash { background: #eee; padding: 20px; } .pagination strong, .pagination span.ellipsis, .pagination a { border: 1px solid #d00; padding: 2px 6px; text-decoration: none; } -- cgit From bbc403b4534d4e93b446959791466c9d55239afc Mon Sep 17 00:00:00 2001 From: ofshellohicy Date: Wed, 10 Sep 2014 11:42:21 +0800 Subject: misc updates --- static/style.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'static/style.css') diff --git a/static/style.css b/static/style.css index 7905a59..d58599a 100644 --- a/static/style.css +++ b/static/style.css @@ -1,6 +1,6 @@ body { margin: 0; padding: 0; } body, input { font-size: 16px; font-family: 'Helvetica Neue', sans-serif; } -.page { margin: 50px auto; width: 100%; } +.page { margin: 50px auto; width: 800px; } h1 { margin: 0; font-weight: normal; color: #c00; } a { color: black; } a:hover { color: #c00; } @@ -12,8 +12,8 @@ dl { overflow: auto; font-size: 14px; } dl dt { font-weight: bold; width: 90px; float: left; clear: left; } dl dd { float: left; margin: 0; padding: 0; } -pre, textarea { font-family: 'Consolas', monospace; font-size: 14px; - background: #eee; padding: 0; margin: 0; +pre, textarea { font-family: 'Consolas', monospace; font-size: 18px; + background: #eee; padding: 0; margin: 0; line-height: 2em; word-break: break-word; white-space: pre-wrap;} textarea { border: none; width: 100%; } .code, .flash { background: #eee; padding: 20px; } -- cgit