@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.
@@ -299,14 +299,29 @@ a:focus-visible {
299
299
  color: var(--color-primary);
300
300
  }
301
301
 
302
- header a,
303
- header a:visited {
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
- header a:hover,
309
- header a:focus {
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
- small, in the heading font. The site menu used to share this rule; it is in
695
- the header now (TASK-105) and the bio carries nobody but the person. */
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 {