starlight-theme-bejamas 0.1.3 → 0.1.5

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # starlight-theme-bejamas
2
2
 
3
+ ## 0.1.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#19](https://github.com/bejamas/ui/pull/19) [`bd4c3a0`](https://github.com/bejamas/ui/commit/bd4c3a0b596718a25aefaf7b30d185d30693618a) Thanks [@thomkrupa](https://github.com/thomkrupa)! - improve page footer ui
8
+
9
+ ## 0.1.4
10
+
11
+ ### Patch Changes
12
+
13
+ - [#17](https://github.com/bejamas/ui/pull/17) [`5751b96`](https://github.com/bejamas/ui/commit/5751b9652384891bc740947a654650cff272c2c1) Thanks [@thomkrupa](https://github.com/thomkrupa)! - improve pagination spacing
14
+
3
15
  ## 0.1.3
4
16
 
5
17
  ### Patch Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "starlight-theme-bejamas",
3
3
  "author": "Bejamas",
4
- "version": "0.1.3",
4
+ "version": "0.1.5",
5
5
  "license": "MIT",
6
6
  "description": "A Starlight theme using bejamas/ui",
7
7
  "type": "module",
@@ -6,19 +6,20 @@ import config from "virtual:starlight/user-config";
6
6
  ---
7
7
 
8
8
  <footer class="sl-flex footer-wide">
9
- <div class="meta sl-flex">
10
- <EditLink />
11
- <LastUpdated />
12
- </div>
9
+ <div class="meta"><EditLink /><LastUpdated /></div>
13
10
  <Pagination />
14
11
  <div class="fade"></div>
15
12
  </footer>
16
13
 
17
14
  {
18
15
  config.credits && (
19
- <a class="kudos sl-flex footer-wide" href="https://ui.bejamas.com">
20
- Built at Bejamas
21
- </a>
16
+ <div class="kudos sl-flex footer-wide">
17
+ <p>
18
+ Built at <a href="https://bejamas.com?utm_source=ui">Bejamas</a>. The
19
+ source code is available on{" "}
20
+ <a href="https://github.com/bejamas/ui">GitHub</a>.
21
+ </p>
22
+ </div>
22
23
  )
23
24
  }
24
25
 
@@ -62,6 +63,10 @@ import config from "virtual:starlight/user-config";
62
63
  margin-top: 3rem;
63
64
  font-size: var(--sl-text-sm);
64
65
  color: var(--sl-color-gray-3);
66
+ display: flex;
67
+ }
68
+
69
+ .meta:empty {
65
70
  display: none;
66
71
  }
67
72
 
@@ -74,15 +79,19 @@ import config from "virtual:starlight/user-config";
74
79
  gap: 0.5em;
75
80
  margin-block: 0;
76
81
  font-size: var(--sl-text-xs);
77
- text-decoration: none;
78
82
  color: var(--muted-foreground);
79
83
  justify-content: center;
80
84
  padding-top: calc(var(--spacing) * 12);
81
- padding-bottom: calc(var(--spacing) * 10);
85
+ padding-bottom: 0;
82
86
  background-color: var(--background);
83
87
  justify-content: center;
84
88
  }
85
- .kudos:hover {
89
+ .kudos a {
90
+ color: var(--muted-foreground);
91
+ text-decoration: underline;
92
+ text-underline-offset: 0.1875rem;
93
+ }
94
+ .kudos a:hover {
86
95
  color: var(--foreground);
87
96
  }
88
97
 
@@ -7,7 +7,7 @@ const { prev, next } = pagination;
7
7
  const isRtl = dir === "rtl";
8
8
  ---
9
9
 
10
- <div class="sl-flex sl-justify-between print:hidden z-10" dir={dir}>
10
+ <div class="print:hidden z-10 pagination-links" dir={dir}>
11
11
  {
12
12
  prev && (
13
13
  <Button as="a" href={prev.href} rel="prev" variant="outline">
@@ -29,15 +29,17 @@ const isRtl = dir === "rtl";
29
29
  <style>
30
30
  @layer starlight.core {
31
31
  .pagination-links {
32
- display: grid;
33
- grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
32
+ display: flex;
33
+ justify-content: flex-end;
34
34
  gap: 1rem;
35
+ margin-top: calc(var(--spacing) * 5);
35
36
  }
36
37
 
37
38
  [rel="next"] {
38
39
  justify-content: end;
39
40
  text-align: end;
40
41
  flex-direction: row-reverse;
42
+ margin-left: auto;
41
43
  }
42
44
 
43
45
  svg {
@@ -213,6 +213,10 @@
213
213
  padding-top: calc(var(--spacing) * 5);
214
214
  }
215
215
 
216
+ .content-panel:last-child {
217
+ padding-bottom: 0;
218
+ }
219
+
216
220
  @media (min-width: 50rem) {
217
221
  .content-panel:first-child {
218
222
  padding-top: calc(var(--spacing) * 12);