summaryrefslogtreecommitdiffstats
path: root/scss
diff options
context:
space:
mode:
authorThomas Bracht Laumann Jespersen <laumann@protonmail.com>2018-09-08 19:50:10 +0000
committerDrew DeVault <sir@cmpwn.com>2018-09-08 15:50:45 -0400
commit66c833f9ab3f6374b8ebe8d743d65c29850cdbd2 (patch)
tree03f8e93e6b2fb5685e07fbef5857eacf96ea760e /scss
parent4eeef3ae8999b5cac725d2f59fbbe5c23c3f789f (diff)
Add back tag-deco for non-annotated tags
In 1caa76776ea0e96709bdf1f94a7da9f8b7fa2f35 the a.tag-deco class was removed in favour of a.tag-annotated-deco. However, it seems that cgit has just added a distinction between annotated and non-annotated tags. See https://git.sr.ht/~laumann/redshift-rs/ for an example (specifically the v0.1.1 tag).
Diffstat (limited to 'scss')
-rw-r--r--scss/cgit.scss2
1 files changed, 2 insertions, 0 deletions
diff --git a/scss/cgit.scss b/scss/cgit.scss
index a20066c..3586e43 100644
--- a/scss/cgit.scss
+++ b/scss/cgit.scss
@@ -643,6 +643,7 @@ div#cgit a.branch-deco {
border: solid 1px #007700;
}
+div#cgit a.tag-deco,
div#cgit a.tag-annotated-deco {
color: #000;
margin: 0px 0.5em;
@@ -668,6 +669,7 @@ div#cgit a.deco {
}
div#cgit div.commit-subject a.branch-deco,
+div#cgit div.commit-subject a.tag-deco,
div#cgit div.commit-subject a.tag-annotated-deco,
div#cgit div.commit-subject a.remote-deco,
div#cgit div.commit-subject a.deco {