ShortcutsModal.css (952B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */ 4 5 .shortcuts-content { 6 padding: 15px; 7 column-width: 250px; 8 cursor: default; 9 user-select: none; 10 } 11 12 .shortcuts-content h2 { 13 margin-top: 2px; 14 margin-bottom: 2px; 15 color: var(--theme-text-color-strong); 16 } 17 18 .shortcuts-section { 19 display: inline-block; 20 margin: 5px; 21 margin-bottom: 15px; 22 width: 250px; 23 } 24 25 .shortcuts-list { 26 list-style: none; 27 margin: 0; 28 padding: 0; 29 overflow: auto; 30 width: calc(100% - 1px); /* 1px fixes the hidden right border */ 31 } 32 33 .shortcuts-list li { 34 font-size: 12px; 35 color: var(--theme-body-color); 36 padding-top: 5px; 37 display: flex; 38 justify-content: space-between; 39 border: 1px solid transparent; 40 white-space: pre; 41 } 42 43 @media (max-width: 640px) { 44 .shortcuts-section { 45 width: 100%; 46 } 47 }