From bc8e17d28d150e65c28e6eb5f840259b5b9567ac Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Fri, 17 Apr 2015 10:30:03 +0000 Subject: [PATCH] cleaned up css slightly more --- codepot/src/css/code.css | 29 +++++++++++++++++++++-------- codepot/src/css/common.css | 36 +++++++++++++++++++++++++++--------- codepot/src/css/issue.css | 8 -------- 3 files changed, 48 insertions(+), 25 deletions(-) diff --git a/codepot/src/css/code.css b/codepot/src/css/code.css index 6e1116cd..2c49839d 100644 --- a/codepot/src/css/code.css +++ b/codepot/src/css/code.css @@ -31,11 +31,17 @@ overflow: auto; border: 0; margin: 0; - padding: 0; + background-color: inherit; white-space: -moz-pre-wrap; white-space: -o-pre-wrap; white-space: pre-wrap; + + padding-left: 0.5em; + font-size: 0.9em; + line-height: 1.2em; + + color: #333333; } #code_folder_mainarea_result_info .title { @@ -56,11 +62,6 @@ white-space: pre-wrap; padding: 0.3em; line-height: 1.2em; - font-family: consolas, "Andale Mono", monospace; - - tab-size: 5; - -moz-tab-size: 5; - -o-tab-size: 5; } /*----------------------------------------------- @@ -90,11 +91,17 @@ overflow: auto; border: 0; margin: 0; - padding: 0; + background-color: inherit; white-space: -moz-pre-wrap; white-space: -o-pre-wrap; white-space: pre-wrap; + + padding-left: 0.5em; + font-size: 0.9em; + line-height: 1.2em; + + color: #333333; } #code_file_mainarea_result_info .title { @@ -139,11 +146,17 @@ overflow: auto; border: 0; margin: 0; - padding: 0; + background-color: inherit; white-space: -moz-pre-wrap; white-space: -o-pre-wrap; white-space: pre-wrap; + + padding-left: 0.5em; + font-size: 0.9em; + line-height: 1.2em; + + color: #333333; } #code_blame_mainarea_result_info .title { diff --git a/codepot/src/css/common.css b/codepot/src/css/common.css index e9d086aa..d81e52c4 100644 --- a/codepot/src/css/common.css +++ b/codepot/src/css/common.css @@ -5,8 +5,26 @@ body { min-width: 600px; } -.content -{ +pre { + font-family: consolas, "Andale Mono", monospace; + overflow: auto; + width: inherit; + border: none; + + tab-size: 5; + -moz-tab-size: 5; + -o-tab-size: 5; +} + +textarea { + font-family: consolas, "Andale Mono", monospace; + + tab-size: 5; + -moz-tab-size: 5; + -o-tab-size: 5; +} + +.content { font-size: 0.9em; font-family: Ubuntu, "Trebuchet MS", sans-serif; } @@ -40,17 +58,16 @@ body { white-space: normal; } -.content a -{ +.content a { text-decoration: none; color: #4665A2; } -.content a:visited -{ +.content a:visited { color: #4665A2; } + .content .taskbar { font-size: 1em; /*font-weight: bold;*/ @@ -338,7 +355,6 @@ body { font-size: inherit; border: 0 none; - font-family: consolas, "Andale Mono", monospace; padding: 0.2em 0.2em 0.2em 0.2em; } @@ -375,16 +391,19 @@ body { .content .mainarea pre { border: none; + /* background-color: #F8F8FA; + */ + /* overflow: auto; width: inherit; + */ } .content .mainarea pre.wiki { white-space: pre-wrap; padding: 0.3em; line-height: 1.2em; - font-family: consolas, "Andale Mono", monospace; tab-size: 5; -moz-tab-size: 5; @@ -493,7 +512,6 @@ body { /*border: 1px solid #ccc;*/ background-color: #F8F8FA; border: none; - font-family: consolas, "Andale Mono", monospace; line-height: 1.2em; padding: 0.3em; diff --git a/codepot/src/css/issue.css b/codepot/src/css/issue.css index 1340789b..da21a4a9 100644 --- a/codepot/src/css/issue.css +++ b/codepot/src/css/issue.css @@ -112,8 +112,6 @@ border-radius: 3px; border: 0 none; - font-family: consolas, "Andale Mono", monospace; - width: 100%; font-size: 0.9em; } @@ -199,14 +197,9 @@ background-color: #F8F8FA; border: none; - font-family: consolas, "Andale Mono", monospace; line-height: 1.2em; padding: 0.3em; - tab-size: 5; - -moz-tab-size: 5; - -o-tab-size: 5; - -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; @@ -227,7 +220,6 @@ display: block; padding: 1px; font-size: inherit; - font-family: consolas, "Andale Mono", monospace; width: 100%; }