Skip to content

Commit cf1bdd7

Browse files
authored
Merge pull request #10 from interledger/chj/style-fixes
fix: minor styling adjustments
2 parents e7160ec + 6cce463 commit cf1bdd7

File tree

3 files changed

+29
-2
lines changed

3 files changed

+29
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@interledger/docs-design-system",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"type": "module",
55
"description": "Shared styles and components used across all Interledger Starlight documentation sites",
66
"exports": {

src/components/Disclosure.astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const uuid = crypto.randomUUID();
1818
button {
1919
background-color: initial;
2020
border: 0;
21+
padding: 0;
2122
display: flex;
2223
gap: var(--space-2xs);
2324
margin-top: var(--space-xs);

src/styles/ilf-docs.css

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@
4848
--sl-color-green-low: hsl(var(--sl-hue-green), 85%, 96%); /* lightest */
4949
}
5050

51+
[data-theme="dark"] .logo-text {
52+
fill: white;
53+
}
54+
5155
:focus-visible {
5256
outline-color: var(--color-accent-mid);
5357
border-radius: var(--border-radius);
@@ -445,7 +449,7 @@ input:not([type="submit"]):not([type="file"]):focus {
445449
opacity: 0.6;
446450
}
447451

448-
/* Misc tweaks and overrides */
452+
/* Misc tweaks, overrides and fixes */
449453
.content button[aria-expanded="false"] + div {
450454
margin-top: 0;
451455
}
@@ -454,6 +458,28 @@ input:not([type="submit"]):not([type="file"]):focus {
454458
aspect-ratio: 16 / 9;
455459
}
456460

461+
@media screen and (min-width: 72rem) {
462+
.astro-code {
463+
max-width: 48rem;
464+
}
465+
}
466+
467+
/* Footnote styles */
468+
.footnotes.footnotes.footnotes {
469+
margin-top: var(--space-l);
470+
}
471+
472+
.footnotes {
473+
border-top: 1px dashed var(--sl-color-gray-6);
474+
}
475+
476+
.footnotes {
477+
ol {
478+
padding-inline-start: 1.2rem;
479+
font-size: var(--step--1);
480+
}
481+
}
482+
457483
/* MathJax styles */
458484
.MathJax {
459485
display: inline-block;

0 commit comments

Comments
 (0)