aboutsummaryrefslogtreecommitdiffstats
path: root/public/css
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-08-17 22:44:07 -0700
committerUnknwon <u@gogs.io>2016-08-17 22:44:07 -0700
commit7f7216be6e4a55af83a614fb2782d643af40825a (patch)
tree1429b942c9c918957dd189a947903f7a0c5bfc53 /public/css
parentec332cf903354f8ab291ea33962d244a879c330d (diff)
downloadgitea-7f7216be6e4a55af83a614fb2782d643af40825a.tar.gz
gitea-7f7216be6e4a55af83a614fb2782d643af40825a.zip
Code quality improvement on JS
Diffstat (limited to 'public/css')
-rw-r--r--public/css/gogs.css14
1 files changed, 10 insertions, 4 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css
index 7df3377329..0bf68b1ba3 100644
--- a/public/css/gogs.css
+++ b/public/css/gogs.css
@@ -1376,10 +1376,6 @@ footer .ui.language .menu {
.repository.file.editor .tabular.menu .octicon {
margin-right: 5px;
}
-.repository.file.editor .CodeMirror.cm-s-default {
- border-radius: 3px;
- padding: 0 !important;
-}
.repository.file.editor .commit-form-wrapper {
padding-left: 64px;
}
@@ -2500,6 +2496,16 @@ footer .ui.language .menu {
tab-size: 16 !important;
-moz-tab-size: 16 !important;
}
+.CodeMirror {
+ font: 14px Consolas, "Liberation Mono", Menlo, Courier, monospace;
+}
+.CodeMirror.cm-s-default {
+ border-radius: 3px;
+ padding: 0 !important;
+}
+.CodeMirror .cm-comment {
+ background: inherit !important;
+}
.organization {
padding-top: 15px;
padding-bottom: 80px;