about summary refs log tree commit diff
path: root/third_party
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-09-15T13·32+0300
committertazjin <mail@tazj.in>2021-09-15T13·53+0000
commit7894d7e178ac542f2542b71b10cb34e99080acd7 (patch)
tree333bde0a0ea36ae968c076cb591b8648b110a872 /third_party
parentc0e4b863c7aee1fe1746cebc38fb5f58e8195b9e (diff)
feat(3p/cgit): Highlight cheddar callout in about views r/2867
Change-Id: Ica055ab621608ff78dbbf9ea9a2c9d1cdf2ff21e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3556
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'third_party')
-rw-r--r--third_party/cgit/tvl-extra.css26
1 files changed, 26 insertions, 0 deletions
diff --git a/third_party/cgit/tvl-extra.css b/third_party/cgit/tvl-extra.css
index 52c4dc292f..71f8eacf6f 100644
--- a/third_party/cgit/tvl-extra.css
+++ b/third_party/cgit/tvl-extra.css
@@ -2,3 +2,29 @@
 .content #summary {
   max-width: 800px;
 }
+
+/* highlight cheddar callouts in cgit about views */
+.cheddar-callout {
+    display: block;
+    padding: 10px;
+}
+
+.cheddar-question {
+    color: #3367d6;
+    background-color: #e8f0fe;
+}
+
+.cheddar-todo {
+    color: #616161;
+    background-color: #eeeeee;
+}
+
+.cheddar-tip {
+    color: #00796b;
+    background-color: #e0f2f1;
+}
+
+.cheddar-warning {
+    color: #a52714;
+    background-color: #fbe9e7;
+}