From 1123a187c012df06381b415798db4b2c18a4016d Mon Sep 17 00:00:00 2001 From: sudan Date: Thu, 21 Jan 2016 10:13:35 +0800 Subject: style --- static/style.css | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'static/style.css') 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; } -- cgit