Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CONVENTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ page says **Home**; its two sister sites say **Home / Samples** and
(**Home / Samples / Learn / Basics**, **Home / Addons & Tools / sapgui**).
The ancestors are muted links, the separator `/` is in the line colour, and
only the last entry - the current page, not a link - is marked: the ink
colour, weight 600 and a 2px underline in the accent. The home page reaches
colour, weight 600 and a 2px underline in the accent. The underline takes
no height (`margin-bottom: -3px` against its 2px line and 1px gap): the
marked word stays level with the rest of the trail. The home page reaches
the sister sites by a tile that opens in the same tab (→), not by a tab.

```html
Expand Down
2 changes: 1 addition & 1 deletion src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ img { max-width: 100%; height: auto; }
.sites .sep { color: var(--line); }
.sites .brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; letter-spacing: -.01em; margin-right: 8px; }
.sites .brand img { width: 22px; height: 22px; }
.sites [aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--brand); padding-bottom: 1px; }
.sites [aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--brand); padding-bottom: 1px; margin-bottom: -3px; /* the line takes no height: the word stays level with the trail */ }

/* ---- the greeting -------------------------------------------------------- */
/* the text stands at the top of the row, where Samples, Addons and Insights
Expand Down
Loading