This repository was archived by the owner on Sep 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-15
lines changed
branded/src/search-ui/results/filters
wildcard/src/global-styles Expand file tree Collapse file tree 2 files changed +9
-15
lines changed Original file line number Diff line number Diff line change 9494 }
9595}
9696
97- // @TODO: Jason Harris: <kbd> element is unuseable unless the following CSS selectors are present.
98- // We should use these as a base for adjusting the default styling of <kbd> elements.
9997.keybind {
100- font-family : var (--font-family-base );
101- color : var (--text-muted );
102- background : var (--color-bg-1 );
103- border : 1px solid var (--border-color-2 );
10498 margin-left : 0.5rem ;
105- padding : 0 0.25rem ;
10699}
Original file line number Diff line number Diff line change @@ -34,18 +34,19 @@ code,
3434}
3535
3636kbd {
37- font-family : var (--code-font-family );
38- font-size : var (--code-font-size );
37+ background-color : var (--color-bg-1 );
38+ border-radius : 4px ;
39+ border : 1px solid var (--border-color-2 );
40+ box-shadow : inset 0 -2px 0 var (--color-bg-2 );
41+ color : var (--text-muted );
3942 display : inline-block ;
40- line-height : (16 / 12 );
43+ font-family : var (--monospace-font-family );
44+ font-size : var (--code-font-size );
4145 height : 1.125rem ;
42- padding : 0 0.25 rem ;
46+ line-height : ( 16 / 12 ) ;
4347 margin : 0 0.125rem ;
48+ padding : 0 0.25rem ;
4449 vertical-align : middle ;
45- border-radius : 3px ;
46- color : var (--body-color );
47- background-color : var (--color-bg-2 );
48- box-shadow : inset 0 -2px 0 var (--color-bg-3 );
4950}
5051
5152// Search examples that link to the results page should use this class.
You can’t perform that action at this time.
0 commit comments