File tree Expand file tree Collapse file tree 7 files changed +39
-39
lines changed Expand file tree Collapse file tree 7 files changed +39
-39
lines changed Original file line number Diff line number Diff line change 11.breadcrumbs {
2- clip-path : inset (-5 px -5 px -5 px 0 px );
2+ clip-path : inset (-0.5 rem -0.5 rem -0.5 rem 0 );
33}
Original file line number Diff line number Diff line change 11.sidebarArticle ::before {
22 content : " " ;
33 position : absolute ;
4- left : 26 px ;
4+ left : calc ( 1.5 rem + 2 px ) ;
55 height : 100% ;
66 border-left : 1px solid var (--color-fg-default );
77 width : 1px ;
Original file line number Diff line number Diff line change 1414 h5 ,
1515 h6 {
1616 display : inline-block ;
17- margin-top : 10 px ;
18- margin-bottom : 10 px ;
17+ margin-top : 0.5 rem ;
18+ margin-bottom : 0.5 rem ;
1919
2020 p {
2121 margin : 0 ;
3636 }
3737 }
3838 & > a [class ~= " doctocat-link" ] {
39- padding : 8 px ;
40- margin-left : -32 px ;
39+ padding : 0.5 rem ;
40+ margin-left : -2 rem ;
4141 color : var (--color-fg-muted );
4242 & :active ,
4343 & :focus {
Original file line number Diff line number Diff line change 11.markdownBody {
22 [class ~= " highlight" ] pre ,
33 pre {
4- margin-top : 10 px ;
4+ margin-top : 0.5 rem ;
55 }
66
77 [class ~= " height-constrained-code-block" ] pre {
8- max-height : 500 px ;
8+ max-height : 32 rem ;
99 overflow : auto ;
1010 }
1111
1212 [class ~= " code-extra" ] {
13- margin-top : 24 px ;
13+ margin-top : 1.5 rem ;
1414
1515 pre {
1616 margin-top : 0 !important ;
2222 }
2323 }
2424
25+ // on graphql/overview/resource-limitations
26+ pre [class ~= " redbox" ],
27+ pre [class ~= " greenbox" ],
28+ pre [class ~= " bluebox" ] {
29+ color : var (--color-fg-on-emphasis );
30+ padding : 0 0.25rem ;
31+ border-radius : 4px ; // primer rounded-1
32+ }
33+
2534 pre [class ~= " redbox" ] {
26- border : 2px solid var (--color-danger-emphasis );
27- padding : 2px ;
28- border-radius : 2px ;
29- margin-right : 2px ;
35+ background-color : var (--color-danger-emphasis );
3036 }
3137
3238 pre [class ~= " greenbox" ] {
33- border : 2px solid var (--color-success-emphasis );
34- padding : 2px ;
35- border-radius : 2px ;
36- margin-right : 2px ;
39+ background-color : var (--color-success-emphasis );
3740 }
3841
3942 pre [class ~= " bluebox" ] {
40- border : 2px solid var (--color-accent-emphasis );
41- padding : 2px ;
42- border-radius : 2px ;
43- margin-right : 2px ;
43+ background-color : var (--color-accent-emphasis );
4444 }
4545}
Original file line number Diff line number Diff line change 33 counter-reset : li;
44 list-style : none ;
55 position : relative ;
6- padding-bottom : 10 px ;
6+ padding-bottom : 0.5 rem ;
77 padding-left : 0 ;
88
99 > li {
10- padding : 8 px 0 8 px 40 px ;
10+ padding : 0.5 rem 0 0.5 rem 2.5 rem ;
1111 border : 0 ;
1212 position : relative ;
13- margin-bottom : 5 px ;
13+ margin-bottom : 0.25 rem ;
1414
1515 & :before {
16- width : 22 px ;
17- height : 22 px ;
18- font-size : 14 px ;
19- margin : 1px 0 0 8 px ;
16+ width : calc ( 1.5 rem - 2 px ) ;
17+ height : calc ( 1.5 rem - 2 px ) ;
18+ font-size : calc ( 1 rem - 2 px ) ;
19+ margin : 1px 0 0 0.5 rem ;
2020 content : counter (li );
2121 counter-increment : li;
2222 position : absolute ;
4646 }
4747
4848 p :not (:first-child ) {
49- margin-top : 15 px ;
49+ margin-top : 1 rem ;
5050 }
5151
5252 [class ~= " extended-markdown" ] {
53- margin-top : 15 px ;
53+ margin-top : 1 rem ;
5454 }
5555 }
5656
6363 ul ol ,
6464 ol ol ,
6565 ol ul {
66- margin-top : 15 px ;
67- margin-bottom : 15 px ;
66+ margin-top : 1 rem ;
67+ margin-bottom : 1 rem ;
6868 }
6969}
7070
Original file line number Diff line number Diff line change 1616 font-size : 85% ;
1717 padding : 0.2em 0.4em ;
1818 background-color : var (--color-canvas-subtle );
19- border-radius : 6px ;
19+ border-radius : 6px ; // primer rounded-2
2020 }
2121
2222 pre > code {
3737 top : 0 ;
3838 background : var (--color-canvas-default );
3939 box-shadow : 0 3px 0 0 var (--color-canvas-subtle );
40- padding : 12 px 8 px ;
41- border : 0 px ;
40+ padding : 0.75 rem 0.5 rem ;
41+ border : 0 ;
4242 }
4343
4444 th [align = " center" ] {
5555 }
5656
5757 td {
58- padding : 10 px 8 px ;
59- border : 0 px ;
58+ padding : 0.75 rem 0.5 rem ;
59+ border : 0 ;
6060 vertical-align : top ;
6161 }
6262
Original file line number Diff line number Diff line change 1515 }
1616
1717 p :not (:first-child ) {
18- margin-top : 15 px ;
18+ margin-top : 1 rem ;
1919 }
2020
2121 & .note pre code {
2424
2525 & .note pre {
2626 background : none ;
27- padding : 10 px 10 px 10 px 0 ;
27+ padding : 0.5 rem 0.5 rem 0.5 rem 0 ;
2828 margin-bottom : 0 ;
2929 }
3030}
You can’t perform that action at this time.
0 commit comments