summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rwxr-xr-xpublic/css/gogs.css7
-rw-r--r--public/less/_dashboard.less7
2 files changed, 14 insertions, 0 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css
index 452d4a19a5..e37d7bdc96 100755
--- a/public/css/gogs.css
+++ b/public/css/gogs.css
@@ -3030,6 +3030,13 @@ footer .container .links > *:first-child {
.feeds .news .commit-id {
font-family: Consolas, monospace;
}
+.feeds .news code {
+ padding: 1px;
+ font-size: 85%;
+ background-color: rgba(0, 0, 0, 0.04);
+ border-radius: 3px;
+ word-break: break-all;
+}
.feeds .list .header {
padding-top: 10px;
padding-bottom: 5px;
diff --git a/public/less/_dashboard.less b/public/less/_dashboard.less
index f194dc1282..b5dff32d54 100644
--- a/public/less/_dashboard.less
+++ b/public/less/_dashboard.less
@@ -86,6 +86,13 @@
.commit-id {
font-family: Consolas, monospace;
}
+ code {
+ padding: 1px;
+ font-size: 85%;
+ background-color: rgba(0, 0, 0, 0.04);
+ border-radius: 3px;
+ word-break: break-all;
+ }
}
.list {