robindoc 0.0.0-experimental-dd4fde6 → 0.0.0-experimental-fb135e6

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 +211 -211
  2. package/package.json +1 -1
package/lib/styles.css CHANGED
@@ -129,6 +129,28 @@
129
129
  }
130
130
  .r-powered-link:hover {
131
131
  color: var(--r-primary-900);
132
+ }.r-docs-container {
133
+ min-height: calc(100dvh - var(--r-header-height));
134
+ overflow-wrap: break-word;
135
+ box-sizing: border-box;
136
+ }
137
+ @media screen and (width >= 768px) {
138
+ .r-docs-container {
139
+ display: grid;
140
+ justify-content: center;
141
+ column-gap: 32px;
142
+ grid-template-areas: "sidebar breadcrumbs" "sidebar contents" "sidebar content" "sidebar pagination";
143
+ grid-template-columns: 1fr calc(100% - 248px);
144
+ grid-template-rows: auto auto 1fr auto;
145
+ }
146
+ }
147
+ @media screen and (width >= 1180px) {
148
+ .r-docs-container {
149
+ column-gap: 40px;
150
+ grid-template-areas: "sidebar breadcrumbs contents" "sidebar content contents" "sidebar pagination contents";
151
+ grid-template-columns: 200px 640px 238px;
152
+ grid-template-rows: auto 1fr auto;
153
+ }
132
154
  }.r-root {
133
155
  --r-header-height: 60px;
134
156
  position: relative;
@@ -362,28 +384,6 @@
362
384
  --r-cl-60: #86181d;
363
385
  --r-cl-61: #144620;
364
386
  --r-cl-62: #c24e00;
365
- }.r-docs-container {
366
- min-height: calc(100dvh - var(--r-header-height));
367
- overflow-wrap: break-word;
368
- box-sizing: border-box;
369
- }
370
- @media screen and (width >= 768px) {
371
- .r-docs-container {
372
- display: grid;
373
- justify-content: center;
374
- column-gap: 32px;
375
- grid-template-areas: "sidebar breadcrumbs" "sidebar contents" "sidebar content" "sidebar pagination";
376
- grid-template-columns: 1fr calc(100% - 248px);
377
- grid-template-rows: auto auto 1fr auto;
378
- }
379
- }
380
- @media screen and (width >= 1180px) {
381
- .r-docs-container {
382
- column-gap: 40px;
383
- grid-template-areas: "sidebar breadcrumbs contents" "sidebar content contents" "sidebar pagination contents";
384
- grid-template-columns: 200px 640px 238px;
385
- grid-template-rows: auto 1fr auto;
386
- }
387
387
  }.r-blog-container {
388
388
  min-height: calc(100dvh - var(--r-header-height));
389
389
  overflow-wrap: break-word;
@@ -398,15 +398,15 @@
398
398
  grid-template-columns: 760px 220px;
399
399
  grid-template-rows: auto 1fr auto;
400
400
  }
401
- }.r-page-container {
402
- min-height: calc(100dvh - var(--r-header-height));
403
- overflow-wrap: break-word;
404
- box-sizing: border-box;
405
401
  }.keylink-to-content {
406
402
  position: absolute !important;
407
403
  top: 8px;
408
404
  left: 12px;
409
405
  z-index: 1001;
406
+ }.r-page-container {
407
+ min-height: calc(100dvh - var(--r-header-height));
408
+ overflow-wrap: break-word;
409
+ box-sizing: border-box;
410
410
  }.r-keylink.keylink-to-navigation:focus {
411
411
  margin-top: -40px;
412
412
  }.r-article {
@@ -840,103 +840,6 @@
840
840
  .r-header-input:checked ~ .r-header-burger .r-burger-line._bottom {
841
841
  transform: translateY(0) rotate(-45deg);
842
842
  margin-top: 0;
843
- }.r-dropdown {
844
- position: relative;
845
- color: var(--r-main-600);
846
- transition: color 0.2s 0.1s;
847
- }
848
- .r-dropdown:hover, .r-dropdown:focus-within {
849
- color: var(--r-main-950);
850
- }
851
- .r-dropdown:hover .r-dropdown-drop, .r-dropdown:focus-within .r-dropdown-drop {
852
- visibility: visible;
853
- pointer-events: all;
854
- transform: translateY(20px);
855
- opacity: 1;
856
- }
857
- .r-dropdown:hover .r-dropdown-chevron, .r-dropdown:focus-within .r-dropdown-chevron {
858
- transform: rotate(180deg);
859
- }
860
-
861
- .r-dropdown-summary {
862
- display: flex;
863
- justify-content: space-between;
864
- align-items: center;
865
- width: 100%;
866
- position: relative;
867
- color: inherit;
868
- cursor: pointer;
869
- padding: 10px 4px;
870
- font-size: 16px;
871
- border: 0;
872
- background: none;
873
- z-index: 1;
874
- box-sizing: border-box;
875
- }
876
-
877
- .r-dropdown-chevron {
878
- display: block;
879
- margin-left: 6px;
880
- transition: transform 0.3s 0.1s;
881
- box-sizing: border-box;
882
- }
883
-
884
- .r-dropdown-drop {
885
- list-style: none;
886
- position: absolute;
887
- top: 16px;
888
- left: -12px;
889
- visibility: hidden;
890
- pointer-events: none;
891
- opacity: 0;
892
- transition: transform 0.3s 0.1s, opacity 0.3s 0.1s, visibility 0.3s 0.1s;
893
- background-color: var(--r-main-50);
894
- border: 1px solid var(--r-main-100);
895
- border-radius: 8px;
896
- margin: 0;
897
- padding: 2px 6px;
898
- min-width: 120px;
899
- max-width: 180px;
900
- box-sizing: border-box;
901
- }
902
-
903
- .r-dropdown-link {
904
- display: block;
905
- width: 100%;
906
- text-decoration: none;
907
- color: var(--r-main-700);
908
- padding: 4px 8px;
909
- margin-top: 4px;
910
- margin-bottom: 4px;
911
- border-radius: 4px;
912
- transition: background-color 0.2s;
913
- box-sizing: border-box;
914
- }
915
- .r-dropdown-link:hover {
916
- color: var(--r-main-900);
917
- background-color: var(--r-main-100);
918
- }
919
-
920
- .r-dropdown-link._active {
921
- color: var(--r-primary-700);
922
- }.r-header-social {
923
- display: flex;
924
- flex: 1;
925
- justify-content: flex-end;
926
- }
927
- @media screen and (width >= 1024px) {
928
- .r-header-social {
929
- flex: none;
930
- justify-content: unset;
931
- }
932
- }
933
-
934
- .r-header-social-git {
935
- color: var(--r-main-700);
936
- transition: color 0.2s;
937
- }
938
- .r-header-social-git:hover, .r-header-social-git:focus {
939
- color: var(--r-main-950);
940
843
  }.r-search-btn {
941
844
  position: relative;
942
845
  border-radius: 6px;
@@ -1120,6 +1023,24 @@
1120
1023
  font-size: 14px;
1121
1024
  color: var(--r-main-600);
1122
1025
  margin: 12px 0 0;
1026
+ }.r-header-social {
1027
+ display: flex;
1028
+ flex: 1;
1029
+ justify-content: flex-end;
1030
+ }
1031
+ @media screen and (width >= 1024px) {
1032
+ .r-header-social {
1033
+ flex: none;
1034
+ justify-content: unset;
1035
+ }
1036
+ }
1037
+
1038
+ .r-header-social-git {
1039
+ color: var(--r-main-700);
1040
+ transition: color 0.2s;
1041
+ }
1042
+ .r-header-social-git:hover, .r-header-social-git:focus {
1043
+ color: var(--r-main-950);
1123
1044
  }.r-container {
1124
1045
  max-width: 1180px;
1125
1046
  padding-right: 12px;
@@ -1127,6 +1048,85 @@
1127
1048
  margin-right: auto;
1128
1049
  margin-left: auto;
1129
1050
  box-sizing: border-box;
1051
+ }.r-dropdown {
1052
+ position: relative;
1053
+ color: var(--r-main-600);
1054
+ transition: color 0.2s 0.1s;
1055
+ }
1056
+ .r-dropdown:hover, .r-dropdown:focus-within {
1057
+ color: var(--r-main-950);
1058
+ }
1059
+ .r-dropdown:hover .r-dropdown-drop, .r-dropdown:focus-within .r-dropdown-drop {
1060
+ visibility: visible;
1061
+ pointer-events: all;
1062
+ transform: translateY(20px);
1063
+ opacity: 1;
1064
+ }
1065
+ .r-dropdown:hover .r-dropdown-chevron, .r-dropdown:focus-within .r-dropdown-chevron {
1066
+ transform: rotate(180deg);
1067
+ }
1068
+
1069
+ .r-dropdown-summary {
1070
+ display: flex;
1071
+ justify-content: space-between;
1072
+ align-items: center;
1073
+ width: 100%;
1074
+ position: relative;
1075
+ color: inherit;
1076
+ cursor: pointer;
1077
+ padding: 10px 4px;
1078
+ font-size: 16px;
1079
+ border: 0;
1080
+ background: none;
1081
+ z-index: 1;
1082
+ box-sizing: border-box;
1083
+ }
1084
+
1085
+ .r-dropdown-chevron {
1086
+ display: block;
1087
+ margin-left: 6px;
1088
+ transition: transform 0.3s 0.1s;
1089
+ box-sizing: border-box;
1090
+ }
1091
+
1092
+ .r-dropdown-drop {
1093
+ list-style: none;
1094
+ position: absolute;
1095
+ top: 16px;
1096
+ left: -12px;
1097
+ visibility: hidden;
1098
+ pointer-events: none;
1099
+ opacity: 0;
1100
+ transition: transform 0.3s 0.1s, opacity 0.3s 0.1s, visibility 0.3s 0.1s;
1101
+ background-color: var(--r-main-50);
1102
+ border: 1px solid var(--r-main-100);
1103
+ border-radius: 8px;
1104
+ margin: 0;
1105
+ padding: 2px 6px;
1106
+ min-width: 120px;
1107
+ max-width: 180px;
1108
+ box-sizing: border-box;
1109
+ }
1110
+
1111
+ .r-dropdown-link {
1112
+ display: block;
1113
+ width: 100%;
1114
+ text-decoration: none;
1115
+ color: var(--r-main-700);
1116
+ padding: 4px 8px;
1117
+ margin-top: 4px;
1118
+ margin-bottom: 4px;
1119
+ border-radius: 4px;
1120
+ transition: background-color 0.2s;
1121
+ box-sizing: border-box;
1122
+ }
1123
+ .r-dropdown-link:hover {
1124
+ color: var(--r-main-900);
1125
+ background-color: var(--r-main-100);
1126
+ }
1127
+
1128
+ .r-dropdown-link._active {
1129
+ color: var(--r-primary-700);
1130
1130
  }.r-theme-switcher {
1131
1131
  position: relative;
1132
1132
  display: flex;
@@ -1213,47 +1213,6 @@
1213
1213
  user-select: none;
1214
1214
  pointer-events: none;
1215
1215
  box-sizing: border-box;
1216
- }.r-breadcrumbs {
1217
- grid-area: breadcrumbs;
1218
- list-style: none;
1219
- margin: 0;
1220
- padding: 20px 0 0;
1221
- line-height: 2;
1222
- }
1223
- @media screen and (width >= 768px) {
1224
- .r-breadcrumbs {
1225
- padding: 32px 0 0;
1226
- }
1227
- }
1228
-
1229
- .r-breadcrumb {
1230
- display: inline;
1231
- }
1232
-
1233
- .r-breadcrumb._previous::after {
1234
- content: "/";
1235
- font-weight: 600;
1236
- margin-inline: 8px;
1237
- }
1238
-
1239
- .r-breadcrumb-link {
1240
- color: var(--r-main-700);
1241
- text-decoration: none;
1242
- }
1243
- .r-breadcrumb-link:hover {
1244
- color: var(--r-primary-800);
1245
- }
1246
-
1247
- .r-breadcrumb-link,
1248
- .r-breadcrumb-title {
1249
- display: inline;
1250
- padding: 6px 0;
1251
- margin: 0;
1252
- }
1253
-
1254
- .r-breadcrumb-title {
1255
- color: var(--r-main-950);
1256
- font-weight: 600;
1257
1216
  }.r-contents {
1258
1217
  grid-area: contents;
1259
1218
  }
@@ -1493,6 +1452,47 @@
1493
1452
  }
1494
1453
  .r-contents-git:hover {
1495
1454
  color: var(--r-main-900);
1455
+ }.r-breadcrumbs {
1456
+ grid-area: breadcrumbs;
1457
+ list-style: none;
1458
+ margin: 0;
1459
+ padding: 20px 0 0;
1460
+ line-height: 2;
1461
+ }
1462
+ @media screen and (width >= 768px) {
1463
+ .r-breadcrumbs {
1464
+ padding: 32px 0 0;
1465
+ }
1466
+ }
1467
+
1468
+ .r-breadcrumb {
1469
+ display: inline;
1470
+ }
1471
+
1472
+ .r-breadcrumb._previous::after {
1473
+ content: "/";
1474
+ font-weight: 600;
1475
+ margin-inline: 8px;
1476
+ }
1477
+
1478
+ .r-breadcrumb-link {
1479
+ color: var(--r-main-700);
1480
+ text-decoration: none;
1481
+ }
1482
+ .r-breadcrumb-link:hover {
1483
+ color: var(--r-primary-800);
1484
+ }
1485
+
1486
+ .r-breadcrumb-link,
1487
+ .r-breadcrumb-title {
1488
+ display: inline;
1489
+ padding: 6px 0;
1490
+ margin: 0;
1491
+ }
1492
+
1493
+ .r-breadcrumb-title {
1494
+ color: var(--r-main-950);
1495
+ font-weight: 600;
1496
1496
  }.r-pagination {
1497
1497
  grid-area: pagination;
1498
1498
  display: grid;
@@ -1568,8 +1568,6 @@
1568
1568
  }.r-last-modified {
1569
1569
  color: var(--r-main-700);
1570
1570
  margin-block-start: 16px;
1571
- }.r-git-logo {
1572
- display: block;
1573
1571
  }.r-backdrop {
1574
1572
  position: fixed;
1575
1573
  top: 0;
@@ -1586,6 +1584,8 @@
1586
1584
  opacity: 1;
1587
1585
  visibility: visible;
1588
1586
  pointer-events: all;
1587
+ }.r-git-logo {
1588
+ display: block;
1589
1589
  }.r-external-mark {
1590
1590
  position: relative;
1591
1591
  vertical-align: text-top;
@@ -1751,19 +1751,6 @@
1751
1751
  }
1752
1752
  .r-blockquote-caution .r-blockquote-title {
1753
1753
  color: var(--r-caution);
1754
- }.r-code-block {
1755
- font-family: var(--monospace-font, monospace, monospace);
1756
- font-size: 16px;
1757
- line-height: 1.33;
1758
- border-radius: 6px;
1759
- padding: 16px 20px;
1760
- margin: 0;
1761
- color: var(--r-primary-800);
1762
- background-color: var(--r-main-50);
1763
- overflow-x: auto;
1764
- scrollbar-width: thin;
1765
- scrollbar-color: var(--r-main-200) transparent;
1766
- box-sizing: border-box;
1767
1754
  }.r-code-span {
1768
1755
  font-family: var(--monospace-font, monospace, monospace);
1769
1756
  background-color: var(--r-main-100);
@@ -1778,6 +1765,19 @@
1778
1765
 
1779
1766
  .r-code-span + .r-content-link-external {
1780
1767
  margin-left: -12px;
1768
+ }.r-code-block {
1769
+ font-family: var(--monospace-font, monospace, monospace);
1770
+ font-size: 16px;
1771
+ line-height: 1.33;
1772
+ border-radius: 6px;
1773
+ padding: 16px 20px;
1774
+ margin: 0;
1775
+ color: var(--r-primary-800);
1776
+ background-color: var(--r-main-50);
1777
+ overflow-x: auto;
1778
+ scrollbar-width: thin;
1779
+ scrollbar-color: var(--r-main-200) transparent;
1780
+ box-sizing: border-box;
1781
1781
  }.r-h1 {
1782
1782
  font-size: 32px;
1783
1783
  line-height: 1.4;
@@ -1882,34 +1882,6 @@
1882
1882
  min-width: 24px;
1883
1883
  text-align: center;
1884
1884
  box-sizing: border-box;
1885
- }.r-copy-text {
1886
- position: relative;
1887
- cursor: pointer;
1888
- background: none;
1889
- border: 0;
1890
- padding: 0;
1891
- font: inherit;
1892
- padding: 6px 0;
1893
- }
1894
- .r-copy-text:hover {
1895
- color: var(--r-main-950);
1896
- }
1897
- .r-copy-text::before {
1898
- content: "";
1899
- position: absolute;
1900
- bottom: 0;
1901
- left: 0;
1902
- width: 100%;
1903
- height: 1px;
1904
- background: linear-gradient(to right, currentColor 30%, transparent 0%, transparent 80%, currentColor 80%) repeat-x 0px/8px;
1905
- transition: background 0.2s;
1906
- box-sizing: border-box;
1907
- opacity: 0.6;
1908
- }
1909
-
1910
- .r-copy-text:active,
1911
- .r-copy-text._active {
1912
- color: var(--r-success);
1913
1885
  }.r-copy-button {
1914
1886
  position: relative;
1915
1887
  padding: 6px;
@@ -1953,6 +1925,34 @@
1953
1925
 
1954
1926
  .r-copy-button-svg {
1955
1927
  display: block;
1928
+ }.r-copy-text {
1929
+ position: relative;
1930
+ cursor: pointer;
1931
+ background: none;
1932
+ border: 0;
1933
+ padding: 0;
1934
+ font: inherit;
1935
+ padding: 6px 0;
1936
+ }
1937
+ .r-copy-text:hover {
1938
+ color: var(--r-main-950);
1939
+ }
1940
+ .r-copy-text::before {
1941
+ content: "";
1942
+ position: absolute;
1943
+ bottom: 0;
1944
+ left: 0;
1945
+ width: 100%;
1946
+ height: 1px;
1947
+ background: linear-gradient(to right, currentColor 30%, transparent 0%, transparent 80%, currentColor 80%) repeat-x 0px/8px;
1948
+ transition: background 0.2s;
1949
+ box-sizing: border-box;
1950
+ opacity: 0.6;
1951
+ }
1952
+
1953
+ .r-copy-text:active,
1954
+ .r-copy-text._active {
1955
+ color: var(--r-success);
1956
1956
  }.r-content-link {
1957
1957
  text-decoration: none;
1958
1958
  color: inherit;
@@ -2035,10 +2035,6 @@
2035
2035
  border-top: 1px solid var(--r-main-500);
2036
2036
  border-bottom: 1px solid var(--r-main-500);
2037
2037
  border-collapse: collapse;
2038
- }.r-thead {
2039
- background-color: var(--r-main-100);
2040
- }.r-task-ol {
2041
- list-style: none;
2042
2038
  }.r-task-li.r-task-li {
2043
2039
  margin-block-start: 2px;
2044
2040
  margin-block-end: 2px;
@@ -2068,6 +2064,10 @@
2068
2064
 
2069
2065
  .r-task-label-text {
2070
2066
  vertical-align: middle;
2067
+ }.r-thead {
2068
+ background-color: var(--r-main-100);
2069
+ }.r-task-ol {
2070
+ list-style: none;
2071
2071
  }.r-task-ul {
2072
2072
  list-style: none;
2073
2073
  }.r-tooltip {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "robindoc",
3
- "version": "0.0.0-experimental-dd4fde6",
3
+ "version": "0.0.0-experimental-fb135e6",
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": {