File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 }
3535}
3636.elv-nav-menu {
37- padding-left : 1rem ;
38- padding-top : 1rem ;
39- padding-bottom : 1rem ;
40- margin-left : auto;
41- margin-right : auto;
37+ padding : 1rem ;
38+ margin-inline : auto;
4239}
43- @media (min-width : 55 em ) {
40+ @media (min-width : 58.125 em ) { /* 930px */
4441 .elv-nav-menu .elv-nav-menu {
4542 flex-wrap : nowrap;
4643 white-space : nowrap;
7269 max-width : none;
7370}
7471
75- /* Make room for the possum */
76- .elv-nav-menu {
77- padding-right : 1rem ;
78- }
79- @media (min-width : 34.4375em ) and (max-width : 74.9375em ) {
80- /* 551px–1199px */
81- .elv-header-docs .elv-nav-menu {
82- padding-right : 4em ;
83- }
84- }
8572/* Sticky, #2col × 600px */
8673@media (min-width : 41.4375em ) and (min-height : 43.75em ) {
8774 /* Take care with the sticky toc too */
Original file line number Diff line number Diff line change 88 transition : 0.3s opacity ease-out;
99 filter : drop-shadow (3px 3px # 0006 );
1010}
11+
12+ : root {
13+ --possum-margin : 5rem ;
14+ }
15+ .elv-header-docs .elv-possum {
16+ width : calc (var (--possum-margin ) - .5rem );
17+ height : auto;
18+ aspect-ratio : 790 / 2125 ;
19+ filter : drop-shadow (1px 1px # 0006 );
20+ }
1121/* #2col */
1222@media (max-width : 41.375em ) {
1323 /* Hide moving possum on docs only */
1424 .elv-possum-island {
1525 display : none;
1626 }
1727}
18-
19- .elv-header-docs .elv-possum {
20- width : 10vw ;
21- height : auto;
22- aspect-ratio : 790 / 2125 ;
23- max-width : 3.75em ; /* 60px /16 */
24- filter : drop-shadow (1px 1px # 0006 );
25- }
26- @media (min-width : 81.25em ) { /* 1300px */
27- .elv-header-docs .elv-possum {
28- width : 15vw ;
29- max-width : 6.25rem ; /* 100px /16 */
28+ @media (min-width : 41.4375em ) and (max-width : 78.125em ) { /* 663px-1250px */
29+ .elv-header-docs : has (.announcement ) .products-max {
30+ padding-right : calc (var (--possum-margin ) - 1em ); /* subtract link padding */
31+ }
32+ .elv-header-docs .elv-nav-menu {
33+ padding-right : var (--possum-margin );
3034 }
3135}
You can’t perform that action at this time.
0 commit comments