robindoc 0.0.0-experimental-18be8e8 → 0.0.0-experimental-2f95616

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 +159 -159
  2. package/package.json +1 -1
package/lib/styles.css CHANGED
@@ -444,6 +444,10 @@
444
444
  grid-template-columns: 1fr 640px 1fr;
445
445
  grid-template-rows: auto 1fr auto;
446
446
  }
447
+ }.r-page-container {
448
+ min-height: calc(100dvh - var(--r-header-height));
449
+ overflow-wrap: break-word;
450
+ box-sizing: border-box;
447
451
  }.r-blog-container {
448
452
  min-height: calc(100dvh - var(--r-header-height));
449
453
  overflow-wrap: break-word;
@@ -458,10 +462,6 @@
458
462
  grid-template-columns: 760px 220px;
459
463
  grid-template-rows: auto 1fr auto;
460
464
  }
461
- }.r-page-container {
462
- min-height: calc(100dvh - var(--r-header-height));
463
- overflow-wrap: break-word;
464
- box-sizing: border-box;
465
465
  }.keylink-to-content {
466
466
  position: absolute !important;
467
467
  top: 8px;
@@ -880,6 +880,85 @@
880
880
  .r-header-input:checked ~ .r-header-burger .r-burger-line._bottom {
881
881
  transform: translateY(0) rotate(-45deg);
882
882
  margin-top: 0;
883
+ }.r-dropdown {
884
+ position: relative;
885
+ color: var(--r-neutral-600);
886
+ transition: color 0.2s 0.1s;
887
+ }
888
+ .r-dropdown:hover, .r-dropdown:focus-within {
889
+ color: var(--r-neutral-950);
890
+ }
891
+ .r-dropdown:hover .r-dropdown-drop, .r-dropdown:focus-within .r-dropdown-drop {
892
+ visibility: visible;
893
+ pointer-events: all;
894
+ transform: translateY(20px);
895
+ opacity: 1;
896
+ }
897
+ .r-dropdown:hover .r-dropdown-chevron, .r-dropdown:focus-within .r-dropdown-chevron {
898
+ transform: rotate(180deg);
899
+ }
900
+
901
+ .r-dropdown-summary {
902
+ display: flex;
903
+ justify-content: space-between;
904
+ align-items: center;
905
+ width: 100%;
906
+ position: relative;
907
+ color: inherit;
908
+ cursor: pointer;
909
+ padding: 10px 4px;
910
+ font-size: 16px;
911
+ border: 0;
912
+ background: none;
913
+ z-index: 1;
914
+ box-sizing: border-box;
915
+ }
916
+
917
+ .r-dropdown-chevron {
918
+ display: block;
919
+ margin-left: 6px;
920
+ transition: transform 0.3s 0.1s;
921
+ box-sizing: border-box;
922
+ }
923
+
924
+ .r-dropdown-drop {
925
+ list-style: none;
926
+ position: absolute;
927
+ top: 16px;
928
+ left: -12px;
929
+ visibility: hidden;
930
+ pointer-events: none;
931
+ opacity: 0;
932
+ transition: transform 0.3s 0.1s, opacity 0.3s 0.1s, visibility 0.3s 0.1s;
933
+ background-color: var(--r-neutral-50);
934
+ border: 1px solid var(--r-neutral-100);
935
+ border-radius: 8px;
936
+ margin: 0;
937
+ padding: 2px 6px;
938
+ min-width: 120px;
939
+ max-width: 180px;
940
+ box-sizing: border-box;
941
+ }
942
+
943
+ .r-dropdown-link {
944
+ display: block;
945
+ width: 100%;
946
+ text-decoration: none;
947
+ color: var(--r-neutral-700);
948
+ padding: 4px 8px;
949
+ margin-top: 4px;
950
+ margin-bottom: 4px;
951
+ border-radius: 4px;
952
+ transition: background-color 0.2s;
953
+ box-sizing: border-box;
954
+ }
955
+ .r-dropdown-link:hover {
956
+ color: var(--r-neutral-900);
957
+ background-color: var(--r-neutral-100);
958
+ }
959
+
960
+ .r-dropdown-link._active {
961
+ color: var(--r-primary-700);
883
962
  }.r-search-btn {
884
963
  position: relative;
885
964
  border-radius: 6px;
@@ -996,6 +1075,13 @@
996
1075
  font-size: 14px;
997
1076
  color: var(--r-neutral-600);
998
1077
  margin: 12px 0 0;
1078
+ }.r-container {
1079
+ max-width: 1180px;
1080
+ padding-right: 12px;
1081
+ padding-left: 12px;
1082
+ margin-right: auto;
1083
+ margin-left: auto;
1084
+ box-sizing: border-box;
999
1085
  }.r-header-social {
1000
1086
  display: flex;
1001
1087
  flex: 1;
@@ -1014,92 +1100,6 @@
1014
1100
  }
1015
1101
  .r-header-social-git:hover, .r-header-social-git:focus {
1016
1102
  color: var(--r-neutral-950);
1017
- }.r-container {
1018
- max-width: 1180px;
1019
- padding-right: 12px;
1020
- padding-left: 12px;
1021
- margin-right: auto;
1022
- margin-left: auto;
1023
- box-sizing: border-box;
1024
- }.r-dropdown {
1025
- position: relative;
1026
- color: var(--r-neutral-600);
1027
- transition: color 0.2s 0.1s;
1028
- }
1029
- .r-dropdown:hover, .r-dropdown:focus-within {
1030
- color: var(--r-neutral-950);
1031
- }
1032
- .r-dropdown:hover .r-dropdown-drop, .r-dropdown:focus-within .r-dropdown-drop {
1033
- visibility: visible;
1034
- pointer-events: all;
1035
- transform: translateY(20px);
1036
- opacity: 1;
1037
- }
1038
- .r-dropdown:hover .r-dropdown-chevron, .r-dropdown:focus-within .r-dropdown-chevron {
1039
- transform: rotate(180deg);
1040
- }
1041
-
1042
- .r-dropdown-summary {
1043
- display: flex;
1044
- justify-content: space-between;
1045
- align-items: center;
1046
- width: 100%;
1047
- position: relative;
1048
- color: inherit;
1049
- cursor: pointer;
1050
- padding: 10px 4px;
1051
- font-size: 16px;
1052
- border: 0;
1053
- background: none;
1054
- z-index: 1;
1055
- box-sizing: border-box;
1056
- }
1057
-
1058
- .r-dropdown-chevron {
1059
- display: block;
1060
- margin-left: 6px;
1061
- transition: transform 0.3s 0.1s;
1062
- box-sizing: border-box;
1063
- }
1064
-
1065
- .r-dropdown-drop {
1066
- list-style: none;
1067
- position: absolute;
1068
- top: 16px;
1069
- left: -12px;
1070
- visibility: hidden;
1071
- pointer-events: none;
1072
- opacity: 0;
1073
- transition: transform 0.3s 0.1s, opacity 0.3s 0.1s, visibility 0.3s 0.1s;
1074
- background-color: var(--r-neutral-50);
1075
- border: 1px solid var(--r-neutral-100);
1076
- border-radius: 8px;
1077
- margin: 0;
1078
- padding: 2px 6px;
1079
- min-width: 120px;
1080
- max-width: 180px;
1081
- box-sizing: border-box;
1082
- }
1083
-
1084
- .r-dropdown-link {
1085
- display: block;
1086
- width: 100%;
1087
- text-decoration: none;
1088
- color: var(--r-neutral-700);
1089
- padding: 4px 8px;
1090
- margin-top: 4px;
1091
- margin-bottom: 4px;
1092
- border-radius: 4px;
1093
- transition: background-color 0.2s;
1094
- box-sizing: border-box;
1095
- }
1096
- .r-dropdown-link:hover {
1097
- color: var(--r-neutral-900);
1098
- background-color: var(--r-neutral-100);
1099
- }
1100
-
1101
- .r-dropdown-link._active {
1102
- color: var(--r-primary-700);
1103
1103
  }.r-theme-switcher {
1104
1104
  position: relative;
1105
1105
  display: flex;
@@ -1141,30 +1141,30 @@
1141
1141
  fill: var(--r-neutral-50);
1142
1142
  }
1143
1143
 
1144
- .theme-dark:not(.theme-system) .r-theme-switcher::before {
1144
+ .r-theme-dark:not(.r-theme-system) .r-theme-switcher::before {
1145
1145
  left: 2px;
1146
1146
  }
1147
1147
 
1148
- .theme-dark:not(.theme-system) .r-theme-switcher-btn__dark {
1148
+ .r-theme-dark:not(.r-theme-system) .r-theme-switcher-btn__dark {
1149
1149
  color: var(--r-neutral-950);
1150
1150
  pointer-events: none;
1151
1151
  }
1152
1152
 
1153
1153
  .r-theme-switcher::before,
1154
- .theme-system .r-theme-switcher::before {
1154
+ .r-theme-system .r-theme-switcher::before {
1155
1155
  left: 38px;
1156
1156
  }
1157
1157
 
1158
- .theme-system .r-theme-switcher-btn__system {
1158
+ .r-theme-system .r-theme-switcher-btn__system {
1159
1159
  color: var(--r-neutral-950);
1160
1160
  pointer-events: none;
1161
1161
  }
1162
1162
 
1163
- .theme-light:not(.theme-system) .r-theme-switcher::before {
1163
+ .r-theme-light:not(.r-theme-system) .r-theme-switcher::before {
1164
1164
  left: 74px;
1165
1165
  }
1166
1166
 
1167
- .theme-light:not(.theme-system) .r-theme-switcher-btn__light {
1167
+ .r-theme-light:not(.r-theme-system) .r-theme-switcher-btn__light {
1168
1168
  color: var(--r-neutral-950);
1169
1169
  pointer-events: none;
1170
1170
  }
@@ -1191,6 +1191,47 @@
1191
1191
  user-select: none;
1192
1192
  pointer-events: none;
1193
1193
  box-sizing: border-box;
1194
+ }.r-breadcrumbs {
1195
+ grid-area: breadcrumbs;
1196
+ list-style: none;
1197
+ margin: 0;
1198
+ padding: 20px 0 0;
1199
+ line-height: 2;
1200
+ }
1201
+ @media screen and (width >= 768px) {
1202
+ .r-breadcrumbs {
1203
+ padding: 32px 0 0;
1204
+ }
1205
+ }
1206
+
1207
+ .r-breadcrumb {
1208
+ display: inline;
1209
+ }
1210
+
1211
+ .r-breadcrumb._previous::after {
1212
+ content: "/";
1213
+ font-weight: 600;
1214
+ margin-inline: 8px;
1215
+ }
1216
+
1217
+ .r-breadcrumb-link {
1218
+ color: var(--r-neutral-700);
1219
+ text-decoration: none;
1220
+ }
1221
+ .r-breadcrumb-link:hover {
1222
+ color: var(--r-primary-800);
1223
+ }
1224
+
1225
+ .r-breadcrumb-link,
1226
+ .r-breadcrumb-title {
1227
+ display: inline;
1228
+ padding: 6px 0;
1229
+ margin: 0;
1230
+ }
1231
+
1232
+ .r-breadcrumb-title {
1233
+ color: var(--r-neutral-950);
1234
+ font-weight: 600;
1194
1235
  }.r-contents {
1195
1236
  grid-area: contents;
1196
1237
  }
@@ -1424,47 +1465,6 @@
1424
1465
  }
1425
1466
  .r-contents-git:hover {
1426
1467
  color: var(--r-neutral-900);
1427
- }.r-breadcrumbs {
1428
- grid-area: breadcrumbs;
1429
- list-style: none;
1430
- margin: 0;
1431
- padding: 20px 0 0;
1432
- line-height: 2;
1433
- }
1434
- @media screen and (width >= 768px) {
1435
- .r-breadcrumbs {
1436
- padding: 32px 0 0;
1437
- }
1438
- }
1439
-
1440
- .r-breadcrumb {
1441
- display: inline;
1442
- }
1443
-
1444
- .r-breadcrumb._previous::after {
1445
- content: "/";
1446
- font-weight: 600;
1447
- margin-inline: 8px;
1448
- }
1449
-
1450
- .r-breadcrumb-link {
1451
- color: var(--r-neutral-700);
1452
- text-decoration: none;
1453
- }
1454
- .r-breadcrumb-link:hover {
1455
- color: var(--r-primary-800);
1456
- }
1457
-
1458
- .r-breadcrumb-link,
1459
- .r-breadcrumb-title {
1460
- display: inline;
1461
- padding: 6px 0;
1462
- margin: 0;
1463
- }
1464
-
1465
- .r-breadcrumb-title {
1466
- color: var(--r-neutral-950);
1467
- font-weight: 600;
1468
1468
  }.r-pagination {
1469
1469
  grid-area: pagination;
1470
1470
  display: grid;
@@ -1702,18 +1702,6 @@
1702
1702
  }
1703
1703
  .r-blockquote-caution .r-blockquote-title {
1704
1704
  color: var(--r-caution);
1705
- }.r-code-span {
1706
- font-family: var(--monospace-font, monospace, monospace);
1707
- background-color: var(--r-neutral-200);
1708
- color: var(--r-primary-900);
1709
- border-radius: 4px;
1710
- padding: 2px 6px;
1711
- font-size: 16px;
1712
- letter-spacing: 0.5px;
1713
- }
1714
-
1715
- .r-code-span + .r-content-link-external {
1716
- margin-left: -12px;
1717
1705
  }.r-code-block {
1718
1706
  font-family: var(--monospace-font, monospace, monospace);
1719
1707
  font-size: 16px;
@@ -1729,6 +1717,21 @@
1729
1717
  scrollbar-width: thin;
1730
1718
  scrollbar-color: var(--r-neutral-200) transparent;
1731
1719
  box-sizing: border-box;
1720
+ }.r-code-span {
1721
+ font-family: var(--monospace-font, monospace, monospace);
1722
+ background-color: var(--r-neutral-200);
1723
+ color: var(--r-primary-900);
1724
+ border-radius: 4px;
1725
+ padding: 2px 6px;
1726
+ font-size: 16px;
1727
+ letter-spacing: 0.5px;
1728
+ }
1729
+
1730
+ .r-code-span + .r-content-link-external {
1731
+ margin-left: -12px;
1732
+ }.r-img {
1733
+ max-width: 100%;
1734
+ box-sizing: border-box;
1732
1735
  }.r-h1 {
1733
1736
  font-size: 32px;
1734
1737
  line-height: 1.4;
@@ -1769,9 +1772,6 @@
1769
1772
  line-height: 1.4;
1770
1773
  margin-block-start: 1.8em;
1771
1774
  margin-block-end: 1.8em;
1772
- }.r-img {
1773
- max-width: 100%;
1774
- box-sizing: border-box;
1775
1775
  }.r-p {
1776
1776
  line-height: 1.8;
1777
1777
  margin-block-start: 1em;
@@ -1983,6 +1983,11 @@
1983
1983
  background-color: currentColor;
1984
1984
  border-radius: 0 0 0 4px;
1985
1985
  box-sizing: border-box;
1986
+ }.r-ol {
1987
+ padding-inline-start: 0;
1988
+ list-style-position: inside;
1989
+ margin-block-start: 1em;
1990
+ margin-block-end: 1em;
1986
1991
  }.r-li {
1987
1992
  line-height: 1.8;
1988
1993
  margin-block-start: 6px;
@@ -1999,11 +2004,6 @@
1999
2004
  list-style-position: inside;
2000
2005
  margin-block-start: 1em;
2001
2006
  margin-block-end: 1em;
2002
- }.r-ol {
2003
- padding-inline-start: 0;
2004
- list-style-position: inside;
2005
- margin-block-start: 1em;
2006
- margin-block-end: 1em;
2007
2007
  }.r-table {
2008
2008
  min-width: 100%;
2009
2009
  text-align: left;
@@ -2020,8 +2020,6 @@
2020
2020
  border-collapse: collapse;
2021
2021
  }.r-thead {
2022
2022
  background-color: var(--r-neutral-100);
2023
- }.r-task-ol {
2024
- list-style: none;
2025
2023
  }.r-task-li.r-task-li {
2026
2024
  margin-block-start: 2px;
2027
2025
  margin-block-end: 2px;
@@ -2051,6 +2049,8 @@
2051
2049
 
2052
2050
  .r-task-label-text {
2053
2051
  vertical-align: middle;
2052
+ }.r-task-ol {
2053
+ list-style: none;
2054
2054
  }.r-task-ul {
2055
2055
  list-style: none;
2056
2056
  }.r-backdrop {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "robindoc",
3
- "version": "0.0.0-experimental-18be8e8",
3
+ "version": "0.0.0-experimental-2f95616",
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": {