|
24 | 24 | body {
|
25 | 25 | font-weight: var(--ifm-font-weight-normal);
|
26 | 26 | letter-spacing: -0.011rem;
|
27 |
| - line-height: 1.45; |
| 27 | + line-height: 1.625; |
28 | 28 | -webkit-font-smoothing: antialiased;
|
29 | 29 | -moz-osx-font-smoothing: grayscale;
|
30 | 30 | }
|
@@ -331,7 +331,7 @@ html[data-theme='light'] body {
|
331 | 331 | --st-text: var(--st-gray-800);
|
332 | 332 | --st-text-highlight: var(--st-gray-900);
|
333 | 333 | --st-heading: var(--st-text-highlight);
|
334 |
| - --st-text-secondary: var(--st-gray-700); |
| 334 | + --st-text-secondary: var(--st-gray-600); |
335 | 335 | --st-text-link: var(--st-blue-700);
|
336 | 336 | --st-text-link-hover: var(--st-blue-600);
|
337 | 337 | --st-text-link-active: var(--st-blue-500);
|
@@ -481,9 +481,9 @@ html[data-theme='dark'] body {
|
481 | 481 | --st-background: var(--st-gray-900);
|
482 | 482 | --st-background-secondary: var(--st-gray-800);
|
483 | 483 | --st-text: var(--st-gray-200);
|
484 |
| - --st-text-highlight: var(--st-gray-100); |
| 484 | + --st-text-highlight: var(--st-gray-50); |
485 | 485 | --st-heading: var(--st-text-highlight);
|
486 |
| - --st-text-secondary: var(--st-gray-200); |
| 486 | + --st-text-secondary: var(--st-gray-400); |
487 | 487 | --st-text-link: var(--st-blue-300);
|
488 | 488 | --st-text-link-hover: var(--st-blue-400);
|
489 | 489 | --st-text-link-active: var(--st-blue-400);
|
@@ -664,39 +664,41 @@ h1 {
|
664 | 664 | }
|
665 | 665 |
|
666 | 666 | .markdown h1, .markdown h1:first-child, .index-page h1 {
|
667 |
| - --ifm-h1-font-size: 1.875rem; |
| 667 | + --ifm-h1-font-size: 2rem; |
668 | 668 | }
|
669 | 669 |
|
670 | 670 | h2 {
|
671 | 671 | letter-spacing: -0.021rem;
|
672 | 672 | }
|
673 | 673 |
|
674 | 674 | .markdown h2 {
|
675 |
| - --ifm-h2-font-size: 2rem; |
| 675 | + margin-top: 4.5rem; |
| 676 | + --ifm-h2-font-size: 1.5rem; |
676 | 677 | }
|
677 | 678 |
|
678 | 679 | h3 {
|
679 | 680 | letter-spacing: -0.019rem;
|
| 681 | + color: var(--st-heading); |
680 | 682 | }
|
681 | 683 |
|
682 | 684 | .markdown h3 {
|
683 |
| - --ifm-h3-font-size: 1.5rem; |
| 685 | + --ifm-h3-font-size: 1.25rem; |
684 | 686 | }
|
685 | 687 |
|
686 | 688 | .markdown > h3 {
|
687 |
| - margin-top: calc(var(--ifm-h2-vertical-rhythm-top) * var(--ifm-leading)); |
| 689 | + margin-top: 3rem; |
688 | 690 | }
|
689 | 691 |
|
690 | 692 | .markdown h4 {
|
691 |
| - --ifm-h4-font-size: 1.2rem; |
| 693 | + --ifm-h4-font-size: 1.15rem; |
692 | 694 | }
|
693 | 695 |
|
694 | 696 | .markdown h5 {
|
695 |
| - --ifm-h5-font-size: 1.1rem; |
| 697 | + --ifm-h5-font-size: 1.05rem; |
696 | 698 | }
|
697 | 699 |
|
698 | 700 | .markdown h6 {
|
699 |
| - --ifm-h6-font-size: 1.05rem; |
| 701 | + --ifm-h6-font-size: 1rem; |
700 | 702 | }
|
701 | 703 |
|
702 | 704 | .text--bold,
|
@@ -786,6 +788,9 @@ article,
|
786 | 788 | .index-page {
|
787 | 789 | margin: 0 auto;
|
788 | 790 | max-width: 50rem;
|
| 791 | + /* adds more side padding when in column mode */ |
| 792 | + padding-left: 0.5rem; |
| 793 | + padding-right: 0.5rem; |
789 | 794 | }
|
790 | 795 |
|
791 | 796 | /* back to top button */
|
@@ -850,6 +855,11 @@ code {
|
850 | 855 | margin-right: 0;
|
851 | 856 | width: calc(var(--doc-sidebar-width) - 1rem);
|
852 | 857 | }
|
| 858 | + article, .index-page { |
| 859 | + /* Let content breath some on a not-huge screen */ |
| 860 | + padding-left: 2rem; |
| 861 | + padding-right: 2rem; |
| 862 | +} |
853 | 863 | }
|
854 | 864 |
|
855 | 865 | .navbar__logo {
|
@@ -1113,6 +1123,7 @@ html [class*='toggleButton'] {
|
1113 | 1123 | }
|
1114 | 1124 | .menu__list-item:last-of-type {
|
1115 | 1125 | padding-bottom: 0.2rem;
|
| 1126 | + margin-bottom: 0.5rem; |
1116 | 1127 | }
|
1117 | 1128 | .menu__list-item:not(:first-child) {
|
1118 | 1129 | margin-top: 0;
|
@@ -1164,6 +1175,7 @@ html [class*='toggleButton'] {
|
1164 | 1175 | .menu__list-item .menu__list-item .menu__link--active {
|
1165 | 1176 | border-left: 3px solid var(--st-menu-link-border-active);
|
1166 | 1177 | margin-left: -4px;
|
| 1178 | + color: var(--ifm-color-emphasis-0); |
1167 | 1179 | }
|
1168 | 1180 |
|
1169 | 1181 | .menu__list-item .menu__list-item .menu__list-item .menu__link--active {
|
|
0 commit comments