From a3c6bd68f06a40f05412522d2d8a927ef8449429 Mon Sep 17 00:00:00 2001 From: Vaibhav Date: Sat, 17 Aug 2019 16:36:53 +0530 Subject: [PATCH] css: Use SCSS nesting for .hotkeys_table. --- static/styles/informational-overlays.scss | 26 +++++++++++------------ 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/static/styles/informational-overlays.scss b/static/styles/informational-overlays.scss index 516e8f2447..5ce47f3ba2 100644 --- a/static/styles/informational-overlays.scss +++ b/static/styles/informational-overlays.scss @@ -105,22 +105,22 @@ font-size: 1.5em; padding: 0.1em 0.2em; } -} -.hotkeys_table th { - width: 245px; - text-align: center; - // aligns table name with dividing line -} + th { + width: 245px; + text-align: center; + // aligns table name with dividing line + } -.hotkeys_table td:not(.definition) { - text-align: left; - white-space: nowrap; - font-weight: bold; -} + td:not(.definition) { + text-align: left; + white-space: nowrap; + font-weight: bold; -.hotkeys_table td:not(.definition) :not(kbd) { - font-size: 14px; + :not(kbd) { + font-size: 14px; + } + } } #keyboard-shortcuts table {