From 1e03d222c5fc3d0119456f5f4df2fcb9d5b22a8a Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Tue, 5 Oct 2021 10:41:39 -0400 Subject: [PATCH] fix code in tables --- docs/assets/styles/docs.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/assets/styles/docs.css b/docs/assets/styles/docs.css index e6afa3123..20c3701a5 100644 --- a/docs/assets/styles/docs.css +++ b/docs/assets/styles/docs.css @@ -291,6 +291,10 @@ strong { padding: 2px 4px; } +.markdown-section tr:nth-child(2n) code { + background-color: rgb(var(--sl-color-neutral-100)); +} + kbd, .markdown-section kbd { font-family: var(--sl-font-mono); @@ -429,6 +433,11 @@ kbd, white-space: nowrap; } +.markdown-section table sl-tooltip code { + border-bottom: dashed 1px rgb(var(--sl-color-neutral-300)); + cursor: help; +} + /* Iframes */ .markdown-section iframe { border: none;