jekyll-theme-modootoday 1.4.1 → 1.5.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +134 -1
- data/README.ko.md +38 -11
- data/README.md +38 -11
- data/RULES.md +27 -12
- data/_includes/footer-custom.html +4 -5
- data/_includes/modootoday/assets/imports.html +14 -0
- data/_includes/modootoday/assets/preload.html +11 -0
- data/_includes/modootoday/assets/registry.html +89 -0
- data/_includes/modootoday/assets/scripts.html +36 -0
- data/_includes/modootoday/assets/sheets.html +25 -0
- data/_includes/modootoday/assets/site-scripts.html +20 -0
- data/_includes/modootoday/assets/site-sheets.html +10 -0
- data/_includes/modootoday/assets/url.html +5 -0
- data/_includes/modootoday/blog/home-list.html +26 -0
- data/_includes/modootoday/blog/home-posts.html +6 -0
- data/_includes/modootoday/breadcrumb.html +9 -10
- data/_includes/modootoday/chrome/footer.html +16 -0
- data/_includes/modootoday/chrome/nav-sheet.html +13 -0
- data/_includes/modootoday/config.html +17 -15
- data/_includes/modootoday/detail/page.html +28 -0
- data/_includes/modootoday/directory/item.html +4 -2
- data/_includes/modootoday/directory/items.html +7 -2
- data/_includes/modootoday/directory/jsonld.html +2 -2
- data/_includes/modootoday/directory/list.html +4 -2
- data/_includes/modootoday/directory/self.html +8 -0
- data/_includes/modootoday/doc/pagination.html +1 -1
- data/_includes/modootoday/doc/sidebar.html +1 -1
- data/_includes/modootoday/doc/twin.html +5 -4
- data/_includes/modootoday/docs-extra/jsonld.html +7 -7
- data/_includes/modootoday/docs-extra/packages.html +3 -3
- data/_includes/modootoday/filter/controls.html +4 -0
- data/_includes/modootoday/head-meta.html +7 -7
- data/_includes/modootoday/home-url.html +1 -1
- data/_includes/modootoday/i18n/ar.html +1 -1
- data/_includes/modootoday/i18n/de.html +1 -1
- data/_includes/modootoday/i18n/el.html +1 -1
- data/_includes/modootoday/i18n/es.html +1 -1
- data/_includes/modootoday/i18n/fa.html +1 -1
- data/_includes/modootoday/i18n/fr.html +1 -1
- data/_includes/modootoday/i18n/id.html +1 -1
- data/_includes/modootoday/i18n/it.html +1 -1
- data/_includes/modootoday/i18n/ja.html +1 -1
- data/_includes/modootoday/i18n/ko.html +1 -1
- data/_includes/modootoday/i18n/ml.html +1 -1
- data/_includes/modootoday/i18n/pl.html +1 -1
- data/_includes/modootoday/i18n/pt-BR.html +1 -1
- data/_includes/modootoday/i18n/ro.html +1 -1
- data/_includes/modootoday/i18n/ru.html +1 -1
- data/_includes/modootoday/i18n/th.html +1 -1
- data/_includes/modootoday/i18n/tr.html +1 -1
- data/_includes/modootoday/i18n/uk.html +1 -1
- data/_includes/modootoday/i18n/ur-Latn.html +1 -1
- data/_includes/modootoday/i18n/vi.html +1 -1
- data/_includes/modootoday/i18n/zh-CN.html +1 -1
- data/_includes/modootoday/i18n/zh-TW.html +1 -1
- data/_includes/modootoday/i18n.html +126 -123
- data/_includes/modootoday/jsonld/author.html +6 -7
- data/_includes/modootoday/jsonld/breadcrumb.html +4 -4
- data/_includes/modootoday/jsonld/graph.html +1 -1
- data/_includes/modootoday/jsonld/profile.html +3 -2
- data/_includes/modootoday/jsonld/props.html +2 -2
- data/_includes/modootoday/jsonld/schema/defined-term.html +8 -0
- data/_includes/modootoday/jsonld/schema/faq.html +19 -0
- data/_includes/modootoday/jsonld/schema/learning.html +11 -0
- data/_includes/modootoday/jsonld/type.html +10 -3
- data/_includes/modootoday/jsonld/webpage.html +1 -0
- data/_includes/modootoday/lang-switch.html +1 -1
- data/_includes/modootoday/links/content.html +4 -2
- data/_includes/modootoday/lookup/crumbs.html +13 -0
- data/_includes/modootoday/lookup/page.html +9 -0
- data/_includes/modootoday/lookup/urls.html +3 -0
- data/_includes/modootoday/markdown/c/faq.html +1 -1
- data/_includes/modootoday/markdown/c/params.html +3 -2
- data/_includes/modootoday/markdown/code.html +19 -0
- data/_includes/modootoday/markdown/components.html +8 -9
- data/_includes/modootoday/markdown/llms-pages.html +2 -2
- data/_includes/modootoday/markdown/sections.html +10 -4
- data/_includes/modootoday/markdown/split.html +3 -2
- data/_includes/modootoday/markdown/visual.html +6 -0
- data/_includes/modootoday/meta/byline.html +7 -8
- data/_includes/modootoday/meta/share.html +1 -1
- data/_includes/modootoday/nav.html +6 -6
- data/_includes/modootoday/news/notes.html +1 -1
- data/_includes/modootoday/pages/error.html +4 -2
- data/_includes/modootoday/pages/hero/poster.html +10 -0
- data/_includes/modootoday/pages/search-form.html +6 -4
- data/_includes/modootoday/pages/title.html +6 -0
- data/_includes/modootoday/profile/name.html +8 -0
- data/_includes/modootoday/records/body.html +3 -0
- data/_includes/modootoday/records/card.html +5 -0
- data/_includes/modootoday/records/facts.html +14 -0
- data/_includes/modootoday/records/lookup.html +8 -0
- data/_includes/modootoday/ref-url.html +7 -1
- data/_includes/modootoday/render/math.html +2 -2
- data/_includes/modootoday/render/mermaid.html +2 -2
- data/_includes/modootoday/search/record.html +13 -0
- data/_includes/modootoday/search.json +14 -7
- data/_includes/modootoday/site/author.html +18 -0
- data/_includes/modootoday/site/nav-auto.html +22 -0
- data/_includes/modootoday/site/nav.html +17 -0
- data/_includes/modootoday/stylesheets.html +25 -21
- data/_includes/modootoday/t.html +1 -1
- data/_includes/modootoday/theme-color.html +3 -3
- data/_includes/modootoday/version.html +2 -0
- data/_layouts/blog.html +2 -0
- data/_layouts/default.html +7 -32
- data/_layouts/detail.html +2 -26
- data/_layouts/directory.html +9 -3
- data/_layouts/doc.html +5 -4
- data/_layouts/download.html +2 -2
- data/_layouts/events.html +1 -0
- data/_layouts/feed.html +3 -3
- data/_layouts/home.html +4 -1
- data/_layouts/integrations.html +1 -0
- data/_layouts/jobs.html +1 -0
- data/_layouts/llms.html +8 -5
- data/_layouts/page.html +5 -0
- data/_layouts/portfolio.html +1 -0
- data/_layouts/reference.html +4 -2
- data/_layouts/resume.html +3 -2
- data/_layouts/search.html +2 -2
- data/_layouts/sponsors.html +1 -0
- data/_layouts/team.html +1 -0
- data/_sass/modootoday/_access.scss +6 -6
- data/_sass/modootoday/_core.scss +9 -4
- data/_sass/modootoday/_settings.scss +3 -0
- data/_sass/modootoday/_sheet.scss +4 -0
- data/_sass/modootoday/_site.scss +3 -0
- data/_sass/modootoday/base/_code.scss +21 -12
- data/_sass/modootoday/base/_prose.scss +18 -12
- data/_sass/modootoday/base/_table.scss +3 -6
- data/_sass/modootoday/blog/_article.scss +8 -3
- data/_sass/modootoday/blog/_cards.scss +13 -12
- data/_sass/modootoday/blog/_index.scss +2 -0
- data/_sass/modootoday/blog/_news.scss +1 -1
- data/_sass/modootoday/blog/_post.scss +1 -1
- data/_sass/modootoday/components/core/chrome/_breadcrumb.scss +7 -3
- data/_sass/modootoday/components/core/chrome/_header.scss +26 -0
- data/_sass/modootoday/components/core/chrome/_nav.scss +15 -20
- data/_sass/modootoday/components/core/chrome/_pagination.scss +12 -4
- data/_sass/modootoday/components/core/chrome/_theme-toggle.scss +2 -2
- data/_sass/modootoday/components/core/inline/_badge.scss +10 -6
- data/_sass/modootoday/components/core/inline/_callout.scss +5 -5
- data/_sass/modootoday/components/core/inline/_code-copy.scss +34 -8
- data/_sass/modootoday/components/core/inline/_code.scss +7 -5
- data/_sass/modootoday/components/core/inline/_cta.scss +6 -6
- data/_sass/modootoday/components/core/inline/_embed.scss +1 -1
- data/_sass/modootoday/components/core/inline/_figure.scss +5 -4
- data/_sass/modootoday/components/core/inline/_hero.scss +9 -5
- data/_sass/modootoday/components/core/inline/_kbd.scss +1 -1
- data/_sass/modootoday/components/core/inline/_reveal.scss +3 -1
- data/_sass/modootoday/components/doc/_sidebar.scss +29 -12
- data/_sass/modootoday/components/doc/_toc.scss +5 -4
- data/_sass/modootoday/components/figure/_figure-svg.scss +1 -1
- data/_sass/modootoday/components/filter/_filter.scss +14 -0
- data/_sass/modootoday/components/footer/_footer.scss +13 -0
- data/_sass/modootoday/components/search/_search.scss +23 -14
- data/_sass/modootoday/components/section/showcase/_card.scss +20 -11
- data/_sass/modootoday/components/section/showcase/_cta.scss +5 -3
- data/_sass/modootoday/components/section/showcase/_linkcards.scss +11 -7
- data/_sass/modootoday/components/section/showcase/_pricing.scss +19 -9
- data/_sass/modootoday/components/section/showcase/_quote.scss +4 -3
- data/_sass/modootoday/components/section/structure/_accordion.scss +7 -1
- data/_sass/modootoday/components/section/structure/_params.scss +1 -2
- data/_sass/modootoday/components/section/structure/_steps.scss +1 -1
- data/_sass/modootoday/components/section/structure/_tabs.scss +14 -6
- data/_sass/modootoday/components/section/structure/_timeline.scss +7 -1
- data/_sass/modootoday/components/table/_table.scss +65 -0
- data/_sass/modootoday/components/table-stack/_table-stack.scss +22 -0
- data/_sass/modootoday/components/visual/_visual.scss +9 -0
- data/_sass/modootoday/detail/_index.scss +3 -0
- data/_sass/modootoday/detail/_page.scss +2 -0
- data/_sass/modootoday/directory/_grid.scss +7 -0
- data/_sass/modootoday/directory/_index.scss +3 -0
- data/_sass/modootoday/docs-extra/_index.scss +3 -0
- data/_sass/modootoday/docs-extra/_page.scss +15 -10
- data/_sass/modootoday/hero/_index.scss +2 -0
- data/_sass/modootoday/hero/_layout.scss +10 -7
- data/_sass/modootoday/kit/_button.scss +5 -5
- data/_sass/modootoday/kit/_measure.scss +5 -0
- data/_sass/modootoday/layout/_shell.scss +7 -21
- data/_sass/modootoday/marketing/_index.scss +3 -0
- data/_sass/modootoday/marketing/_page.scss +11 -7
- data/_sass/modootoday/marketing/_pricing.scss +6 -5
- data/_sass/modootoday/pages/_actions.scss +5 -4
- data/_sass/modootoday/pages/_error.scss +7 -3
- data/_sass/modootoday/pages/_index.scss +3 -0
- data/_sass/modootoday/pages/_legal.scss +3 -3
- data/_sass/modootoday/pages/_search.scss +3 -1
- data/_sass/modootoday/registry/_hooks.scss +13 -0
- data/_sass/modootoday/resume/_index.scss +3 -0
- data/_sass/modootoday/resume/_page.scss +1 -1
- data/_sass/modootoday/tokens/_code-presets.scss +17 -0
- data/_sass/modootoday/tokens/_fonts.scss +17 -0
- data/_sass/modootoday/tokens/_merge.scss +4 -0
- data/_sass/modootoday/tokens/_primitive.scss +4 -2
- data/_sass/modootoday/tokens/_scale.scss +9 -0
- data/_sass/modootoday/tokens/_semantic.scss +18 -11
- data/_sass/modootoday/tools/_functions.scss +9 -0
- data/_sass/modootoday.scss +6 -2
- data/assets/css/modootoday/chrome/banner.scss +8 -0
- data/assets/css/modootoday/chrome/doc-nav.scss +8 -0
- data/assets/css/modootoday/chrome/footer.scss +8 -0
- data/assets/css/modootoday/{search.scss → chrome/search.scss} +1 -2
- data/assets/css/modootoday/{terminal.scss → chrome/terminal.scss} +1 -2
- data/assets/css/modootoday/content/code.scss +8 -0
- data/assets/css/modootoday/content/extras.scss +8 -0
- data/assets/css/modootoday/content/inline.scss +8 -0
- data/assets/css/modootoday/{lists.scss → content/lists.scss} +1 -2
- data/assets/css/modootoday/{loading.scss → content/loading.scss} +1 -2
- data/assets/css/modootoday/data/filter.scss +7 -0
- data/assets/css/modootoday/data/table-stack.scss +7 -0
- data/assets/css/modootoday/data/table.scss +7 -0
- data/assets/css/modootoday/docs/doc.scss +7 -0
- data/assets/css/modootoday/marketing/hero.scss +8 -0
- data/assets/css/modootoday/media/figure.scss +8 -0
- data/assets/css/modootoday/media/visual.scss +7 -0
- data/assets/css/modootoday/{bleed.scss → structure/bleed.scss} +1 -2
- data/assets/css/modootoday.scss +3 -2
- data/assets/js/modootoday/blog/share.js +34 -0
- data/assets/js/modootoday/chrome/menu.js +51 -0
- data/assets/js/modootoday/chrome/search-keys.js +56 -0
- data/assets/js/modootoday/chrome/search.js +112 -0
- data/assets/js/modootoday/chrome/theme-toggle.js +36 -0
- data/assets/js/modootoday/content/code-copy.js +59 -0
- data/assets/js/modootoday/content/scroll-region.js +27 -0
- data/assets/js/modootoday/data/filter-chips.js +30 -0
- data/assets/js/modootoday/data/filter.js +62 -0
- data/assets/js/modootoday/data/table-stack.js +60 -0
- data/assets/js/modootoday/dom/config.js +32 -0
- data/assets/js/modootoday/structure/accordion.js +25 -0
- data/assets/js/modootoday/structure/tabs.js +51 -0
- data/assets/js/modootoday/text/normalize.js +28 -0
- data/assets/js/modootoday/theme/current.js +38 -0
- data/exe/modootoday-stubs +7 -0
- data/i18n/ar.yml +2 -1
- data/i18n/de.yml +2 -1
- data/i18n/el.yml +2 -1
- data/i18n/en.yml +2 -1
- data/i18n/es.yml +2 -1
- data/i18n/fa.yml +2 -1
- data/i18n/fr.yml +2 -1
- data/i18n/id.yml +2 -1
- data/i18n/it.yml +2 -1
- data/i18n/ja.yml +3 -2
- data/i18n/ko.yml +3 -2
- data/i18n/languages.yml +2 -1
- data/i18n/ml.yml +2 -1
- data/i18n/pl.yml +2 -1
- data/i18n/pt-BR.yml +2 -1
- data/i18n/ro.yml +2 -1
- data/i18n/ru.yml +2 -1
- data/i18n/th.yml +2 -1
- data/i18n/tr.yml +2 -1
- data/i18n/uk.yml +2 -1
- data/i18n/ur-Latn.yml +2 -1
- data/i18n/vi.yml +2 -1
- data/i18n/zh-CN.yml +3 -2
- data/i18n/zh-TW.yml +3 -2
- data/lib/jekyll-theme-modootoday.rb +14 -6
- data/lib/modootoday/check/build/aliases.rb +79 -0
- data/lib/modootoday/check/{build_output.rb → build/build_output.rb} +13 -3
- data/lib/modootoday/check/build/byte_exact.rb +55 -0
- data/lib/modootoday/check/build/records.rb +39 -0
- data/lib/modootoday/check/build/site_assets.rb +59 -0
- data/lib/modootoday/check/{structured_data.rb → build/structured_data.rb} +10 -1
- data/lib/modootoday/check/build/term_sets.rb +46 -0
- data/lib/modootoday/check/build/third_party.rb +33 -0
- data/lib/modootoday/check/{twins.rb → build/twins.rb} +31 -14
- data/lib/modootoday/check/cli.rb +7 -5
- data/lib/modootoday/check/config/keys/appearance/chrome.rb +13 -0
- data/lib/modootoday/check/config/keys/appearance/color_scheme.rb +10 -0
- data/lib/modootoday/check/config/keys/appearance/components.rb +13 -0
- data/lib/modootoday/check/config/keys/appearance/switches.rb +15 -0
- data/lib/modootoday/check/config/keys/appearance/tokens.rb +31 -0
- data/lib/modootoday/check/config/keys/pages/content.rb +25 -0
- data/lib/modootoday/check/config/keys/pages/edit_url.rb +10 -0
- data/lib/modootoday/check/config/keys/pages/languages.rb +17 -0
- data/lib/modootoday/check/config/keys/pages/search.rb +47 -0
- data/lib/modootoday/check/config/keys/pages/twins.rb +30 -0
- data/lib/modootoday/check/config/keys/serving/csp.rb +9 -0
- data/lib/modootoday/check/config/keys/serving/delivery.rb +59 -0
- data/lib/modootoday/check/config/keys.rb +18 -0
- data/lib/modootoday/check/{renderers.rb → config/renderers.rb} +2 -51
- data/lib/modootoday/check/config/schema.rb +23 -0
- data/lib/modootoday/check/config/site_config.rb +25 -0
- data/lib/modootoday/check/config/source_mode.rb +18 -0
- data/lib/modootoday/check/config/validate.rb +47 -0
- data/lib/modootoday/check/context.rb +11 -5
- data/lib/modootoday/check/layouts/directory.rb +10 -2
- data/lib/modootoday/check/layouts/docs_extra.rb +3 -3
- data/lib/modootoday/check/layouts/profile.rb +21 -0
- data/lib/modootoday/check/layouts/shells.rb +2 -0
- data/lib/modootoday/check/layouts.rb +5 -1
- data/lib/modootoday/check/native/collections.rb +47 -0
- data/lib/modootoday/check/native/layouts.rb +43 -0
- data/lib/modootoday/check/native/sources.rb +27 -0
- data/lib/modootoday/check/{a11y → page/a11y}/new_window.rb +2 -3
- data/lib/modootoday/check/{component_rules.rb → page/component_rules.rb} +1 -1
- data/lib/modootoday/check/page/filter.rb +63 -0
- data/lib/modootoday/check/page/hero_script.rb +39 -0
- data/lib/modootoday/check/page/math_notation.rb +36 -0
- data/lib/modootoday/check/{page_sections.rb → page/page_sections.rb} +5 -3
- data/lib/modootoday/check/{page_syntax.rb → page/page_syntax.rb} +4 -1
- data/lib/modootoday/check/{pages.rb → page/pages.rb} +11 -0
- data/lib/modootoday/check/{i18n.rb → registry/i18n.rb} +8 -30
- data/lib/modootoday/check/registry/i18n_pages.rb +80 -0
- data/lib/modootoday/check/{registry.rb → registry/registry.rb} +1 -1
- data/lib/modootoday/check/source/site_hook.rb +65 -0
- data/lib/modootoday/check.rb +29 -15
- data/lib/modootoday/i18n/page_lang.rb +56 -0
- data/lib/modootoday/i18n/source_rev.rb +26 -0
- data/lib/modootoday/i18n.rb +6 -0
- data/lib/modootoday/markdown.rb +46 -0
- data/lib/modootoday/schema/compat/minima.yml +8 -0
- data/lib/modootoday/schema/compat/minimal-mistakes.yml +16 -0
- data/lib/modootoday/schema/rules.rb +1 -0
- data/lib/modootoday/stubs/aliases.rb +61 -0
- data/lib/modootoday/stubs/cli.rb +77 -0
- data/lib/modootoday/stubs/page.rb +19 -0
- data/lib/modootoday/stubs/plan.rb +43 -0
- data/lib/modootoday/stubs/records.rb +101 -0
- data/lib/modootoday/stubs/report.rb +31 -0
- data/lib/modootoday/stubs/source.rb +87 -0
- data/lib/modootoday/stubs/twins.rb +40 -0
- data/lib/modootoday/stubs/writer.rb +19 -0
- data/lib/modootoday/stubs.rb +24 -0
- metadata +157 -43
- data/assets/css/modootoday/doc.scss +0 -10
- data/assets/css/modootoday/figure.scss +0 -8
- data/assets/js/modootoday/accordion.js +0 -13
- data/assets/js/modootoday/code-copy.js +0 -29
- data/assets/js/modootoday/menu.js +0 -19
- data/assets/js/modootoday/scroll-region.js +0 -14
- data/assets/js/modootoday/search-keys.js +0 -18
- data/assets/js/modootoday/search.js +0 -31
- data/assets/js/modootoday/share.js +0 -16
- data/assets/js/modootoday/tabs.js +0 -26
- data/assets/js/modootoday/theme-toggle.js +0 -17
- data/lib/modootoday/check/markdown.rb +0 -39
- data/lib/modootoday/check/site_config.rb +0 -88
- /data/assets/js/modootoday/{theme-init.js → chrome/theme-init.js} +0 -0
- /data/lib/modootoday/check/{built_parts.rb → build/built_parts.rb} +0 -0
- /data/lib/modootoday/check/{blog.rb → layouts/blog.rb} +0 -0
- /data/lib/modootoday/check/{a11y → page/a11y}/content.rb +0 -0
- /data/lib/modootoday/check/{a11y → page/a11y}/illustration.rb +0 -0
- /data/lib/modootoday/check/{page_values.rb → page/page_values.rb} +0 -0
- /data/lib/modootoday/check/{slots.rb → page/slots.rb} +0 -0
- /data/lib/modootoday/check/{gh_render.rb → source/gh_render.rb} +0 -0
- /data/lib/modootoday/check/{github_pages.rb → source/github_pages.rb} +0 -0
- /data/lib/modootoday/check/{stylesheets.rb → source/stylesheets.rb} +0 -0
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
// "On this page": a sticky right column from 64rem (aside > nav.mt-toc), a collapsed <details> below it.
|
|
2
2
|
@include mt-layer(components) {
|
|
3
|
-
.mt-toc { --mt-toc-indent: .85rem; font-size:
|
|
4
|
-
.mt-toc-title { margin: 0 0 .
|
|
3
|
+
.mt-toc { --mt-toc-indent: .85rem; font-size: mt-size(sm); line-height: mt-leading(sm); }
|
|
4
|
+
.mt-toc-title { margin: 0 0 .5rem; font-weight: 500; color: mt(foreground); }
|
|
5
5
|
.mt-toc ol, .mt-toc-mobile ol { list-style: none; margin: 0; padding: 0; }
|
|
6
6
|
.mt-toc ol { border-inline-start: 1px solid mt(border); }
|
|
7
7
|
.mt-toc li, .mt-toc-mobile li { margin: 0; }
|
|
8
8
|
.mt-toc .mt-toc-h3, .mt-toc-mobile .mt-toc-h3 { padding-inline-start: var(--mt-toc-indent); }
|
|
9
|
-
.mt-toc a, .mt-toc-mobile a { display: block;
|
|
9
|
+
.mt-toc a, .mt-toc-mobile a { display: block; padding: .25rem 0 .25rem .85rem; line-height: mt-leading(sm); color: mt(muted-foreground); text-decoration: none; }
|
|
10
10
|
.mt-toc a { margin-inline-start: -1px; border-inline-start: 1px solid transparent; }
|
|
11
11
|
.mt-toc a:hover, .mt-toc-mobile a:hover { color: mt(foreground); border-inline-start-color: mt(muted-foreground); }
|
|
12
|
+
// The column scrolls (overflow-y: auto), which would clip an outer ring.
|
|
13
|
+
.mt-toc a:focus-visible { outline-offset: -2px; }
|
|
12
14
|
.mt-toc-mobile { margin: 0 0 1.5rem; border: 1px solid mt(border); border-radius: mt(radius); background: mt(muted); font-size: .875rem; }
|
|
13
15
|
.mt-toc-mobile > summary { cursor: pointer; padding: .55rem .85rem; font-weight: 600; }
|
|
14
16
|
.mt-toc-mobile > ol { padding: 0 .5rem .6rem 0; max-height: 50vh; overflow-y: auto; }
|
|
15
17
|
// The sticky column lists h2 only, so long pages stay scannable; the collapsed mobile list keeps h3 too.
|
|
16
18
|
.mt-doc-aside .mt-toc .mt-toc-h3 { display: none; }
|
|
17
|
-
.mt-doc-aside .mt-toc a { padding-top: .3rem; padding-bottom: .3rem; }
|
|
18
19
|
@media (min-width: 64rem) { .mt-toc-mobile { display: none; } }
|
|
19
20
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// Narrow screens: the image keeps --mt-figure-min-width and div.mt-figure-scroll (focusable, labelled) scrolls sideways.
|
|
6
6
|
@include mt-layer(components) {
|
|
7
7
|
:where(:root) { --mt-img-filter-dark: brightness(.85) contrast(1.05) saturate(.9); --mt-diagram-filter-dark: invert(.9) hue-rotate(180deg) var(--mt-img-filter-dark); --mt-figure-min-width: 32rem; }
|
|
8
|
-
.mt-figure-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; border-radius: mt(radius
|
|
8
|
+
.mt-figure-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; border-radius: mt(radius); }
|
|
9
9
|
.mt-figure-svg img { width: 100%; max-width: none; min-width: var(--mt-figure-min-width); height: auto; }
|
|
10
10
|
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mt-figure-svg img:not(.mt-no-filter):not([src$="#light"]) { filter: var(--mt-diagram-filter-dark); } }
|
|
11
11
|
[data-theme="dark"] .mt-figure-svg img:not(.mt-no-filter):not([src$="#light"]) { filter: var(--mt-diagram-filter-dark); }
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// List and table filter (filter: on a section or page, filter_text: on a directory). filter.js reveals .mt-filter and sets
|
|
2
|
+
// hidden on the items it leaves out; the rule below keeps them hidden where a layout gives items their own display.
|
|
3
|
+
@include mt-layer(components) {
|
|
4
|
+
.mt-filter { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 1rem 0; }
|
|
5
|
+
.mt-filter > input { font: inherit; font-size: .9375rem; min-height: 2.75rem; padding: 0 .75rem; flex: 1 1 14rem; max-width: 24rem;
|
|
6
|
+
border: 1px solid mt(border); border-radius: mt(radius); background: mt(background); color: mt(foreground); }
|
|
7
|
+
.mt-filter > output { font-size: .875rem; color: mt(muted-foreground); }
|
|
8
|
+
.mt-filter-chips { display: flex; flex-wrap: wrap; gap: .5rem; flex-basis: 100%; }
|
|
9
|
+
.mt-filter-chips > button { font: inherit; font-size: .875rem; font-weight: 600; min-height: 2.75rem; padding: 0 1rem; cursor: pointer;
|
|
10
|
+
border: 1px solid mt(border); border-radius: 999px; background: mt(background); color: mt(foreground); }
|
|
11
|
+
.mt-filter-chips > [aria-pressed="true"] { background: mt(foreground); border-color: mt(foreground); color: mt(background); }
|
|
12
|
+
[data-mt-filter] li[hidden], [data-mt-filter] tr[hidden] { display: none; }
|
|
13
|
+
@media (forced-colors: active) { .mt-filter-chips > [aria-pressed="true"] { forced-color-adjust: none; background: Highlight; color: HighlightText; } }
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Footer columns (modootoday/chrome/footer.html): as many 10rem link columns as fit, a 14/20 title and muted links.
|
|
2
|
+
// The footer sheet, linked when _data/nav/footer has columns.
|
|
3
|
+
@include mt-layer(components) {
|
|
4
|
+
// A wrapping column flex sized the grid at its min-content height (every column stacked), about 260px of blank space.
|
|
5
|
+
.mt-footer-inner:has(> .mt-footer-cols) { flex-flow: column nowrap; justify-content: flex-start; gap: 2rem; }
|
|
6
|
+
.mt-footer-cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); }
|
|
7
|
+
.mt-footer .mt-footer-title { margin: 0 0 .75rem; color: mt(foreground); font-size: mt-size(sm); line-height: mt-leading(sm); font-weight: 500; }
|
|
8
|
+
.mt-footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: mt-size(sm); line-height: mt-leading(sm); }
|
|
9
|
+
.mt-footer-cols li { margin: 0; }
|
|
10
|
+
.mt-footer-cols a { color: mt(muted-foreground); text-decoration: none; }
|
|
11
|
+
.mt-footer-cols a:hover { color: mt(foreground); text-decoration: underline; }
|
|
12
|
+
.mt-footer-copy { font-size: mt-size(xs); line-height: mt-leading(xs); }
|
|
13
|
+
}
|
|
@@ -1,36 +1,45 @@
|
|
|
1
1
|
// Search box (header) and results list; needs a site /search.json (include modootoday/search.json).
|
|
2
|
+
// The box is always positioned, so the icon and the results stay anchored to the field at every width.
|
|
2
3
|
@include mt-layer(components) {
|
|
3
4
|
.mt-search { position: relative; margin-inline-start: auto; flex: none; }
|
|
4
|
-
// Reserve the box from the first paint when scripting is on (search.js only
|
|
5
|
+
// Reserve the box from the first paint when scripting is on (chrome/search-keys.js only shows it), so the header does not jump.
|
|
5
6
|
@media (scripting: enabled) { .mt-search[hidden] { display: block; } }
|
|
6
|
-
.mt-search > .mt-icon { position: absolute; inset-inline-start: .
|
|
7
|
-
.mt-search input { font: inherit; font-size: .875rem; height: 2.
|
|
8
|
-
background: mt(muted); color: mt(foreground); width:
|
|
7
|
+
.mt-search > .mt-icon { position: absolute; inset-inline-start: .75rem; top: 50%; translate: 0 -50%; color: mt(muted-foreground); pointer-events: none; }
|
|
8
|
+
.mt-search input { display: block; font: inherit; font-size: .875rem; height: 2.5rem; padding: 0 .75rem; padding-inline-start: 2.25rem; border: 1px solid mt(border); border-radius: mt(radius);
|
|
9
|
+
background: mt(muted); color: mt(foreground); width: 2.5rem; transition: border-color .15s, background-color .15s; }
|
|
9
10
|
.mt-search input::placeholder { color: mt(muted-foreground); }
|
|
10
11
|
.mt-search input:hover { border-color: mt(muted-foreground); }
|
|
11
12
|
.mt-search input:focus-visible { outline-offset: 1px; background: mt(background); }
|
|
12
|
-
.mt-search-results { position: absolute; inset-inline-end: 0; z-index: 30; list-style: none; margin: .4rem 0 0; padding: .35rem; width: 22rem; max-width: calc(100vw - 2rem);
|
|
13
|
+
.mt-search-results { position: absolute; inset-inline-end: 0; top: 100%; z-index: 30; list-style: none; margin: .4rem 0 0; padding: .35rem; width: 22rem; max-width: calc(100vw - 2rem);
|
|
13
14
|
background: mt(card); color: mt(card-foreground); border: 1px solid mt(border); border-radius: mt(radius-lg); box-shadow: mt(shadow); }
|
|
14
15
|
.mt-search-results:empty { display: none; }
|
|
15
16
|
.mt-search-results li + li { margin-top: 0; }
|
|
16
|
-
.mt-search-results a { display: block; padding: .4rem .6rem; border-radius: var(--mt-p-radius-sm); text-decoration: none; font-size: .9rem; }
|
|
17
|
-
.mt-search-results a { color: mt(foreground); }
|
|
17
|
+
.mt-search-results a { display: block; padding: .4rem .6rem; border-radius: var(--mt-p-radius-sm); text-decoration: none; font-size: .9rem; color: mt(foreground); }
|
|
18
18
|
.mt-search-title { display: block; font-weight: 600; }
|
|
19
|
+
// The accent fill was 1.1:1 on the popover; an underline carries the match, a light tint helps, and the word takes the
|
|
20
|
+
// text colour (muted snippet text is 4.3:1 on the tint).
|
|
21
|
+
.mt-search-results mark { background: color-mix(in srgb, #{mt(primary)} 14%, transparent); color: mt(foreground); font-weight: 600;
|
|
22
|
+
text-decoration: underline 1px; text-underline-offset: .2em; border-radius: 2px; }
|
|
19
23
|
.mt-search-snippet { display: block; margin-top: .1rem; font-size: .8rem; line-height: 1.45; color: mt(muted-foreground);
|
|
20
24
|
overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
25
|
+
// The ellipsis hides text but not an inline background, so a cut match would leave a tint chip past it.
|
|
26
|
+
.mt-search-snippet mark { background: none; }
|
|
21
27
|
.mt-search-results a:hover, .mt-search-results a:focus { background: mt(accent); color: mt(accent-foreground); }
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
.mt-search-
|
|
28
|
+
// Below 48rem a 2.5rem icon field; while it has focus it covers the header row, and the results hang from it.
|
|
29
|
+
@media (max-width: 47.99rem) {
|
|
30
|
+
.mt-search:not(:focus-within) ::placeholder { color: transparent; }
|
|
31
|
+
.mt-search:focus-within { position: absolute; z-index: 1; inset-inline: calc(var(--mt-gutter) + var(--mt-safe-left)); top: calc(var(--mt-safe-top) + (#{mt(header-height)} - 2.5rem) / 2); }
|
|
32
|
+
.mt-search:focus-within input { width: 100%; }
|
|
33
|
+
.mt-search-results { inset-inline: 0; width: auto; max-width: none; }
|
|
34
|
+
}
|
|
35
|
+
@media (min-width: 48rem) { .mt-search input { height: 2rem; width: 15rem; } }
|
|
27
36
|
}
|
|
28
37
|
@include mt-layer(components) {
|
|
29
|
-
//
|
|
38
|
+
// From 64rem the nav shares the row: let search shrink so it never overlaps the nav (WCAG 2.2 target-size).
|
|
30
39
|
@media (min-width: 64rem) { .mt-search { flex: 0 1 15rem; min-width: 5rem; } .mt-search input { width: 100%; } }
|
|
31
40
|
}
|
|
32
41
|
// Coarse pointers and forced colors (here, not in core _access, because this sheet loads after core).
|
|
33
42
|
@include mt-layer(components) {
|
|
34
|
-
@media (pointer: coarse) { .mt-search input { height: 2.75rem; font-size: 1rem; } }
|
|
43
|
+
@media (pointer: coarse) { .mt-search input { height: 2.75rem; min-width: 2.75rem; font-size: 1rem; } }
|
|
35
44
|
@media (forced-colors: active) { .mt-search input { border: 1px solid ButtonText; } }
|
|
36
45
|
}
|
|
@@ -1,20 +1,29 @@
|
|
|
1
1
|
// Cards: c: features section, list items "- **Title** — description" (the dash is dropped in Liquid).
|
|
2
|
+
// The grid fits as many 16rem columns as the section holds; cols-<n> sets the count by the section's own width.
|
|
2
3
|
@include mt-layer(components) {
|
|
3
|
-
.mt-c-features
|
|
4
|
-
|
|
4
|
+
.mt-c-features { container-type: inline-size; }
|
|
5
|
+
.mt-c-features > ul { --mt-card-padding: 1.5rem;
|
|
6
|
+
list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
|
|
5
7
|
.mt-c-features > ul > li { margin: 0; border: 1px solid mt(border); border-radius: mt(radius-lg); padding: var(--mt-card-padding);
|
|
6
|
-
background: mt(card); color: mt(muted-foreground);
|
|
7
|
-
transition: border-color .15s
|
|
8
|
+
background: mt(card); color: mt(muted-foreground); font-size: mt-size(sm); line-height: mt-leading(sm);
|
|
9
|
+
transition: border-color .15s; }
|
|
8
10
|
.mt-c-features > ul > li code { white-space: nowrap; }
|
|
9
|
-
.mt-c-features > ul > li:hover { border-color:
|
|
10
|
-
.mt-c-features > ul > li > strong:first-child { display: block; margin-bottom: .
|
|
11
|
+
.mt-c-features > ul > li:hover { border-color: mt(border-input); }
|
|
12
|
+
.mt-c-features > ul > li > strong:first-child { display: block; margin-bottom: .5rem; color: mt(card-foreground); font-size: mt-size(base);
|
|
13
|
+
line-height: 1.5rem; font-weight: 600; }
|
|
11
14
|
// badge: bottom: a status badge (.mt-badge) written as a direct child of the item sits at the card's bottom edge.
|
|
12
15
|
.mt-badge-bottom > ul > li:has(> .mt-badge) { position: relative; padding-block-end: calc(var(--mt-card-padding) + 2rem); }
|
|
13
16
|
.mt-badge-bottom > ul > li > .mt-badge { position: absolute; inset-block-end: var(--mt-card-padding); inset-inline-start: var(--mt-card-padding); }
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
// cols-<n> adds a track only once every track can be 16rem (n x 16rem + gaps), so no card is ever cramped; in two
|
|
18
|
+
// columns an odd last card of cols-3 spans the row instead of sitting alone.
|
|
19
|
+
.mt-c-features:is(.mt-cols-2, .mt-cols-3, .mt-cols-4) > ul { grid-template-columns: minmax(0, 1fr); }
|
|
20
|
+
@container (min-width: 33rem) {
|
|
21
|
+
.mt-c-features:is(.mt-cols-2, .mt-cols-3, .mt-cols-4) > ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
22
|
+
.mt-c-features.mt-cols-3 > ul > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
|
|
18
23
|
}
|
|
19
|
-
@
|
|
24
|
+
@container (min-width: 50rem) {
|
|
25
|
+
.mt-c-features.mt-cols-3 > ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
|
26
|
+
.mt-c-features.mt-cols-3 > ul > li:last-child:nth-child(odd) { grid-column: auto; }
|
|
27
|
+
}
|
|
28
|
+
@container (min-width: 67rem) { .mt-c-features.mt-cols-4 > ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
|
|
20
29
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
// c: cta sections:
|
|
1
|
+
// c: cta sections: the heading and its action buttons (.mt-actions lives in core), flat like every other section.
|
|
2
|
+
// Centred on landing pages; a doc page keeps them on the text column's start edge under its usual h2 rule.
|
|
2
3
|
@include mt-layer(components) {
|
|
3
|
-
.mt-cta { margin-top: mt(space-section);
|
|
4
|
-
background: radial-gradient(120% 140% at 50% 0%, color-mix(in srgb, #{mt(primary)} 10%, #{mt(background)}), #{mt(muted)}); }
|
|
4
|
+
.mt-cta { margin-top: mt(space-section); text-align: center; }
|
|
5
5
|
.mt-cta > h2 { margin: 0 0 .5rem; }
|
|
6
6
|
.mt-cta > .mt-actions { justify-content: center; margin-top: 1.25rem; }
|
|
7
|
+
.mt-doc .mt-cta { text-align: start; }
|
|
8
|
+
.mt-doc .mt-cta > .mt-actions { justify-content: flex-start; }
|
|
7
9
|
}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
// Link cards: c: linkcards, list items "[Title](url) — description"; the whole card is one link target
|
|
1
|
+
// Link cards: c: linkcards, list items "[Title](url) — description"; the whole card is one link target, so the focus
|
|
2
|
+
// ring goes round the card, not the title.
|
|
2
3
|
@include mt-layer(components) {
|
|
3
|
-
.mt-c-linkcards > ul { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(
|
|
4
|
-
.mt-c-linkcards > ul > li { position: relative; margin: 0; padding: 1.
|
|
5
|
-
background: mt(card); color: mt(muted-foreground); font-size:
|
|
6
|
-
.mt-c-linkcards > ul > li > a:first-child { display: block; margin-bottom: .
|
|
4
|
+
.mt-c-linkcards > ul { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
|
|
5
|
+
.mt-c-linkcards > ul > li { position: relative; margin: 0; padding: 1.5rem; border: 1px solid mt(border); border-radius: mt(radius-lg);
|
|
6
|
+
background: mt(card); color: mt(muted-foreground); font-size: mt-size(sm); line-height: mt-leading(sm); transition: border-color .15s; }
|
|
7
|
+
.mt-c-linkcards > ul > li > a:first-child { display: block; margin-bottom: .5rem; color: mt(card-foreground); font-size: mt-size(base);
|
|
8
|
+
line-height: 1.5rem; font-weight: 600; text-decoration: none; }
|
|
7
9
|
.mt-c-linkcards > ul > li > a:first-child::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
|
|
8
10
|
.mt-c-linkcards > ul > li > a:first-child::after { content: " →"; color: mt(primary); }
|
|
9
11
|
[dir="rtl"] .mt-c-linkcards > ul > li > a:first-child::after { content: " ←"; }
|
|
10
|
-
.mt-c-linkcards > ul > li:hover { border-color: mt(
|
|
11
|
-
|
|
12
|
+
.mt-c-linkcards > ul > li:hover { border-color: mt(border-input); }
|
|
13
|
+
// Without :has() both rules drop and the link keeps its own ring.
|
|
14
|
+
.mt-c-linkcards > ul > li:has(> a:first-child:focus-visible) { outline: 2px solid mt(ring); outline-offset: 2px; }
|
|
15
|
+
.mt-c-linkcards > ul > li:has(> a:first-child:focus-visible) > a:first-child { outline: none; }
|
|
12
16
|
}
|
|
@@ -1,12 +1,22 @@
|
|
|
1
|
-
// Pricing: c: pricing; each ### is a plan
|
|
1
|
+
// Pricing: c: pricing; each ### is a plan (price, feature list, link). recommended: <n> marks one plan in text.
|
|
2
|
+
// One bordered grid with hairline dividers (the 1px gap shows the border colour); a narrow grid stacks the plans.
|
|
2
3
|
@include mt-layer(components) {
|
|
3
|
-
.mt-plans { display: grid; gap:
|
|
4
|
-
|
|
5
|
-
.mt-
|
|
6
|
-
.mt-plan
|
|
7
|
-
.mt-plan h3
|
|
8
|
-
.mt-plan
|
|
4
|
+
.mt-plans { display: grid; gap: 1px; margin-top: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
|
|
5
|
+
align-items: stretch; background: mt(border); border: 1px solid mt(border); border-radius: mt(radius-lg); overflow: hidden; }
|
|
6
|
+
.mt-c-pricing, .mt-mk-pricing-box { container-type: inline-size; }
|
|
7
|
+
.mt-plan { position: relative; display: flex; flex-direction: column; padding: 1.5rem; background: mt(muted); }
|
|
8
|
+
.mt-plan h3 { margin: 0 0 .5rem; font-size: mt-size(base); line-height: 1.5rem; }
|
|
9
|
+
.mt-plan h3 + p { margin: 0 0 1rem; color: mt(muted-foreground); font-family: mt(font-mono); font-size: mt-size(sm); }
|
|
10
|
+
.mt-plan h3 + p strong { color: mt(card-foreground); font-family: mt(font-sans); font-size: mt-size(4xl); line-height: mt-leading(4xl);
|
|
11
|
+
font-weight: 600; letter-spacing: -.02em; }
|
|
12
|
+
.mt-plan ul { flex: 1; margin: 0 0 1.5rem; padding-inline-start: 1.1rem; color: mt(muted-foreground); font-size: mt-size(sm); line-height: mt-leading(sm); }
|
|
13
|
+
.mt-plan li { padding-block: .375rem; margin: 0; }
|
|
9
14
|
.mt-plan .mt-actions { margin-top: auto; }
|
|
10
|
-
.mt-plan-
|
|
11
|
-
.mt-plan-
|
|
15
|
+
.mt-plan .mt-actions > a { flex: 1; justify-content: center; }
|
|
16
|
+
.mt-plan-recommended { background: mt(card); }
|
|
17
|
+
.mt-plan-recommended > :is(h2, h3) { padding-inline-end: 7rem; }
|
|
18
|
+
.mt-plan-flag { position: absolute; inset-block-start: 1.5rem; inset-inline-end: 1.5rem; margin: 0; padding: .125rem .5rem; border-radius: 999px;
|
|
19
|
+
background: mt(accent); color: mt(foreground); font-size: mt-size(xs); line-height: mt-leading(xs); font-weight: 500; }
|
|
20
|
+
.mt-plans + p { margin-top: 1.5rem; }
|
|
21
|
+
@container (max-width: 44rem) { .mt-plans { grid-template-columns: minmax(0, 1fr); } }
|
|
12
22
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
// Quote: c: quote; a quote whose last paragraph starts with "— " becomes figure > blockquote + figcaption.
|
|
2
|
+
// Flat like a body quote (the same 2px start rule, no box or fill), set larger with the attribution below.
|
|
2
3
|
@include mt-layer(components) {
|
|
3
|
-
.mt-quote { margin:
|
|
4
|
-
.mt-quote blockquote { margin: 0; padding: 0; border: 0; color: mt(
|
|
4
|
+
.mt-quote { margin: 2rem 0; padding-inline-start: 1.5rem; border-inline-start: 2px solid mt(border); }
|
|
5
|
+
.mt-quote blockquote { margin: 0; padding: 0; border: 0; color: mt(foreground); font-size: mt-size(lg); line-height: mt-leading(lg); }
|
|
5
6
|
.mt-quote blockquote > :last-child { margin-bottom: 0; }
|
|
6
|
-
.mt-quote figcaption { margin-top: 1rem; color: mt(muted-foreground); font-size:
|
|
7
|
+
.mt-quote figcaption { margin-top: 1rem; color: mt(muted-foreground); font-size: mt-size(sm); line-height: mt-leading(sm); font-weight: 500; }
|
|
7
8
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Accordion: sections with `c: accordion`; each `###` becomes a disclosure (assets/js/modootoday/accordion.js).
|
|
1
|
+
// Accordion: sections with `c: accordion`; each `###` becomes a disclosure (assets/js/modootoday/structure/accordion.js).
|
|
2
2
|
@include mt-layer(components) {
|
|
3
3
|
.mt-c-accordion h3 { margin: 0; border-top: 1px solid mt(border); font-size: 1rem; }
|
|
4
4
|
.mt-c-accordion > h2 + h3 { margin-top: 1.25rem; }
|
|
@@ -13,3 +13,9 @@
|
|
|
13
13
|
.mt-accordion-panel[hidden] { display: none; }
|
|
14
14
|
.mt-c-accordion { border-bottom: 1px solid mt(border); }
|
|
15
15
|
}
|
|
16
|
+
// Touch target and forced colors last, so they win at equal specificity (the shell's part is _access.scss).
|
|
17
|
+
@include mt-layer(components) {
|
|
18
|
+
@media (pointer: coarse) {
|
|
19
|
+
.mt-accordion-trigger { min-height: 2.75rem; }
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
// Parameter table: c: params, a GFM table (name, type, default, description); `required` in a cell becomes a badge.
|
|
1
|
+
// Parameter table: c: params, a GFM table (name, type, default, description), stacked below 40rem; `required` in a cell becomes a badge.
|
|
2
2
|
@include mt-layer(components) {
|
|
3
|
-
.mt-c-params table { font-size: .9375rem; }
|
|
4
3
|
.mt-c-params td:first-child code { color: mt(primary); font-weight: 600; white-space: nowrap; }
|
|
5
4
|
.mt-c-params td:nth-child(2) { color: mt(muted-foreground); font-family: mt(font-mono); font-size: .8125rem; }
|
|
6
5
|
.mt-param-required { display: inline-block; padding: 0 .45rem; border: 1px solid color-mix(in srgb, #{mt(caution)} 50%, transparent); border-radius: 999px;
|
|
@@ -8,6 +8,6 @@
|
|
|
8
8
|
.mt-c-steps > h3 ~ :not(h3) { padding-inline-start: 2.75rem; }
|
|
9
9
|
.mt-c-steps > ol > li::before, .mt-c-steps > h3::before { content: counter(mt-step); position: absolute; inset-inline-start: 0; top: 0;
|
|
10
10
|
width: 1.75rem; height: 1.75rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
|
|
11
|
-
background: mt(muted); border: 1px solid mt(border); color: mt(foreground); font-size:
|
|
11
|
+
background: mt(muted); border: 1px solid mt(border); color: mt(foreground); font-size: mt-size(xs); font-weight: 600; }
|
|
12
12
|
.mt-c-steps > h3 { margin-top: 1.5rem; line-height: 1.75rem; }
|
|
13
13
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
// The tablist scrolls sideways only: no negative margins or outer focus rings that would overflow it vertically.
|
|
2
|
-
// Tabs (assets/js/modootoday/tabs.js): c: tabs, ### name + code block pairs → WAI-ARIA tabs.
|
|
2
|
+
// Tabs (assets/js/modootoday/structure/tabs.js): c: tabs, ### name + code block pairs → WAI-ARIA tabs. 40px tabs,
|
|
3
|
+
// 14/20 text, a 2px foreground bar under the selected one.
|
|
3
4
|
@include mt-layer(components) {
|
|
4
|
-
[role="tablist"] { display: flex; gap:
|
|
5
|
-
[role="tab"] { font: inherit; font-size:
|
|
6
|
-
border: 0; border-bottom: 2px solid transparent; padding: .
|
|
5
|
+
[role="tablist"] { display: flex; gap: 1rem; overflow: auto hidden; scrollbar-width: thin; box-shadow: inset 0 -1px mt(border); margin: 1.25rem 0 0; }
|
|
6
|
+
[role="tab"] { font: inherit; font-size: mt-size(sm); line-height: mt-leading(sm); font-weight: 500; white-space: nowrap; background: none; color: mt(muted-foreground);
|
|
7
|
+
border: 0; border-bottom: 2px solid transparent; padding: .625rem 0 .5rem; cursor: pointer; transition: color .15s; }
|
|
7
8
|
[role="tab"]:hover { color: mt(foreground); }
|
|
8
|
-
[role="tab"][aria-selected="true"] { color: mt(foreground); border-bottom-color: mt(
|
|
9
|
+
[role="tab"][aria-selected="true"] { color: mt(foreground); border-bottom-color: mt(foreground); }
|
|
9
10
|
[role="tabpanel"] { margin-top: .75rem; }
|
|
10
11
|
[role="tabpanel"] pre { margin-top: 0; }
|
|
11
12
|
}
|
|
@@ -14,8 +15,15 @@
|
|
|
14
15
|
@media (scripting: enabled) {
|
|
15
16
|
@include mt-layer(components) {
|
|
16
17
|
[data-tabs]:not(:has([role="tablist"])) {
|
|
17
|
-
> h3:has(+ div, + pre) { font-size:
|
|
18
|
+
> h3:has(+ div, + pre) { font-size: mt-size(sm); line-height: mt-leading(sm); font-weight: 500; letter-spacing: normal;
|
|
19
|
+
padding: .625rem 0 .5rem; margin: 1.25rem 0 0; border-bottom: 2px solid mt(foreground); }
|
|
18
20
|
> h3 ~ h3:has(+ div, + pre), > h3 ~ h3 + * { display: none; }
|
|
19
21
|
}
|
|
20
22
|
}
|
|
21
23
|
}
|
|
24
|
+
// Touch target and forced colors last, so they win at equal specificity (the shell's part is _access.scss).
|
|
25
|
+
@include mt-layer(components) {
|
|
26
|
+
@media (pointer: coarse) {
|
|
27
|
+
[role="tab"] { min-height: 2.75rem; }
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -2,9 +2,15 @@
|
|
|
2
2
|
@include mt-layer(components) {
|
|
3
3
|
.mt-c-timeline { --mt-timeline-line: #{mt(border)}; --mt-timeline-dot: #{mt(primary)}; }
|
|
4
4
|
.mt-c-timeline > h3, .mt-c-timeline > h3 ~ * { position: relative; margin-inline-start: .5rem; padding-inline-start: 1.5rem; border-inline-start: 2px solid var(--mt-timeline-line); }
|
|
5
|
-
.mt-c-timeline > h3 { margin-bottom: 0; padding-top: 1.25rem; margin-top: 0; font-size: .8125rem; font-weight:
|
|
5
|
+
.mt-c-timeline > h3 { margin-bottom: 0; padding-top: 1.25rem; margin-top: 0; font-size: .8125rem; font-weight: 600; letter-spacing: .02em; color: mt(muted-foreground); font-family: mt(font-mono); }
|
|
6
6
|
.mt-c-timeline > h2 + h3 { margin-top: 1rem; }
|
|
7
7
|
.mt-c-timeline > h3 ~ * { margin-top: 0; margin-bottom: 0; padding-bottom: .5rem; }
|
|
8
8
|
.mt-c-timeline > h3::before { content: ""; position: absolute; inset-inline-start: -.45rem; top: 1.55rem;
|
|
9
9
|
width: .75rem; height: .75rem; border-radius: 50%; background: var(--mt-timeline-dot); box-shadow: 0 0 0 3px #{mt(background)}; }
|
|
10
10
|
}
|
|
11
|
+
// Forced colours drop backgrounds: the dot is drawn in CanvasText instead.
|
|
12
|
+
@include mt-layer(components) {
|
|
13
|
+
@media (forced-colors: active) {
|
|
14
|
+
.mt-c-timeline > h3::before { forced-color-adjust: none; background: CanvasText; box-shadow: none; }
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
// Body tables (div.mt-table > table, from links/content.html): table sheet, linked by pages whose body has a <table.
|
|
2
|
+
// Short tables keep column floors and scroll past them; 4+ column tables get a wider budget and a sticky first column.
|
|
3
|
+
// Below 40rem table-stack.js stacks a table that does not fit (table-stack sheet).
|
|
4
|
+
@include mt-layer(components) {
|
|
5
|
+
// Local gradients cover the shades until the region scrolls, so a shade shows only on the side with more content.
|
|
6
|
+
.mt-table { --mt-table-shade: color-mix(in srgb, #{mt(foreground)} 18%, transparent); overflow-x: auto; overscroll-behavior-inline: contain;
|
|
7
|
+
margin: 0 0 1.5rem;
|
|
8
|
+
background: linear-gradient(to right, #{mt(background)} 40%, transparent) left / 1.5rem 100% no-repeat local,
|
|
9
|
+
linear-gradient(to left, #{mt(background)} 40%, transparent) right / 1.5rem 100% no-repeat local,
|
|
10
|
+
radial-gradient(farthest-side at 0 50%, var(--mt-table-shade), transparent) left / .5rem 100% no-repeat scroll,
|
|
11
|
+
radial-gradient(farthest-side at 100% 50%, var(--mt-table-shade), transparent) right / .5rem 100% no-repeat scroll; }
|
|
12
|
+
.mt-table > table { display: table; width: max-content; max-inline-size: 100%; overflow: visible; margin: 0;
|
|
13
|
+
font-size: mt-size(sm); line-height: mt-leading(sm); font-variant-numeric: tabular-nums; }
|
|
14
|
+
.mt-table :is(th, td) { padding: .5rem 1rem; border-bottom: 1px solid mt(border); overflow-wrap: break-word; }
|
|
15
|
+
.mt-table :is(th, td):first-child { padding-inline-start: 0; }
|
|
16
|
+
.mt-table :is(th, td):last-child { padding-inline-end: 0; }
|
|
17
|
+
.mt-table th { font-weight: 500; color: mt(muted-foreground); white-space: nowrap; }
|
|
18
|
+
.mt-table td { text-wrap: pretty; }
|
|
19
|
+
// Keys never break; numbers and aligned cells stay on one line.
|
|
20
|
+
.mt-table td:first-child code, .mt-table td:is([style*="right"], [style*="center"]) { white-space: nowrap; }
|
|
21
|
+
// 2-3 columns: later cells may break long words, but never below 5rem (the last one 9rem); then the region scrolls.
|
|
22
|
+
// From 40rem only a word longer than its column breaks (break-word keeps min-content), so a short key never splits.
|
|
23
|
+
.mt-table > table:not(:has(th:nth-child(4))) td:not(:first-child) { min-inline-size: 5rem; }
|
|
24
|
+
@media (min-width: 40rem) { .mt-table > table:not(:has(th:nth-child(4))) td:not(:first-child) code { overflow-wrap: break-word; } }
|
|
25
|
+
@media (max-width: 39.99rem) {
|
|
26
|
+
.mt-table > table:not(:has(th:nth-child(4))) td:not(:first-child),
|
|
27
|
+
.mt-table > table:not(:has(th:nth-child(4))) td:not(:first-child) * { overflow-wrap: anywhere; }
|
|
28
|
+
}
|
|
29
|
+
.mt-table > table:not(:has(th:nth-child(4))) td:last-child:not(:first-child) { min-inline-size: 9rem; }
|
|
30
|
+
// 4+ columns: the table may grow to about 9rem per column and the first column stays in view.
|
|
31
|
+
.mt-table > table:has(th:nth-child(4)) { max-inline-size: unquote("max(100%, 36rem)"); }
|
|
32
|
+
.mt-table > table:has(th:nth-child(5)) { max-inline-size: unquote("max(100%, 45rem)"); }
|
|
33
|
+
.mt-table > table:has(th:nth-child(6)) { max-inline-size: unquote("max(100%, 54rem)"); }
|
|
34
|
+
// Code in the first column never breaks; later cells may break long code (6rem floor), so a table whose code is longer
|
|
35
|
+
// than its share fits the measure instead of scrolling a clipped last column.
|
|
36
|
+
.mt-table > table:has(th:nth-child(4)) td:first-child code { overflow-wrap: normal; }
|
|
37
|
+
.mt-table > table:has(th:nth-child(4)) td:not(:first-child) { min-inline-size: 6rem; }
|
|
38
|
+
.mt-table > table:has(th:nth-child(4)) td:not(:first-child) code { overflow-wrap: anywhere; }
|
|
39
|
+
.mt-table > table:has(th:nth-child(4)) :is(th, td):first-child { position: sticky; inset-inline-start: 0; z-index: 1;
|
|
40
|
+
padding-inline-end: 1rem; background: mt(background); box-shadow: inset -1px 0 mt(border); }
|
|
41
|
+
.mt-table > table:has(th:nth-child(4)) :is(th, td):first-child:dir(rtl) { box-shadow: inset 1px 0 mt(border); }
|
|
42
|
+
@media print { .mt-table { overflow: visible; background: none; } }
|
|
43
|
+
@media (forced-colors: active) {
|
|
44
|
+
.mt-table { background: none; }
|
|
45
|
+
.mt-table > table:has(th:nth-child(4)) :is(th, td):first-child { background: Canvas; box-shadow: none; border-inline-end: 1px solid CanvasText; }
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
// Edge hint that content cannot cover (code chips, the sticky column paint over the shades above): where scroll timelines
|
|
49
|
+
// exist, the region's mask fades the side with more to scroll. Each fade sits 2rem outside the box until the scroll
|
|
50
|
+
// position moves it in; a sticky first column never fades.
|
|
51
|
+
@include mt-layer(components) {
|
|
52
|
+
@supports (animation-timeline: scroll()) {
|
|
53
|
+
@media screen {
|
|
54
|
+
@keyframes mt-table-edge { from { mask-position: -2rem 0, -2rem 0; } to { mask-position: 0 0, 0 0; } }
|
|
55
|
+
@keyframes mt-table-edge-end { from { mask-position: -2rem 0, -2rem 0; } to { mask-position: -2rem 0, 0 0; } }
|
|
56
|
+
@keyframes mt-table-edge-rtl { from { mask-position: 0 0, 0 0; } to { mask-position: -2rem 0, 0 0; } }
|
|
57
|
+
.mt-table { mask: linear-gradient(to right, transparent, #000 2rem) -2rem 0 / calc(100% + 2rem) 100% no-repeat,
|
|
58
|
+
linear-gradient(to left, transparent, #000 2rem) 0 0 / calc(100% + 2rem) 100% no-repeat;
|
|
59
|
+
mask-composite: intersect; animation: mt-table-edge linear both; animation-timeline: scroll(self inline); }
|
|
60
|
+
.mt-table:has(> table th:nth-child(4)) { animation-name: mt-table-edge-end; }
|
|
61
|
+
.mt-table:dir(rtl) { animation-direction: reverse; }
|
|
62
|
+
.mt-table:dir(rtl):has(> table th:nth-child(4)) { animation-name: mt-table-edge-rtl; animation-direction: normal; }
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Table variant hooks for a site's own HTML (c: params sets the first): mt-table--stack (labelled blocks), mt-table--dl
|
|
2
|
+
// (key over value) and mt-table--fixed (equal columns). The two stacked forms apply only once table-stack.js has set roles and labels;
|
|
3
|
+
// below 40rem the script also stacks a plain table that does not fit.
|
|
4
|
+
@include mt-layer(components) {
|
|
5
|
+
@media (max-width: 39.99rem) {
|
|
6
|
+
// [role] lifts these over the table sheet's floors, widths and sticky first column.
|
|
7
|
+
.mt-table > table[data-mt-labelled][role] { display: block; width: auto; max-inline-size: none; }
|
|
8
|
+
[data-mt-labelled] :is(tbody, tr) { display: block; }
|
|
9
|
+
[data-mt-labelled] thead { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
|
|
10
|
+
// A label sits close to its value and fields clearly apart, so a block reads as one record on a phone.
|
|
11
|
+
[data-mt-labelled] tr { display: grid; gap: .875rem; padding: 1.25rem 0; border-bottom: 1px solid mt(border); }
|
|
12
|
+
.mt-table > table[data-mt-labelled][role] :is(th, td):is(:first-child, *) { display: block; position: static; min-inline-size: 0;
|
|
13
|
+
padding: 0; border: 0; background: none; box-shadow: none; }
|
|
14
|
+
// A block is the full width, so long code may break here rather than scroll the stacked table.
|
|
15
|
+
.mt-table > table[data-mt-labelled][role] td code { white-space: normal; overflow-wrap: anywhere; }
|
|
16
|
+
.mt-table--stack[data-mt-labelled] td[data-label]::before { content: attr(data-label); content: unquote('attr(data-label) / ""'); display: block;
|
|
17
|
+
margin-block-end: .25rem; color: mt(muted-foreground); font-size: mt-size(xs); line-height: mt-leading(xs); }
|
|
18
|
+
[data-mt-labelled] :is(th, td):first-child { font-weight: 500; color: mt(foreground); }
|
|
19
|
+
}
|
|
20
|
+
.mt-table > table.mt-table--fixed { table-layout: fixed; width: 100%; }
|
|
21
|
+
.mt-table--fixed td { overflow-wrap: anywhere; }
|
|
22
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Script visuals (script: on hero: or a section item) and posters (poster:). The poster fills the visual box and is the
|
|
2
|
+
// first paint; a .mt-visual-stage after it covers the same box. The module sets data-mt-ready on the root once it has drawn,
|
|
3
|
+
// which hides the poster; without the module, or under reduced motion, the poster stays.
|
|
4
|
+
@include mt-layer(components) {
|
|
5
|
+
.mt-visual, [data-mt-script] { position: relative; }
|
|
6
|
+
.mt-visual-poster { display: block; width: 100%; height: auto; }
|
|
7
|
+
.mt-visual-poster ~ .mt-visual-stage { position: absolute; inset: 0; }
|
|
8
|
+
[data-mt-ready] > .mt-visual-poster { opacity: 0; }
|
|
9
|
+
}
|
|
@@ -23,3 +23,5 @@
|
|
|
23
23
|
.mt-detail-cta .mt-ics { font-size: .875rem; font-weight: 600; }
|
|
24
24
|
@media print { .mt-detail-cta, .mt-detail-media audio { display: none; } }
|
|
25
25
|
}
|
|
26
|
+
// Running text on detail pages stops at the measure; facts, media and covers keep the full width.
|
|
27
|
+
@include mt-layer(components) { @include mt-kit-measure(".mt-main.mt-detail"); }
|
|
@@ -16,3 +16,10 @@
|
|
|
16
16
|
.mt-dir-tags > span { font-size: .75rem; padding: .125rem .5rem; border-radius: 999px; background: mt(muted); color: mt(muted-foreground); }
|
|
17
17
|
.mt-ics { position: relative; z-index: 1; display: inline-block; margin-top: .75rem; font-size: .875rem; font-weight: 600; }
|
|
18
18
|
}
|
|
19
|
+
// Directory intro text stops at the measure. Event and job rows wrap their body under the tile and image when the
|
|
20
|
+
// row is too narrow (320px, 200% text), so no card is wider than the page.
|
|
21
|
+
@include mt-layer(components) {
|
|
22
|
+
@include mt-kit-measure(".mt-main.mt-dir-page");
|
|
23
|
+
.mt-dir-events .mt-dir-item, .mt-dir-jobs .mt-dir-item { flex-wrap: wrap; }
|
|
24
|
+
:is(.mt-dir-events, .mt-dir-jobs) .mt-dir-item > * { min-inline-size: 0; }
|
|
25
|
+
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
.mt-dx-toc ul, .mt-dx-letters ul { display: flex; flex-wrap: wrap; gap: .25rem .75rem; margin-bottom: 1.5rem; }
|
|
10
10
|
.mt-dx-toc li, .mt-dx-letters li { margin: 0; }
|
|
11
11
|
.mt-dx-letters a { display: inline-block; min-width: 2rem; padding: .25rem; text-align: center; }
|
|
12
|
-
.mt-dx-member, .mt-dx-release { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid mt(border);
|
|
12
|
+
.mt-dx-member, .mt-dx-release { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid mt(border); }
|
|
13
13
|
.mt-dx-member h2, .mt-dx-release h2 { margin-top: 0; }
|
|
14
14
|
.mt-dx-release time { margin-inline-start: .5rem; font-size: .875rem; font-weight: 400; color: mt(muted-foreground); }
|
|
15
15
|
.mt-dx-cat { font-size: .8125rem; text-transform: uppercase; letter-spacing: .04em; }
|
|
@@ -23,8 +23,7 @@
|
|
|
23
23
|
.mt-dx-cards li { position: relative; margin: 0; }
|
|
24
24
|
.mt-dx-cards li:hover { border-color: mt(primary); }
|
|
25
25
|
.mt-dx-cards a::after { content: ""; position: absolute; inset: 0; }
|
|
26
|
-
.mt-dx-
|
|
27
|
-
.mt-dx-terms dt { margin-top: 1rem; font-weight: 600; scroll-margin-top: 4rem; }
|
|
26
|
+
.mt-dx-terms dt { margin-top: 1rem; font-weight: 600; }
|
|
28
27
|
.mt-dx-terms dd { margin: .25rem 0 0; }
|
|
29
28
|
.mt-dx-syllabus > li { margin-bottom: 1rem; }
|
|
30
29
|
.mt-dx-syllabus h3 { margin: 0 0 .25rem; font-size: 1.0625rem; }
|
|
@@ -48,24 +47,30 @@
|
|
|
48
47
|
.mt-dx-api > .mt-dx-side { grid-column: 1; grid-row: 1 / span 999; align-self: start; position: sticky; top: 4.5rem; max-height: calc(100vh - 6rem); overflow-y: auto; padding-inline-end: .5rem; border-inline-end: 1px solid mt(border); }
|
|
49
48
|
.mt-dx-api > .mt-dx-side ul { margin-bottom: 0; }
|
|
50
49
|
}
|
|
51
|
-
|
|
52
|
-
.mt-dx-pkgs
|
|
50
|
+
// The table sheet's wrapper draws the border, so the caption sits inside it.
|
|
51
|
+
.mt-table:has(> .mt-dx-pkgs) { margin-bottom: 2rem; border: 1px solid mt(border); border-radius: mt(radius-lg); }
|
|
52
|
+
.mt-table > .mt-dx-pkgs { width: 100%; max-inline-size: none; }
|
|
53
|
+
.mt-table > table.mt-dx-pkgs :is(th, td) { padding: .6rem .9rem; }
|
|
53
54
|
.mt-dx-pkgs caption { padding: .75rem .9rem .5rem; font-weight: 600; text-align: start; }
|
|
54
|
-
.mt-dx-pkgs
|
|
55
|
-
.mt-dx-pkgs
|
|
56
|
-
.mt-dx-pkgs tr:last-child > th { border-bottom: 0; }
|
|
55
|
+
.mt-dx-pkgs tbody th { white-space: normal; font-weight: 400; color: mt(foreground); }
|
|
56
|
+
.mt-dx-pkgs tr:last-child > :is(th, td) { border-bottom: 0; }
|
|
57
57
|
.mt-dx-pkgs tbody th > code { font-weight: 600; }
|
|
58
|
+
// Package names are links: plain foreground code, underlined on hover only.
|
|
59
|
+
.mt-dx-pkgs code a { color: mt(foreground); text-decoration: none; }
|
|
60
|
+
.mt-dx-pkgs code a:hover { text-decoration: underline; }
|
|
58
61
|
.mt-dx-pkgs tbody th > span { display: block; margin-top: .25rem; color: mt(muted-foreground); }
|
|
59
62
|
.mt-dx-pkgs ul { display: flex; flex-wrap: wrap; gap: .25rem .75rem; margin: 0; padding: 0; list-style: none; }
|
|
60
63
|
.mt-dx-pkgs li { margin: 0; }
|
|
61
64
|
@media (max-width: 39.99rem) {
|
|
62
|
-
.mt-
|
|
65
|
+
.mt-table > .mt-dx-pkgs, .mt-dx-pkgs :is(caption, tbody, tr, th, td) { display: block; }
|
|
63
66
|
.mt-dx-pkgs thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
|
|
64
67
|
.mt-dx-pkgs tr { padding: .5rem .9rem; border-bottom: 1px solid mt(border); }
|
|
65
68
|
.mt-dx-pkgs tr:last-child { border-bottom: 0; }
|
|
66
|
-
.mt-
|
|
69
|
+
.mt-table > table.mt-dx-pkgs :is(th, td) { padding: .25rem 0; border: 0; }
|
|
67
70
|
.mt-dx-pkgs td:empty { display: none; }
|
|
68
71
|
.mt-dx-pkgs td::before { content: attr(data-label) ": "; color: mt(muted-foreground); font-size: .8125rem; }
|
|
69
72
|
}
|
|
70
73
|
@media print { .mt-dx-side { display: none; } .mt-dx-api { display: block; } }
|
|
71
74
|
}
|
|
75
|
+
// Running text in reference, changelog and the other docs-extra layouts stops at the measure.
|
|
76
|
+
@include mt-layer(components) { @include mt-kit-measure(".mt-main.mt-dx"); }
|