robindoc 0.0.0-experimental-4759c95 → 0.0.0-experimental-abdf899

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/styles.css +214 -214
  2. package/package.json +1 -1
package/lib/styles.css CHANGED
@@ -423,15 +423,15 @@
423
423
  grid-template-columns: 760px 220px;
424
424
  grid-template-rows: auto 1fr auto;
425
425
  }
426
+ }.r-page-container {
427
+ min-height: calc(100dvh - var(--r-header-height));
428
+ overflow-wrap: break-word;
429
+ box-sizing: border-box;
426
430
  }.keylink-to-content {
427
431
  position: absolute !important;
428
432
  top: 8px;
429
433
  left: 12px;
430
434
  z-index: 1001;
431
- }.r-page-container {
432
- min-height: calc(100dvh - var(--r-header-height));
433
- overflow-wrap: break-word;
434
- box-sizing: border-box;
435
435
  }.r-keylink.keylink-to-navigation:focus {
436
436
  margin-top: -40px;
437
437
  }.r-code-span {
@@ -448,6 +448,58 @@
448
448
 
449
449
  .r-code-span + .r-content-link-external {
450
450
  margin-left: -12px;
451
+ }.r-article {
452
+ padding: 20px 0 40px;
453
+ grid-area: content;
454
+ }
455
+ @media screen and (width >= 1180px) {
456
+ .r-article {
457
+ padding: 32px 0 40px;
458
+ }
459
+ }
460
+ .r-article > *:first-child {
461
+ margin-top: 0;
462
+ }
463
+ .r-article > *:last-child {
464
+ margin-bottom: 0;
465
+ }
466
+
467
+ .r-checkbox {
468
+ cursor: pointer;
469
+ width: 20px;
470
+ height: 20px;
471
+ margin: 4px;
472
+ vertical-align: middle;
473
+ box-sizing: border-box;
474
+ }
475
+
476
+ .r-label {
477
+ cursor: pointer;
478
+ }
479
+
480
+ .r-task-ol,
481
+ .r-task-ul {
482
+ list-style: none;
483
+ }
484
+
485
+ .r-task-label {
486
+ display: block;
487
+ width: 100%;
488
+ padding-top: 2px;
489
+ padding-bottom: 2px;
490
+ box-sizing: border-box;
491
+ }
492
+ .r-task-label:hover .r-checkbox {
493
+ filter: brightness(0.8);
494
+ }
495
+
496
+ .r-task-li.r-task-li {
497
+ margin-block-start: 2px;
498
+ margin-block-end: 2px;
499
+ }
500
+
501
+ .r-label-text {
502
+ vertical-align: middle;
451
503
  }.r-sidebar {
452
504
  grid-area: sidebar;
453
505
  box-sizing: border-box;
@@ -739,58 +791,6 @@
739
791
 
740
792
  .r-sidebar-drop[open] > .r-sidebar-drop-btn > .r-sidebar-drop-icon {
741
793
  transform: rotate(90deg);
742
- }.r-article {
743
- padding: 20px 0 40px;
744
- grid-area: content;
745
- }
746
- @media screen and (width >= 1180px) {
747
- .r-article {
748
- padding: 32px 0 40px;
749
- }
750
- }
751
- .r-article > *:first-child {
752
- margin-top: 0;
753
- }
754
- .r-article > *:last-child {
755
- margin-bottom: 0;
756
- }
757
-
758
- .r-checkbox {
759
- cursor: pointer;
760
- width: 20px;
761
- height: 20px;
762
- margin: 4px;
763
- vertical-align: middle;
764
- box-sizing: border-box;
765
- }
766
-
767
- .r-label {
768
- cursor: pointer;
769
- }
770
-
771
- .r-task-ol,
772
- .r-task-ul {
773
- list-style: none;
774
- }
775
-
776
- .r-task-label {
777
- display: block;
778
- width: 100%;
779
- padding-top: 2px;
780
- padding-bottom: 2px;
781
- box-sizing: border-box;
782
- }
783
- .r-task-label:hover .r-checkbox {
784
- filter: brightness(0.8);
785
- }
786
-
787
- .r-task-li.r-task-li {
788
- margin-block-start: 2px;
789
- margin-block-end: 2px;
790
- }
791
-
792
- .r-label-text {
793
- vertical-align: middle;
794
794
  }.r-header-menu {
795
795
  display: flex;
796
796
  justify-content: flex-end;
@@ -879,85 +879,6 @@
879
879
  .r-header-input:checked ~ .r-header-burger .r-burger-line._bottom {
880
880
  transform: translateY(0) rotate(-45deg);
881
881
  margin-top: 0;
882
- }.r-dropdown {
883
- position: relative;
884
- color: var(--r-main-600);
885
- transition: color 0.2s 0.1s;
886
- }
887
- .r-dropdown:hover, .r-dropdown:focus-within {
888
- color: var(--r-main-950);
889
- }
890
- .r-dropdown:hover .r-dropdown-drop, .r-dropdown:focus-within .r-dropdown-drop {
891
- visibility: visible;
892
- pointer-events: all;
893
- transform: translateY(20px);
894
- opacity: 1;
895
- }
896
- .r-dropdown:hover .r-dropdown-chevron, .r-dropdown:focus-within .r-dropdown-chevron {
897
- transform: rotate(180deg);
898
- }
899
-
900
- .r-dropdown-summary {
901
- display: flex;
902
- justify-content: space-between;
903
- align-items: center;
904
- width: 100%;
905
- position: relative;
906
- color: inherit;
907
- cursor: pointer;
908
- padding: 10px 4px;
909
- font-size: 16px;
910
- border: 0;
911
- background: none;
912
- z-index: 1;
913
- box-sizing: border-box;
914
- }
915
-
916
- .r-dropdown-chevron {
917
- display: block;
918
- margin-left: 6px;
919
- transition: transform 0.3s 0.1s;
920
- box-sizing: border-box;
921
- }
922
-
923
- .r-dropdown-drop {
924
- list-style: none;
925
- position: absolute;
926
- top: 16px;
927
- left: -12px;
928
- visibility: hidden;
929
- pointer-events: none;
930
- opacity: 0;
931
- transition: transform 0.3s 0.1s, opacity 0.3s 0.1s, visibility 0.3s 0.1s;
932
- background-color: var(--r-main-50);
933
- border: 1px solid var(--r-main-100);
934
- border-radius: 8px;
935
- margin: 0;
936
- padding: 2px 6px;
937
- min-width: 120px;
938
- max-width: 180px;
939
- box-sizing: border-box;
940
- }
941
-
942
- .r-dropdown-link {
943
- display: block;
944
- width: 100%;
945
- text-decoration: none;
946
- color: var(--r-main-700);
947
- padding: 4px 8px;
948
- margin-top: 4px;
949
- margin-bottom: 4px;
950
- border-radius: 4px;
951
- transition: background-color 0.2s;
952
- box-sizing: border-box;
953
- }
954
- .r-dropdown-link:hover {
955
- color: var(--r-main-900);
956
- background-color: var(--r-main-100);
957
- }
958
-
959
- .r-dropdown-link._active {
960
- color: var(--r-primary-700);
961
882
  }.r-search-btn {
962
883
  position: relative;
963
884
  border-radius: 6px;
@@ -1141,13 +1062,85 @@
1141
1062
  font-size: 14px;
1142
1063
  color: var(--r-main-600);
1143
1064
  margin: 12px 0 0;
1144
- }.r-container {
1145
- max-width: 1180px;
1146
- padding-right: 12px;
1147
- padding-left: 12px;
1148
- margin-right: auto;
1149
- margin-left: auto;
1065
+ }.r-dropdown {
1066
+ position: relative;
1067
+ color: var(--r-main-600);
1068
+ transition: color 0.2s 0.1s;
1069
+ }
1070
+ .r-dropdown:hover, .r-dropdown:focus-within {
1071
+ color: var(--r-main-950);
1072
+ }
1073
+ .r-dropdown:hover .r-dropdown-drop, .r-dropdown:focus-within .r-dropdown-drop {
1074
+ visibility: visible;
1075
+ pointer-events: all;
1076
+ transform: translateY(20px);
1077
+ opacity: 1;
1078
+ }
1079
+ .r-dropdown:hover .r-dropdown-chevron, .r-dropdown:focus-within .r-dropdown-chevron {
1080
+ transform: rotate(180deg);
1081
+ }
1082
+
1083
+ .r-dropdown-summary {
1084
+ display: flex;
1085
+ justify-content: space-between;
1086
+ align-items: center;
1087
+ width: 100%;
1088
+ position: relative;
1089
+ color: inherit;
1090
+ cursor: pointer;
1091
+ padding: 10px 4px;
1092
+ font-size: 16px;
1093
+ border: 0;
1094
+ background: none;
1095
+ z-index: 1;
1096
+ box-sizing: border-box;
1097
+ }
1098
+
1099
+ .r-dropdown-chevron {
1100
+ display: block;
1101
+ margin-left: 6px;
1102
+ transition: transform 0.3s 0.1s;
1103
+ box-sizing: border-box;
1104
+ }
1105
+
1106
+ .r-dropdown-drop {
1107
+ list-style: none;
1108
+ position: absolute;
1109
+ top: 16px;
1110
+ left: -12px;
1111
+ visibility: hidden;
1112
+ pointer-events: none;
1113
+ opacity: 0;
1114
+ transition: transform 0.3s 0.1s, opacity 0.3s 0.1s, visibility 0.3s 0.1s;
1115
+ background-color: var(--r-main-50);
1116
+ border: 1px solid var(--r-main-100);
1117
+ border-radius: 8px;
1118
+ margin: 0;
1119
+ padding: 2px 6px;
1120
+ min-width: 120px;
1121
+ max-width: 180px;
1150
1122
  box-sizing: border-box;
1123
+ }
1124
+
1125
+ .r-dropdown-link {
1126
+ display: block;
1127
+ width: 100%;
1128
+ text-decoration: none;
1129
+ color: var(--r-main-700);
1130
+ padding: 4px 8px;
1131
+ margin-top: 4px;
1132
+ margin-bottom: 4px;
1133
+ border-radius: 4px;
1134
+ transition: background-color 0.2s;
1135
+ box-sizing: border-box;
1136
+ }
1137
+ .r-dropdown-link:hover {
1138
+ color: var(--r-main-900);
1139
+ background-color: var(--r-main-100);
1140
+ }
1141
+
1142
+ .r-dropdown-link._active {
1143
+ color: var(--r-primary-700);
1151
1144
  }.r-header-social {
1152
1145
  display: flex;
1153
1146
  flex: 1;
@@ -1166,6 +1159,13 @@
1166
1159
  }
1167
1160
  .r-header-social-git:hover, .r-header-social-git:focus {
1168
1161
  color: var(--r-main-950);
1162
+ }.r-container {
1163
+ max-width: 1180px;
1164
+ padding-right: 12px;
1165
+ padding-left: 12px;
1166
+ margin-right: auto;
1167
+ margin-left: auto;
1168
+ box-sizing: border-box;
1169
1169
  }.r-theme-switcher {
1170
1170
  position: relative;
1171
1171
  display: flex;
@@ -1672,25 +1672,6 @@
1672
1672
  min-width: 24px;
1673
1673
  text-align: center;
1674
1674
  box-sizing: border-box;
1675
- }.r-anchor-heading:hover .r-anchor-heading-link {
1676
- visibility: visible;
1677
- opacity: 1;
1678
- }
1679
-
1680
- .r-anchor-heading-link {
1681
- visibility: hidden;
1682
- opacity: 0;
1683
- transition: opacity 0.3s allow-discrete;
1684
- padding-inline: 8px;
1685
- margin-inline-start: -4px;
1686
- color: var(--r-main-600);
1687
- text-decoration: none;
1688
- }
1689
- .r-anchor-heading-link:hover {
1690
- color: var(--r-primary-800);
1691
- }
1692
- .r-anchor-heading-link::after {
1693
- content: "#";
1694
1675
  }.r-code-section {
1695
1676
  position: relative;
1696
1677
  margin-block-start: 1.5em;
@@ -1742,6 +1723,75 @@
1742
1723
 
1743
1724
  .r-code-section-filename {
1744
1725
  font-family: var(--monospace-font, monospace, monospace);
1726
+ }.r-anchor-heading:hover .r-anchor-heading-link {
1727
+ visibility: visible;
1728
+ opacity: 1;
1729
+ }
1730
+
1731
+ .r-anchor-heading-link {
1732
+ visibility: hidden;
1733
+ opacity: 0;
1734
+ transition: opacity 0.3s allow-discrete;
1735
+ padding-inline: 8px;
1736
+ margin-inline-start: -4px;
1737
+ color: var(--r-main-600);
1738
+ text-decoration: none;
1739
+ }
1740
+ .r-anchor-heading-link:hover {
1741
+ color: var(--r-primary-800);
1742
+ }
1743
+ .r-anchor-heading-link::after {
1744
+ content: "#";
1745
+ }.r-block {
1746
+ position: relative;
1747
+ width: 100%;
1748
+ overflow: auto;
1749
+ margin-block-start: 12px;
1750
+ margin-block-end: 12px;
1751
+ scrollbar-width: thin;
1752
+ scrollbar-color: var(--r-main-200) transparent;
1753
+ box-sizing: border-box;
1754
+ z-index: 1;
1755
+ }.r-h1 {
1756
+ font-size: 32px;
1757
+ line-height: 1.4;
1758
+ margin-block-start: 0.67em;
1759
+ margin-block-end: 0.67em;
1760
+ }
1761
+
1762
+ .r-h2 {
1763
+ font-size: 26px;
1764
+ line-height: 1.4;
1765
+ margin-block-start: 0.83em;
1766
+ margin-block-end: 0.83em;
1767
+ }
1768
+
1769
+ .r-h3 {
1770
+ font-size: 22px;
1771
+ line-height: 1.4;
1772
+ margin-block-start: 1em;
1773
+ margin-block-end: 1em;
1774
+ }
1775
+
1776
+ .r-h4 {
1777
+ font-size: 20px;
1778
+ line-height: 1.4;
1779
+ margin-block-start: 1.33em;
1780
+ margin-block-end: 1.33em;
1781
+ }
1782
+
1783
+ .r-h5 {
1784
+ font-size: 18px;
1785
+ line-height: 1.4;
1786
+ margin-block-start: 1.5em;
1787
+ margin-block-end: 1.5em;
1788
+ }
1789
+
1790
+ .r-h6 {
1791
+ font-size: 16px;
1792
+ line-height: 1.4;
1793
+ margin-block-start: 1.8em;
1794
+ margin-block-end: 1.8em;
1745
1795
  }.r-blockquote {
1746
1796
  padding: 4px 12px 4px 20px;
1747
1797
  border: 4px solid var(--r-main-100);
@@ -1799,59 +1849,9 @@
1799
1849
  }
1800
1850
  .r-blockquote-caution .r-blockquote-title {
1801
1851
  color: var(--r-caution);
1802
- }.r-h1 {
1803
- font-size: 32px;
1804
- line-height: 1.4;
1805
- margin-block-start: 0.67em;
1806
- margin-block-end: 0.67em;
1807
- }
1808
-
1809
- .r-h2 {
1810
- font-size: 26px;
1811
- line-height: 1.4;
1812
- margin-block-start: 0.83em;
1813
- margin-block-end: 0.83em;
1814
- }
1815
-
1816
- .r-h3 {
1817
- font-size: 22px;
1818
- line-height: 1.4;
1819
- margin-block-start: 1em;
1820
- margin-block-end: 1em;
1821
- }
1822
-
1823
- .r-h4 {
1824
- font-size: 20px;
1825
- line-height: 1.4;
1826
- margin-block-start: 1.33em;
1827
- margin-block-end: 1.33em;
1828
- }
1829
-
1830
- .r-h5 {
1831
- font-size: 18px;
1832
- line-height: 1.4;
1833
- margin-block-start: 1.5em;
1834
- margin-block-end: 1.5em;
1835
- }
1836
-
1837
- .r-h6 {
1838
- font-size: 16px;
1839
- line-height: 1.4;
1840
- margin-block-start: 1.8em;
1841
- margin-block-end: 1.8em;
1842
1852
  }.r-img {
1843
1853
  max-width: 100%;
1844
1854
  box-sizing: border-box;
1845
- }.r-block {
1846
- position: relative;
1847
- width: 100%;
1848
- overflow: auto;
1849
- margin-block-start: 12px;
1850
- margin-block-end: 12px;
1851
- scrollbar-width: thin;
1852
- scrollbar-color: var(--r-main-200) transparent;
1853
- box-sizing: border-box;
1854
- z-index: 1;
1855
1855
  }.r-p {
1856
1856
  line-height: 1.8;
1857
1857
  margin-block-start: 1em;
@@ -2103,6 +2103,10 @@
2103
2103
  }
2104
2104
  .r-tr:not(:first-child) {
2105
2105
  border-top: 1px solid var(--r-main-200);
2106
+ }.r-task-ol {
2107
+ list-style: none;
2108
+ }.r-task-ul {
2109
+ list-style: none;
2106
2110
  }.r-task-li.r-task-li {
2107
2111
  margin-block-start: 2px;
2108
2112
  margin-block-end: 2px;
@@ -2132,10 +2136,6 @@
2132
2136
 
2133
2137
  .r-task-label-text {
2134
2138
  vertical-align: middle;
2135
- }.r-task-ol {
2136
- list-style: none;
2137
- }.r-task-ul {
2138
- list-style: none;
2139
2139
  }.r-tooltip {
2140
2140
  font-family: var(--monospace-font, monospace, monospace);
2141
2141
  display: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "robindoc",
3
- "version": "0.0.0-experimental-4759c95",
3
+ "version": "0.0.0-experimental-abdf899",
4
4
  "description": "Robindoc is a framework for automatically creating documentation websites based on markdown files, built on React.js Server Components",
5
5
  "main": "./lib/index.js",
6
6
  "scripts": {