diff --git a/src/layouts/Page.astro b/src/layouts/Page.astro index c32cbd8..7ea677b 100644 --- a/src/layouts/Page.astro +++ b/src/layouts/Page.astro @@ -67,30 +67,23 @@ const updated = new Date().toISOString().slice(0, 10);
abap2UI5 - -
- + {row.length > 0 && ( + + )}
diff --git a/src/styles/global.css b/src/styles/global.css index 55a18cf..a552c99 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -102,8 +102,6 @@ code { font-family: var(--mono); font-size: .9em; } .subnav { border-top: 1px solid var(--line); background: var(--bg); } .subnav .wrap { display: flex; flex-wrap: nowrap; gap: 2px; height: 42px; align-items: center; overflow-x: auto; scrollbar-width: none; } .subnav .wrap::-webkit-scrollbar { display: none; } -.subnav a[aria-current="page"] { color: var(--ink); font-weight: 600; } -.subnav .sep { flex: none; width: 1px; height: 18px; margin: 0 6px; background: var(--line); } .subnav a { flex: none; padding: 6px 10px; border-radius: 8px; color: var(--muted); font-size: 13.5px; font-weight: 500; text-decoration: none; white-space: nowrap; } .subnav a:hover { color: var(--ink); background: var(--bg-alt); } .icon-btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--muted); } @@ -114,8 +112,6 @@ code { font-family: var(--mono); font-size: .9em; } .top .btn { padding: 0 14px; line-height: 36px; font-size: 14px; } @media (max-width: 1060px) { .nav { order: 4; flex: 1 0 100%; margin: 0 -24px; padding: 0 20px 8px; overflow-x: auto; scrollbar-width: none; } - /* the family's line wraps rather than scrolls: five names a thumb should see at once */ - .nav.sites { flex-wrap: wrap; overflow: visible; row-gap: 0; } .nav::-webkit-scrollbar { display: none; } .nav a { flex: none; } html { scroll-padding-top: 150px; }