From 7894d7e178ac542f2542b71b10cb34e99080acd7 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 15 Sep 2021 16:32:43 +0300 Subject: [PATCH] feat(3p/cgit): Highlight cheddar callout in about views Change-Id: Ica055ab621608ff78dbbf9ea9a2c9d1cdf2ff21e Reviewed-on: https://cl.tvl.fyi/c/depot/+/3556 Tested-by: BuildkiteCI Reviewed-by: sterni --- third_party/cgit/tvl-extra.css | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/third_party/cgit/tvl-extra.css b/third_party/cgit/tvl-extra.css index 52c4dc292..71f8eacf6 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; +}