diff options
author | Arun Isaac | 2022-07-19 17:00:27 +0530 |
---|---|---|
committer | Arun Isaac | 2022-07-19 17:37:07 +0530 |
commit | a2a150066f5b2e1b0eef6b3f8c42bb1091136d2e (patch) | |
tree | aa1e34c01afb5bf809e53eb421410a58bba7bf5a /tissue/web/server.scm | |
parent | 9ba28fa5c972061c94a033240469252166fdd964 (diff) | |
download | tissue-a2a150066f5b2e1b0eef6b3f8c42bb1091136d2e.tar.gz tissue-a2a150066f5b2e1b0eef6b3f8c42bb1091136d2e.tar.lz tissue-a2a150066f5b2e1b0eef6b3f8c42bb1091136d2e.zip |
issue: Render tags as an unordered list.
* tissue/issue.scm (document->sxml): Render tags as an unordered list.
* tissue/web/server.scm (%css): Style list items with tag classes, not
anchor tags.
Diffstat (limited to 'tissue/web/server.scm')
-rw-r--r-- | tissue/web/server.scm | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/tissue/web/server.scm b/tissue/web/server.scm index 33e6892..b3891ab 100644 --- a/tissue/web/server.scm +++ b/tissue/web/server.scm @@ -104,7 +104,13 @@ form { text-align: center; } } .search-result-snippet { font-size: smaller; } -a.tag { +.tags { + list-style-type: none; + padding: 0; + display: inline; +} +.tag { display: inline; } +.tag a { padding: 0.25em 0.4em; color: white; background-color: blue; @@ -112,13 +118,13 @@ a.tag { margin: auto 0.25em; font-size: smaller; } -a.tag-bug { background-color: red; } -a.tag-feature { background-color: green; } -a.tag-progress, a.tag-unassigned { +.tag-bug a { background-color: red; } +.tag-feature a { background-color: green; } +.tag-progress a, .tag-unassigned a { background-color: orange; color: black; } -a.tag-chore { +.tag-chore a { background-color: khaki; color: black; }") |