@geekity/cms 0.5.0 → 0.6.0
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/README.md +24 -14
- package/admin/pages/navigation/menus.njk +8 -5
- package/admin/pages/users/edit.njk +25 -2
- package/admin/static/admin.css +18 -3
- package/dist/admin/accounts.d.ts +10 -0
- package/dist/admin/accounts.d.ts.map +1 -1
- package/dist/admin/accounts.js +15 -3
- package/dist/admin/accounts.js.map +1 -1
- package/dist/admin/users.d.ts +24 -0
- package/dist/admin/users.d.ts.map +1 -1
- package/dist/admin/users.js +102 -30
- package/dist/admin/users.js.map +1 -1
- package/dist/federation/mount.d.ts.map +1 -1
- package/dist/federation/mount.js +16 -3
- package/dist/federation/mount.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/web/authors.d.ts +15 -1
- package/dist/web/authors.d.ts.map +1 -1
- package/dist/web/authors.js +9 -1
- package/dist/web/authors.js.map +1 -1
- package/dist/web/index.d.ts +3 -3
- package/dist/web/index.d.ts.map +1 -1
- package/dist/web/index.js +1 -1
- package/dist/web/index.js.map +1 -1
- package/dist/web/navigation.d.ts +106 -28
- package/dist/web/navigation.d.ts.map +1 -1
- package/dist/web/navigation.js +135 -49
- package/dist/web/navigation.js.map +1 -1
- package/package.json +1 -1
- package/themes/default/README.md +25 -10
- package/themes/default/partials/bio.njk +5 -1
- package/themes/default/partials/menu.njk +6 -4
- package/themes/default/static/style.css +28 -10
|
@@ -299,14 +299,29 @@ a:focus-visible {
|
|
|
299
299
|
color: var(--color-primary);
|
|
300
300
|
}
|
|
301
301
|
|
|
302
|
-
|
|
303
|
-
|
|
302
|
+
/* The two links that are the page saying where it is rather than somewhere to
|
|
303
|
+
go: the site title at the root and the small link home everywhere else. Both
|
|
304
|
+
read as plain text, in the heading font the rules below give them.
|
|
305
|
+
|
|
306
|
+
Named rather than reached for through the element they sit in (TASK-111). A
|
|
307
|
+
bare `header a` also caught the site menu, which is navigation somebody is
|
|
308
|
+
meant to use, and every link inside a post's own `<header>`. The `:visited`
|
|
309
|
+
halves are here because `a:visited` outweighs a bare class, and the hover
|
|
310
|
+
and focus halves because `a:focus-visible` outweighs one too: without them
|
|
311
|
+
these two would take the outline rather than the flourish. */
|
|
312
|
+
|
|
313
|
+
.main-heading a,
|
|
314
|
+
.main-heading a:visited,
|
|
315
|
+
.header-link-home,
|
|
316
|
+
.header-link-home:visited {
|
|
304
317
|
color: var(--color-text);
|
|
305
318
|
text-decoration: none;
|
|
306
319
|
}
|
|
307
320
|
|
|
308
|
-
|
|
309
|
-
|
|
321
|
+
.main-heading a:hover,
|
|
322
|
+
.main-heading a:focus,
|
|
323
|
+
.header-link-home:hover,
|
|
324
|
+
.header-link-home:focus {
|
|
310
325
|
background-color: var(--color-primary);
|
|
311
326
|
color: var(--color-body);
|
|
312
327
|
text-decoration: none;
|
|
@@ -618,10 +633,13 @@ pre code {
|
|
|
618
633
|
|
|
619
634
|
/* The site menu, which the header carries on every page (TASK-105). At the
|
|
620
635
|
root the header is the site title with the tagline under it, and the menu
|
|
621
|
-
is a line of its own under that.
|
|
636
|
+
is a line of its own under that.
|
|
637
|
+
|
|
638
|
+
No size of its own (TASK-111): a menu is navigation somebody is meant to
|
|
639
|
+
use rather than a footnote, so it reads at the page's size, like the footer
|
|
640
|
+
menu, which never had one. */
|
|
622
641
|
.global-header .site-nav {
|
|
623
642
|
margin-top: var(--spacing-2);
|
|
624
|
-
font-size: var(--fontSize-0);
|
|
625
643
|
}
|
|
626
644
|
|
|
627
645
|
/* Everywhere else the header is the small link home, and the menu sits beside
|
|
@@ -690,12 +708,12 @@ pre code {
|
|
|
690
708
|
font-style: italic;
|
|
691
709
|
}
|
|
692
710
|
|
|
693
|
-
/* The links the person calls their own, under the credit: a horizontal list
|
|
694
|
-
|
|
695
|
-
the header now (TASK-105) and
|
|
711
|
+
/* The links the person calls their own, under the credit: a horizontal list in
|
|
712
|
+
the heading font, at the page's size like every other nav (TASK-111). The
|
|
713
|
+
site menu used to share this rule; it is in the header now (TASK-105) and
|
|
714
|
+
the bio carries nobody but the person. */
|
|
696
715
|
.bio-links {
|
|
697
716
|
margin-top: var(--spacing-2);
|
|
698
|
-
font-size: var(--fontSize-0);
|
|
699
717
|
}
|
|
700
718
|
|
|
701
719
|
.bio-avatar {
|