aboutsummaryrefslogtreecommitdiff
path: root/public/css/gogs.css
diff options
context:
space:
mode:
Diffstat (limited to 'public/css/gogs.css')
-rwxr-xr-xpublic/css/gogs.css16
1 files changed, 12 insertions, 4 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css
index 99b8047c..79c920b7 100755
--- a/public/css/gogs.css
+++ b/public/css/gogs.css
@@ -12,10 +12,12 @@ body {
img {
border-radius: 3px;
}
-pre {
+pre,
+code {
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
}
-pre.raw {
+pre.raw,
+code.raw {
padding: 7px 12px;
margin: 10px 0;
background-color: #f8f8f8;
@@ -25,7 +27,8 @@ pre.raw {
line-height: 1.5;
overflow: auto;
}
-pre.wrap {
+pre.wrap,
+code.wrap {
white-space: pre-wrap;
/* CSS 3 */
word-break: break-word;
@@ -387,6 +390,11 @@ footer .container .links > *:first-child {
width: 95%;
}
}
+/* Overrides some styles of the Highlight.js plugin */
+.hljs {
+ background: inherit !important;
+ padding: 0 !important;
+}
.markdown {
overflow: hidden;
font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif;
@@ -1296,7 +1304,7 @@ footer .container .links > *:first-child {
}
.repository.view.issue .title h1 {
font-weight: 300;
- font-size: 3rem;
+ font-size: 2.3rem;
margin-bottom: 5px;
}
.repository.view.issue .title h1 .ui.input {