diff --git a/package.json b/package.json index 390c7b0..ec5f44b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@interledger/docs-design-system", - "version": "0.5.0", + "version": "0.5.1", "type": "module", "description": "Shared styles and components used across all Interledger Starlight documentation sites", "exports": { @@ -20,6 +20,6 @@ "url": "https://github.com/interledger/docs-design-system" }, "dependencies": { - "mermaid": "^10.9.0" + "mermaid": "^10.9.1" } } diff --git a/src/styles/ilf-docs.css b/src/styles/ilf-docs.css index e31b9d6..18a361c 100644 --- a/src/styles/ilf-docs.css +++ b/src/styles/ilf-docs.css @@ -95,6 +95,10 @@ padding: var(--space-2xs) var(--sl-sidebar-item-padding-inline); } +.sidebar-content .top-level ul summary span { + font-size: var(--sl-text-sm); +} + .sidebar-content [data-icon="external"]::after { content: url('data:image/svg+xml,'); height: 0.75em; @@ -367,17 +371,11 @@ thead tr:first-of-type th:last-of-type { border-start-end-radius: var(--border-radius); } -.sl-markdown-content - thead - + tbody - tr:nth-child(2n):not(:where(.not-content *)) { +.sl-markdown-content thead + tbody tr:nth-child(2n):not(:where(.not-content *)) { background-color: var(--sl-color-gray-7, var(--sl-color-gray-6)); } -.sl-markdown-content - thead - + tbody - tr:nth-child(2n + 1):not(:where(.not-content *)) { +.sl-markdown-content thead + tbody tr:nth-child(2n + 1):not(:where(.not-content *)) { background-color: initial; } @@ -394,47 +392,23 @@ thead tr:first-of-type th:last-of-type { padding: var(--space-2xs) var(--space-xs); } -.sl-markdown-content - tbody - tr:first-of-type:not(:where(.not-content *)) - th:first-child, -.sl-markdown-content - tbody - tr:first-of-type:not(:where(.not-content *)) - td:first-child { +.sl-markdown-content tbody tr:first-of-type:not(:where(.not-content *)) th:first-child, +.sl-markdown-content tbody tr:first-of-type:not(:where(.not-content *)) td:first-child { border-start-start-radius: var(--border-radius); } -.sl-markdown-content - tbody - tr:first-of-type:not(:where(.not-content *)) - th:last-child, -.sl-markdown-content - tbody - tr:first-of-type:not(:where(.not-content *)) - td:last-child { +.sl-markdown-content tbody tr:first-of-type:not(:where(.not-content *)) th:last-child, +.sl-markdown-content tbody tr:first-of-type:not(:where(.not-content *)) td:last-child { border-start-end-radius: var(--border-radius); } -.sl-markdown-content - tbody - tr:last-of-type:not(:where(.not-content *)) - th:first-child, -.sl-markdown-content - tbody - tr:last-of-type:not(:where(.not-content *)) - td:first-child { +.sl-markdown-content tbody tr:last-of-type:not(:where(.not-content *)) th:first-child, +.sl-markdown-content tbody tr:last-of-type:not(:where(.not-content *)) td:first-child { border-end-start-radius: var(--border-radius); } -.sl-markdown-content - tbody - tr:last-of-type:not(:where(.not-content *)) - th:last-child, -.sl-markdown-content - tbody - tr:last-of-type:not(:where(.not-content *)) - td:last-child { +.sl-markdown-content tbody tr:last-of-type:not(:where(.not-content *)) th:last-child, +.sl-markdown-content tbody tr:last-of-type:not(:where(.not-content *)) td:last-child { border-end-end-radius: var(--border-radius); }