robindoc 0.0.0-experimental-fbc3bd2 → 0.0.0-experimental-dfcffbb

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 +198 -198
  2. package/package.json +1 -1
package/lib/styles.css CHANGED
@@ -92,6 +92,43 @@
92
92
  width: 100%;
93
93
  left: 0;
94
94
  }
95
+ }.r-footer {
96
+ border-top: 1px solid var(--r-main-300);
97
+ }
98
+
99
+ .r-footer-container.r-footer-container {
100
+ padding: 16px 24px;
101
+ }
102
+
103
+ .r-footer-row {
104
+ display: flex;
105
+ justify-content: space-between;
106
+ align-items: center;
107
+ gap: 32px;
108
+ }
109
+
110
+ .r-footer-additional {
111
+ margin-top: 20px;
112
+ justify-content: flex-end;
113
+ }
114
+
115
+ .r-copyright {
116
+ color: var(--r-main-800);
117
+ }
118
+
119
+ .r-powered {
120
+ font-size: 14px;
121
+ display: block;
122
+ color: var(--r-main-600);
123
+ }
124
+
125
+ .r-powered-link {
126
+ font-weight: 600;
127
+ text-decoration: none;
128
+ color: var(--r-main-950);
129
+ }
130
+ .r-powered-link:hover {
131
+ color: var(--r-primary-900);
95
132
  }.r-root {
96
133
  --r-header-height: 60px;
97
134
  position: relative;
@@ -325,61 +362,6 @@
325
362
  --r-cl-60: #86181d;
326
363
  --r-cl-61: #144620;
327
364
  --r-cl-62: #c24e00;
328
- }.r-footer {
329
- border-top: 1px solid var(--r-main-300);
330
- }
331
-
332
- .r-footer-container.r-footer-container {
333
- padding: 16px 24px;
334
- }
335
-
336
- .r-footer-row {
337
- display: flex;
338
- justify-content: space-between;
339
- align-items: center;
340
- gap: 32px;
341
- }
342
-
343
- .r-footer-additional {
344
- margin-top: 20px;
345
- justify-content: flex-end;
346
- }
347
-
348
- .r-copyright {
349
- color: var(--r-main-800);
350
- }
351
-
352
- .r-powered {
353
- font-size: 14px;
354
- display: block;
355
- color: var(--r-main-600);
356
- }
357
-
358
- .r-powered-link {
359
- font-weight: 600;
360
- text-decoration: none;
361
- color: var(--r-main-950);
362
- }
363
- .r-powered-link:hover {
364
- color: var(--r-primary-900);
365
- }.r-page-container {
366
- min-height: calc(100dvh - var(--r-header-height));
367
- overflow-wrap: break-word;
368
- box-sizing: border-box;
369
- }.r-blog-container {
370
- min-height: calc(100dvh - var(--r-header-height));
371
- overflow-wrap: break-word;
372
- box-sizing: border-box;
373
- }
374
- @media screen and (width >= 1180px) {
375
- .r-blog-container {
376
- display: grid;
377
- justify-content: space-between;
378
- column-gap: 40px;
379
- grid-template-areas: "breadcrumbs contents" "content contents" "pagination contents";
380
- grid-template-columns: 760px 220px;
381
- grid-template-rows: auto 1fr auto;
382
- }
383
365
  }.r-docs-container {
384
366
  min-height: calc(100dvh - var(--r-header-height));
385
367
  overflow-wrap: break-word;
@@ -402,6 +384,24 @@
402
384
  grid-template-columns: 200px 640px 238px;
403
385
  grid-template-rows: auto 1fr auto;
404
386
  }
387
+ }.r-blog-container {
388
+ min-height: calc(100dvh - var(--r-header-height));
389
+ overflow-wrap: break-word;
390
+ box-sizing: border-box;
391
+ }
392
+ @media screen and (width >= 1180px) {
393
+ .r-blog-container {
394
+ display: grid;
395
+ justify-content: space-between;
396
+ column-gap: 40px;
397
+ grid-template-areas: "breadcrumbs contents" "content contents" "pagination contents";
398
+ grid-template-columns: 760px 220px;
399
+ grid-template-rows: auto 1fr auto;
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
405
  }.keylink-to-content {
406
406
  position: absolute !important;
407
407
  top: 8px;
@@ -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-pagination {
1258
1217
  grid-area: pagination;
1259
1218
  display: grid;
@@ -1326,6 +1285,47 @@
1326
1285
 
1327
1286
  .r-pagination-svg {
1328
1287
  display: block;
1288
+ }.r-breadcrumbs {
1289
+ grid-area: breadcrumbs;
1290
+ list-style: none;
1291
+ margin: 0;
1292
+ padding: 20px 0 0;
1293
+ line-height: 2;
1294
+ }
1295
+ @media screen and (width >= 768px) {
1296
+ .r-breadcrumbs {
1297
+ padding: 32px 0 0;
1298
+ }
1299
+ }
1300
+
1301
+ .r-breadcrumb {
1302
+ display: inline;
1303
+ }
1304
+
1305
+ .r-breadcrumb._previous::after {
1306
+ content: "/";
1307
+ font-weight: 600;
1308
+ margin-inline: 8px;
1309
+ }
1310
+
1311
+ .r-breadcrumb-link {
1312
+ color: var(--r-main-700);
1313
+ text-decoration: none;
1314
+ }
1315
+ .r-breadcrumb-link:hover {
1316
+ color: var(--r-primary-800);
1317
+ }
1318
+
1319
+ .r-breadcrumb-link,
1320
+ .r-breadcrumb-title {
1321
+ display: inline;
1322
+ padding: 6px 0;
1323
+ margin: 0;
1324
+ }
1325
+
1326
+ .r-breadcrumb-title {
1327
+ color: var(--r-main-950);
1328
+ font-weight: 600;
1329
1329
  }.r-contents {
1330
1330
  grid-area: contents;
1331
1331
  }
@@ -1584,8 +1584,6 @@
1584
1584
  opacity: 1;
1585
1585
  visibility: visible;
1586
1586
  pointer-events: all;
1587
- }.r-git-logo {
1588
- display: block;
1589
1587
  }.r-external-mark {
1590
1588
  position: relative;
1591
1589
  vertical-align: text-top;
@@ -1617,6 +1615,35 @@
1617
1615
  background-color: currentColor;
1618
1616
  border-radius: 0 0 0 4px;
1619
1617
  box-sizing: border-box;
1618
+ }.r-git-logo {
1619
+ display: block;
1620
+ }.r-anchor-heading:hover .r-anchor-heading-link {
1621
+ visibility: visible;
1622
+ opacity: 1;
1623
+ }
1624
+
1625
+ .r-anchor-heading-link {
1626
+ visibility: hidden;
1627
+ opacity: 0;
1628
+ transition: opacity 0.3s allow-discrete;
1629
+ padding-inline: 8px;
1630
+ margin-inline-start: -4px;
1631
+ color: var(--r-main-600);
1632
+ text-decoration: none;
1633
+ }
1634
+ .r-anchor-heading-link:hover {
1635
+ color: var(--r-primary-800);
1636
+ }
1637
+ .r-anchor-heading-link::after {
1638
+ content: "#";
1639
+ }.r-block {
1640
+ width: 100%;
1641
+ overflow: auto;
1642
+ margin-block-start: 12px;
1643
+ margin-block-end: 12px;
1644
+ scrollbar-width: thin;
1645
+ scrollbar-color: var(--r-main-200) transparent;
1646
+ box-sizing: border-box;
1620
1647
  }.r-code-section {
1621
1648
  position: relative;
1622
1649
  margin-block-start: 1.5em;
@@ -1668,33 +1695,6 @@
1668
1695
 
1669
1696
  .r-code-section-filename {
1670
1697
  font-family: var(--monospace-font, monospace, monospace);
1671
- }.r-anchor-heading:hover .r-anchor-heading-link {
1672
- visibility: visible;
1673
- opacity: 1;
1674
- }
1675
-
1676
- .r-anchor-heading-link {
1677
- visibility: hidden;
1678
- opacity: 0;
1679
- transition: opacity 0.3s allow-discrete;
1680
- padding-inline: 8px;
1681
- margin-inline-start: -4px;
1682
- color: var(--r-main-600);
1683
- text-decoration: none;
1684
- }
1685
- .r-anchor-heading-link:hover {
1686
- color: var(--r-primary-800);
1687
- }
1688
- .r-anchor-heading-link::after {
1689
- content: "#";
1690
- }.r-block {
1691
- width: 100%;
1692
- overflow: auto;
1693
- margin-block-start: 12px;
1694
- margin-block-end: 12px;
1695
- scrollbar-width: thin;
1696
- scrollbar-color: var(--r-main-200) transparent;
1697
- box-sizing: border-box;
1698
1698
  }.r-blockquote {
1699
1699
  background-color: var(--r-main-100);
1700
1700
  padding: 8px 12px 8px 20px;
@@ -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,6 +1882,55 @@
1882
1882
  min-width: 24px;
1883
1883
  text-align: center;
1884
1884
  box-sizing: border-box;
1885
+ }.r-content-link {
1886
+ text-decoration: none;
1887
+ color: inherit;
1888
+ text-decoration: underline;
1889
+ text-decoration-color: var(--r-primary-500);
1890
+ text-underline-offset: 3px;
1891
+ transition: text-decoration-offset 0.2s ease;
1892
+ }
1893
+ .r-content-link:hover {
1894
+ color: var(--r-main-700);
1895
+ text-decoration-color: var(--r-primary-400);
1896
+ text-underline-offset: 2px;
1897
+ text-decoration-thickness: 2px;
1898
+ }
1899
+ .r-content-link:active {
1900
+ color: var(--r-primary-600);
1901
+ }
1902
+
1903
+ .r-content-link-external {
1904
+ position: relative;
1905
+ vertical-align: text-top;
1906
+ display: inline-block;
1907
+ margin-left: -4px;
1908
+ margin-right: 2px;
1909
+ width: 6px;
1910
+ height: 6px;
1911
+ box-sizing: border-box;
1912
+ }
1913
+ .r-content-link-external::after {
1914
+ content: "";
1915
+ position: absolute;
1916
+ top: 0;
1917
+ right: 0;
1918
+ width: 100%;
1919
+ height: 100%;
1920
+ border-top: 1px solid currentColor;
1921
+ border-right: 1px solid currentColor;
1922
+ box-sizing: border-box;
1923
+ }
1924
+ .r-content-link-external::before {
1925
+ content: "";
1926
+ position: absolute;
1927
+ top: 0;
1928
+ right: 0;
1929
+ width: 3px;
1930
+ height: 3px;
1931
+ background-color: currentColor;
1932
+ border-radius: 0 0 0 4px;
1933
+ box-sizing: border-box;
1885
1934
  }.r-copy-button {
1886
1935
  position: relative;
1887
1936
  padding: 6px;
@@ -1953,55 +2002,17 @@
1953
2002
  .r-copy-text:active,
1954
2003
  .r-copy-text._active {
1955
2004
  color: var(--r-success);
1956
- }.r-content-link {
1957
- text-decoration: none;
1958
- color: inherit;
1959
- text-decoration: underline;
1960
- text-decoration-color: var(--r-primary-500);
1961
- text-underline-offset: 3px;
1962
- transition: text-decoration-offset 0.2s ease;
1963
- }
1964
- .r-content-link:hover {
1965
- color: var(--r-main-700);
1966
- text-decoration-color: var(--r-primary-400);
1967
- text-underline-offset: 2px;
1968
- text-decoration-thickness: 2px;
1969
- }
1970
- .r-content-link:active {
1971
- color: var(--r-primary-600);
2005
+ }.r-li {
2006
+ line-height: 1.8;
2007
+ margin-block-start: 6px;
2008
+ margin-block-end: 6px;
1972
2009
  }
1973
2010
 
1974
- .r-content-link-external {
1975
- position: relative;
1976
- vertical-align: text-top;
1977
- display: inline-block;
1978
- margin-left: -4px;
1979
- margin-right: 2px;
1980
- width: 6px;
1981
- height: 6px;
1982
- box-sizing: border-box;
1983
- }
1984
- .r-content-link-external::after {
1985
- content: "";
1986
- position: absolute;
1987
- top: 0;
1988
- right: 0;
1989
- width: 100%;
1990
- height: 100%;
1991
- border-top: 1px solid currentColor;
1992
- border-right: 1px solid currentColor;
1993
- box-sizing: border-box;
1994
- }
1995
- .r-content-link-external::before {
1996
- content: "";
1997
- position: absolute;
1998
- top: 0;
1999
- right: 0;
2000
- width: 3px;
2001
- height: 3px;
2002
- background-color: currentColor;
2003
- border-radius: 0 0 0 4px;
2004
- box-sizing: border-box;
2011
+ .r-li > .r-ul,
2012
+ .r-li > .r-ol {
2013
+ padding-inline-start: 20px;
2014
+ margin-block-start: 6px;
2015
+ margin-block-end: 6px;
2005
2016
  }.r-ol {
2006
2017
  padding-inline-start: 2rem;
2007
2018
  margin-block-start: 1em;
@@ -2015,28 +2026,17 @@
2015
2026
  text-align: left;
2016
2027
  border-collapse: collapse;
2017
2028
  box-sizing: border-box;
2029
+ }.r-thead {
2030
+ background-color: var(--r-main-100);
2018
2031
  }.r-td {
2019
2032
  padding: 6px 12px;
2020
2033
  border-bottom: 1px solid var(--r-main-400);
2021
2034
  border-collapse: collapse;
2022
- }.r-li {
2023
- line-height: 1.8;
2024
- margin-block-start: 6px;
2025
- margin-block-end: 6px;
2026
- }
2027
-
2028
- .r-li > .r-ul,
2029
- .r-li > .r-ol {
2030
- padding-inline-start: 20px;
2031
- margin-block-start: 6px;
2032
- margin-block-end: 6px;
2033
2035
  }.r-th {
2034
2036
  padding: 6px 12px;
2035
2037
  border-top: 1px solid var(--r-main-500);
2036
2038
  border-bottom: 1px solid var(--r-main-500);
2037
2039
  border-collapse: collapse;
2038
- }.r-thead {
2039
- background-color: var(--r-main-100);
2040
2040
  }.r-task-li.r-task-li {
2041
2041
  margin-block-start: 2px;
2042
2042
  margin-block-end: 2px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "robindoc",
3
- "version": "0.0.0-experimental-fbc3bd2",
3
+ "version": "0.0.0-experimental-dfcffbb",
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": {