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
9 changes: 4 additions & 5 deletions docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ export default defineUserConfig({
{ text: 'Specification', link: '/schema/specification' },
{ text: 'Versions', link: '/schema/versions' },
{ text: 'Changelog', link: '/schema/changelog' },
{ text: 'JSON Schema 0.7.6 (stable) ↗', link: 'https://open-data-protocol.github.io/fluid/schema/fluid-schema-0.7.6.json', target: '_blank' },
{ text: 'Reference 0.7.6 (HTML) ↗', link: 'https://open-data-protocol.github.io/fluid/specs/0.7.6/fluid-spec.html', target: '_blank' },
{ text: 'JSON Schema 0.7.6 (stable)', link: 'https://open-data-protocol.github.io/fluid/schema/fluid-schema-0.7.6.json', target: '_blank' },
{ text: 'Reference 0.7.6 (HTML)', link: 'https://open-data-protocol.github.io/fluid/specs/0.7.6/fluid-spec.html', target: '_blank' },
{ text: 'Preview: 0.7.7', link: '/releases/0.7.7' },
],
},
Expand All @@ -100,12 +100,11 @@ export default defineUserConfig({
text: 'Project',
children: [
{ text: 'Contributing', link: '/contributing/' },
{ text: 'Governance ↗', link: 'https://github.com/open-data-protocol/fluid/blob/main/GOVERNANCE.md', target: '_blank' },
{ text: 'Conformance Corpus ↗', link: 'https://github.com/open-data-protocol/fluid/blob/main/tests/README.md', target: '_blank' },
{ text: 'Governance', link: 'https://github.com/open-data-protocol/fluid/blob/main/GOVERNANCE.md', target: '_blank' },
{ text: 'Conformance Corpus', link: 'https://github.com/open-data-protocol/fluid/blob/main/tests/README.md', target: '_blank' },
{ text: 'Vision', link: '/vision/' },
],
},
{ text: 'GitHub', link: 'https://github.com/open-data-protocol/fluid' },
],

sidebar: {
Expand Down
21 changes: 17 additions & 4 deletions docs/.vuepress/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@ body {
// Homepage hero (.vp-hero) — eyebrow pill, animated gradient headline,
// pill CTAs, faint engineering-grid texture.
// ---------------------------------------------------------------------

// The grid texture below bleeds 8vw past the hero, more than the home
// page's side padding below about 1100px wide, so phones and tablets could
// scroll sideways. `clip` trims only that bleed and keeps vertical overflow.
.vp-home {
overflow-x: clip;
}

.vp-hero {
position: relative;
isolation: isolate;
Expand Down Expand Up @@ -240,6 +248,12 @@ body {
.vp-sidebar {
background: transparent;

// At the mobile breakpoint and below the sidebar is a drawer laid over
// the page, so it needs a solid surface or the page shows through the menu.
@media (max-width: palette.$MQMobile) {
background: var(--vp-c-bg);
}

.sidebar-item.active {
color: var(--vp-c-accent);
font-weight: 600;
Expand Down Expand Up @@ -308,14 +322,13 @@ div[class*="language-"] {
}

// ---------------------------------------------------------------------
// Tables — full width, alternating rows.
// Tables — alternating rows. Keep the theme's `display: block` and
// `overflow-x: auto`: a table wider than the column then scrolls inside
// itself instead of widening the whole page on phones and tablets.
// ---------------------------------------------------------------------
[vp-content] table {
display: table;
width: 100%;
border-collapse: collapse;
border-radius: 10px;
overflow: hidden;

th {
background: var(--vp-c-bg-alt);
Expand Down
10 changes: 10 additions & 0 deletions docs/.vuepress/styles/palette.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,16 @@ $ff-indigo: #818cf8;
$ff-amber: #f59e0b; // "warning" callout semantics only
$ff-red: #ef4444; // "danger" callout semantics only

// ---------------------------------------------------------------------
// Mobile breakpoint. The default theme reads it from this file; its own
// default is 719px. The navbar's links, search box and color-mode toggle
// need about 1120px. Narrower than that, the links pushed the search box
// and the toggle off screen on landscape phones and tablets, so at 1149px
// and below the links move into the menu drawer instead. Re-measure this
// when you add a top-level navbar item.
// ---------------------------------------------------------------------
$MQMobile: 1149px;

// =====================================================================
// DARK (default) — on :root so the first paint is dark.
// =====================================================================
Expand Down
Loading