From 9e39c6b87e448643adf48f193abd56acb2118bfc Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Tue, 1 Oct 2019 16:35:00 -0600 Subject: [PATCH] add .doc namespace to CSS selectors for doc where missing --- src/css/doc.css | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/css/doc.css b/src/css/doc.css index 551860d..7453996 100644 --- a/src/css/doc.css +++ b/src/css/doc.css @@ -565,21 +565,21 @@ display: none; } -b.button { +.doc b.button { white-space: nowrap; } -b.button::before { +.doc b.button::before { content: "["; padding-right: 0.25em; } -b.button::after { +.doc b.button::after { content: "]"; padding-left: 0.25em; } -kbd { +.doc kbd { display: inline-block; font-size: calc(12 / var(--rem-base) * 1rem); background: var(--kbd-background); @@ -591,28 +591,28 @@ kbd { white-space: nowrap; } -kbd, -.keyseq { +.doc kbd, +.doc .keyseq { line-height: 1; } -.keyseq { +.doc .keyseq { font-size: calc(16 / var(--rem-base) * 1rem); } -.keyseq kbd { +.doc .keyseq kbd { margin: 0 0.125em; } -.keyseq kbd:first-child { +.doc .keyseq kbd:first-child { margin-left: 0; } -.keyseq kbd:last-child { +.doc .keyseq kbd:last-child { margin-right: 0; } -.menuseq i.caret::before { +.doc .menuseq i.caret::before { content: "\203a"; font-size: 1.1em; font-weight: var(--body-font-weight-bold); -- 2.11.0