jekyll-theme-modootoday 1.0.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 +7 -0
- data/CHANGELOG.md +182 -0
- data/LICENSE +21 -0
- data/README.ko.md +115 -0
- data/README.md +112 -0
- data/RULES.md +120 -0
- data/_includes/footer-custom.html +5 -0
- data/_includes/head-custom.html +1 -0
- data/_includes/modootoday/actions.html +17 -0
- data/_includes/modootoday/archive-years.html +30 -0
- data/_includes/modootoday/archive.html +44 -0
- data/_includes/modootoday/blog/card.html +23 -0
- data/_includes/modootoday/blog/config.html +17 -0
- data/_includes/modootoday/blog/list.html +13 -0
- data/_includes/modootoday/blog/pager.html +15 -0
- data/_includes/modootoday/blog/reading-time.html +10 -0
- data/_includes/modootoday/blog/select.html +18 -0
- data/_includes/modootoday/brand/icon.html +39 -0
- data/_includes/modootoday/brand/logo.html +7 -0
- data/_includes/modootoday/breadcrumb.html +22 -0
- data/_includes/modootoday/config.html +41 -0
- data/_includes/modootoday/detail/cover.html +5 -0
- data/_includes/modootoday/detail/cta.html +13 -0
- data/_includes/modootoday/detail/facts.html +31 -0
- data/_includes/modootoday/detail/jsonld.html +34 -0
- data/_includes/modootoday/directory/date-tile.html +2 -0
- data/_includes/modootoday/directory/filter.html +7 -0
- data/_includes/modootoday/directory/ics.html +17 -0
- data/_includes/modootoday/directory/item.html +18 -0
- data/_includes/modootoday/directory/items.html +4 -0
- data/_includes/modootoday/directory/jsonld.html +5 -0
- data/_includes/modootoday/directory/list.html +16 -0
- data/_includes/modootoday/directory/values.html +6 -0
- data/_includes/modootoday/doc/page-actions.html +15 -0
- data/_includes/modootoday/doc/pagination.html +24 -0
- data/_includes/modootoday/doc/sidebar-item.html +11 -0
- data/_includes/modootoday/doc/sidebar.html +28 -0
- data/_includes/modootoday/doc/twin.html +8 -0
- data/_includes/modootoday/docs-extra/head.html +7 -0
- data/_includes/modootoday/docs-extra/jsonld.html +19 -0
- data/_includes/modootoday/head-meta.html +90 -0
- data/_includes/modootoday/home-url.html +4 -0
- data/_includes/modootoday/i18n/ar.html +2 -0
- data/_includes/modootoday/i18n/de.html +2 -0
- data/_includes/modootoday/i18n/el.html +2 -0
- data/_includes/modootoday/i18n/es.html +2 -0
- data/_includes/modootoday/i18n/fa.html +2 -0
- data/_includes/modootoday/i18n/fr.html +2 -0
- data/_includes/modootoday/i18n/id.html +2 -0
- data/_includes/modootoday/i18n/it.html +2 -0
- data/_includes/modootoday/i18n/ja.html +2 -0
- data/_includes/modootoday/i18n/ko.html +2 -0
- data/_includes/modootoday/i18n/ml.html +2 -0
- data/_includes/modootoday/i18n/name.html +2 -0
- data/_includes/modootoday/i18n/pl.html +2 -0
- data/_includes/modootoday/i18n/pt-BR.html +2 -0
- data/_includes/modootoday/i18n/ro.html +2 -0
- data/_includes/modootoday/i18n/ru.html +2 -0
- data/_includes/modootoday/i18n/th.html +2 -0
- data/_includes/modootoday/i18n/tr.html +2 -0
- data/_includes/modootoday/i18n/uk.html +2 -0
- data/_includes/modootoday/i18n/ur-Latn.html +2 -0
- data/_includes/modootoday/i18n/vi.html +2 -0
- data/_includes/modootoday/i18n/zh-CN.html +2 -0
- data/_includes/modootoday/i18n/zh-TW.html +2 -0
- data/_includes/modootoday/i18n.html +163 -0
- data/_includes/modootoday/jsonld/article.html +15 -0
- data/_includes/modootoday/jsonld/author.html +8 -0
- data/_includes/modootoday/jsonld/breadcrumb.html +17 -0
- data/_includes/modootoday/jsonld/entity.html +16 -0
- data/_includes/modootoday/jsonld/graph.html +24 -0
- data/_includes/modootoday/jsonld/profile.html +20 -0
- data/_includes/modootoday/jsonld/props.html +13 -0
- data/_includes/modootoday/jsonld/publisher.html +11 -0
- data/_includes/modootoday/jsonld/type.html +29 -0
- data/_includes/modootoday/jsonld/webpage.html +17 -0
- data/_includes/modootoday/jsonld/website.html +9 -0
- data/_includes/modootoday/lang-switch.html +31 -0
- data/_includes/modootoday/link.html +3 -0
- data/_includes/modootoday/links/attrs.html +9 -0
- data/_includes/modootoday/links/content.html +16 -0
- data/_includes/modootoday/markdown/c/details.html +6 -0
- data/_includes/modootoday/markdown/c/faq.html +2 -0
- data/_includes/modootoday/markdown/c/filetree.html +3 -0
- data/_includes/modootoday/markdown/c/gallery.html +5 -0
- data/_includes/modootoday/markdown/c/linkcards.html +2 -0
- data/_includes/modootoday/markdown/c/params.html +3 -0
- data/_includes/modootoday/markdown/c/pricing.html +10 -0
- data/_includes/modootoday/markdown/c/quote.html +6 -0
- data/_includes/modootoday/markdown/c/subscribe.html +6 -0
- data/_includes/modootoday/markdown/components.html +114 -0
- data/_includes/modootoday/markdown/inline.html +46 -0
- data/_includes/modootoday/markdown/llms-pages.html +14 -0
- data/_includes/modootoday/markdown/raw-body.html +6 -0
- data/_includes/modootoday/markdown/sections.html +43 -0
- data/_includes/modootoday/marketing/head.html +6 -0
- data/_includes/modootoday/meta/byline.html +24 -0
- data/_includes/modootoday/meta/post-nav.html +16 -0
- data/_includes/modootoday/meta/related.html +20 -0
- data/_includes/modootoday/meta/series.html +11 -0
- data/_includes/modootoday/meta/share.html +4 -0
- data/_includes/modootoday/nav.html +19 -0
- data/_includes/modootoday/news/badge.html +4 -0
- data/_includes/modootoday/news/front.html +30 -0
- data/_includes/modootoday/news/notes.html +10 -0
- data/_includes/modootoday/page-meta.html +16 -0
- data/_includes/modootoday/pages/error.html +13 -0
- data/_includes/modootoday/pages/hero/scene.html +27 -0
- data/_includes/modootoday/pages/hero/sparks.html +6 -0
- data/_includes/modootoday/pages/hero.html +11 -0
- data/_includes/modootoday/pages/search-form.html +14 -0
- data/_includes/modootoday/search.json +11 -0
- data/_includes/modootoday/stylesheets.html +36 -0
- data/_includes/modootoday/t.html +7 -0
- data/_includes/modootoday/theme-color.html +19 -0
- data/_includes/modootoday/toc.html +17 -0
- data/_includes/modootoday/tokens.html +11 -0
- data/_includes/sections/showcase.html +18 -0
- data/_layouts/archive.html +6 -0
- data/_layouts/author.html +19 -0
- data/_layouts/blog.html +28 -0
- data/_layouts/book.html +21 -0
- data/_layouts/brand.html +21 -0
- data/_layouts/case-study.html +5 -0
- data/_layouts/changelog.html +24 -0
- data/_layouts/contact.html +27 -0
- data/_layouts/course.html +21 -0
- data/_layouts/default.html +87 -0
- data/_layouts/detail.html +31 -0
- data/_layouts/directory.html +12 -0
- data/_layouts/doc.html +27 -0
- data/_layouts/download.html +21 -0
- data/_layouts/episode.html +5 -0
- data/_layouts/error.html +7 -0
- data/_layouts/event.html +5 -0
- data/_layouts/events.html +6 -0
- data/_layouts/feature.html +18 -0
- data/_layouts/feed.html +35 -0
- data/_layouts/glossary.html +24 -0
- data/_layouts/home.html +7 -0
- data/_layouts/hub.html +16 -0
- data/_layouts/integrations.html +7 -0
- data/_layouts/job.html +5 -0
- data/_layouts/jobs.html +7 -0
- data/_layouts/legal.html +21 -0
- data/_layouts/links.html +18 -0
- data/_layouts/llms-full.html +8 -0
- data/_layouts/llms.html +32 -0
- data/_layouts/minimal.html +8 -0
- data/_layouts/news-article.html +6 -0
- data/_layouts/news.html +22 -0
- data/_layouts/portfolio.html +7 -0
- data/_layouts/post.html +54 -0
- data/_layouts/pricing.html +32 -0
- data/_layouts/project.html +5 -0
- data/_layouts/redirect.html +21 -0
- data/_layouts/reference.html +24 -0
- data/_layouts/resume.html +50 -0
- data/_layouts/roadmap.html +22 -0
- data/_layouts/search.html +8 -0
- data/_layouts/sponsors.html +7 -0
- data/_layouts/team.html +7 -0
- data/_layouts/twin.html +2 -0
- data/_layouts/wide.html +7 -0
- data/_sass/modootoday/_access.scss +12 -0
- data/_sass/modootoday/_core.scss +18 -0
- data/_sass/modootoday/_settings.scss +5 -0
- data/_sass/modootoday/_sheet.scss +6 -0
- data/_sass/modootoday/base/_bidi.scss +8 -0
- data/_sass/modootoday/base/_code.scss +18 -0
- data/_sass/modootoday/base/_interaction.scss +6 -0
- data/_sass/modootoday/base/_prose.scss +32 -0
- data/_sass/modootoday/base/_reset.scss +14 -0
- data/_sass/modootoday/base/_table.scss +8 -0
- data/_sass/modootoday/blog/_article.scss +27 -0
- data/_sass/modootoday/blog/_cards.scss +36 -0
- data/_sass/modootoday/blog/_index.scss +10 -0
- data/_sass/modootoday/blog/_news.scss +26 -0
- data/_sass/modootoday/blog/_post.scss +9 -0
- data/_sass/modootoday/components/core/chrome/_banner.scss +7 -0
- data/_sass/modootoday/components/core/chrome/_breadcrumb.scss +10 -0
- data/_sass/modootoday/components/core/chrome/_nav.scss +39 -0
- data/_sass/modootoday/components/core/chrome/_pagination.scss +10 -0
- data/_sass/modootoday/components/core/chrome/_theme-toggle.scss +16 -0
- data/_sass/modootoday/components/core/inline/_badge.scss +15 -0
- data/_sass/modootoday/components/core/inline/_callout.scss +14 -0
- data/_sass/modootoday/components/core/inline/_code-copy.scss +11 -0
- data/_sass/modootoday/components/core/inline/_code.scss +11 -0
- data/_sass/modootoday/components/core/inline/_cta.scss +11 -0
- data/_sass/modootoday/components/core/inline/_embed.scss +6 -0
- data/_sass/modootoday/components/core/inline/_figure.scss +9 -0
- data/_sass/modootoday/components/core/inline/_footnotes.scss +6 -0
- data/_sass/modootoday/components/core/inline/_hero.scss +8 -0
- data/_sass/modootoday/components/core/inline/_kbd.scss +6 -0
- data/_sass/modootoday/components/core/inline/_progress.scss +8 -0
- data/_sass/modootoday/components/doc/_page-actions.scss +10 -0
- data/_sass/modootoday/components/doc/_sidebar.scss +31 -0
- data/_sass/modootoday/components/doc/_toc.scss +19 -0
- data/_sass/modootoday/components/loading/_loading.scss +33 -0
- data/_sass/modootoday/components/search/_search.scss +36 -0
- data/_sass/modootoday/components/section/showcase/_card.scss +15 -0
- data/_sass/modootoday/components/section/showcase/_cta.scss +7 -0
- data/_sass/modootoday/components/section/showcase/_gallery.scss +15 -0
- data/_sass/modootoday/components/section/showcase/_linkcards.scss +12 -0
- data/_sass/modootoday/components/section/showcase/_pricing.scss +12 -0
- data/_sass/modootoday/components/section/showcase/_quote.scss +7 -0
- data/_sass/modootoday/components/section/showcase/_subscribe.scss +9 -0
- data/_sass/modootoday/components/section/structure/_accordion.scss +15 -0
- data/_sass/modootoday/components/section/structure/_details.scss +15 -0
- data/_sass/modootoday/components/section/structure/_faq.scss +5 -0
- data/_sass/modootoday/components/section/structure/_filetree.scss +13 -0
- data/_sass/modootoday/components/section/structure/_params.scss +8 -0
- data/_sass/modootoday/components/section/structure/_steps.scss +13 -0
- data/_sass/modootoday/components/section/structure/_tabs.scss +21 -0
- data/_sass/modootoday/components/section/structure/_timeline.scss +10 -0
- data/_sass/modootoday/detail/_index.scss +8 -0
- data/_sass/modootoday/detail/_page.scss +25 -0
- data/_sass/modootoday/directory/_filter.scss +12 -0
- data/_sass/modootoday/directory/_grid.scss +18 -0
- data/_sass/modootoday/directory/_index.scss +11 -0
- data/_sass/modootoday/directory/_presets.scss +16 -0
- data/_sass/modootoday/docs-extra/_index.scss +7 -0
- data/_sass/modootoday/docs-extra/_page.scss +37 -0
- data/_sass/modootoday/hero/_index.scss +6 -0
- data/_sass/modootoday/hero/_layout.scss +28 -0
- data/_sass/modootoday/hero/_scene.scss +20 -0
- data/_sass/modootoday/kit/_button.scss +8 -0
- data/_sass/modootoday/layout/_page-meta.scss +9 -0
- data/_sass/modootoday/layout/_safe-area.scss +9 -0
- data/_sass/modootoday/layout/_shell.scss +56 -0
- data/_sass/modootoday/marketing/_forms.scss +11 -0
- data/_sass/modootoday/marketing/_index.scss +10 -0
- data/_sass/modootoday/marketing/_page.scss +31 -0
- data/_sass/modootoday/marketing/_pricing.scss +15 -0
- data/_sass/modootoday/pages/_actions.scss +11 -0
- data/_sass/modootoday/pages/_error.scss +7 -0
- data/_sass/modootoday/pages/_index.scss +11 -0
- data/_sass/modootoday/pages/_legal.scss +17 -0
- data/_sass/modootoday/pages/_search.scss +9 -0
- data/_sass/modootoday/pages/_shells.scss +11 -0
- data/_sass/modootoday/resume/_index.scss +5 -0
- data/_sass/modootoday/resume/_page.scss +27 -0
- data/_sass/modootoday/tokens/_emit.scss +15 -0
- data/_sass/modootoday/tokens/_primitive.scss +18 -0
- data/_sass/modootoday/tokens/_semantic.scss +37 -0
- data/_sass/modootoday/tools/_functions.scss +2 -0
- data/_sass/modootoday/tools/_img-dark.scss +12 -0
- data/_sass/modootoday/tools/_mixins.scss +8 -0
- data/_sass/modootoday.scss +40 -0
- data/assets/css/modootoday/doc.scss +10 -0
- data/assets/css/modootoday/loading.scss +8 -0
- data/assets/css/modootoday/search.scss +8 -0
- data/assets/css/modootoday/showcase/card.scss +7 -0
- data/assets/css/modootoday/showcase/cta.scss +7 -0
- data/assets/css/modootoday/showcase/gallery.scss +7 -0
- data/assets/css/modootoday/showcase/linkcards.scss +7 -0
- data/assets/css/modootoday/showcase/pricing.scss +7 -0
- data/assets/css/modootoday/showcase/quote.scss +7 -0
- data/assets/css/modootoday/showcase/subscribe.scss +7 -0
- data/assets/css/modootoday/structure/accordion.scss +7 -0
- data/assets/css/modootoday/structure/details.scss +7 -0
- data/assets/css/modootoday/structure/faq.scss +7 -0
- data/assets/css/modootoday/structure/filetree.scss +7 -0
- data/assets/css/modootoday/structure/params.scss +7 -0
- data/assets/css/modootoday/structure/steps.scss +7 -0
- data/assets/css/modootoday/structure/tabs.scss +7 -0
- data/assets/css/modootoday/structure/timeline.scss +7 -0
- data/assets/css/modootoday-blog.scss +7 -0
- data/assets/css/modootoday-detail.scss +7 -0
- data/assets/css/modootoday-directory.scss +7 -0
- data/assets/css/modootoday-docs-extra.scss +7 -0
- data/assets/css/modootoday-hero.scss +7 -0
- data/assets/css/modootoday-marketing.scss +7 -0
- data/assets/css/modootoday-pages.scss +7 -0
- data/assets/css/modootoday-resume.scss +7 -0
- data/assets/css/modootoday.scss +17 -0
- data/assets/js/modootoday/accordion.js +13 -0
- data/assets/js/modootoday/code-copy.js +29 -0
- data/assets/js/modootoday/menu.js +19 -0
- data/assets/js/modootoday/scroll-region.js +14 -0
- data/assets/js/modootoday/search-keys.js +18 -0
- data/assets/js/modootoday/search.js +31 -0
- data/assets/js/modootoday/share.js +16 -0
- data/assets/js/modootoday/tabs.js +26 -0
- data/assets/js/modootoday/theme-init.js +2 -0
- data/assets/js/modootoday/theme-toggle.js +17 -0
- data/assets/modootoday/apple-touch-icon.png +0 -0
- data/assets/modootoday/favicon-32.png +0 -0
- data/assets/modootoday/favicon.svg +1 -0
- data/assets/modootoday/hero/dawn-1280.webp +0 -0
- data/assets/modootoday/hero/dawn-640.webp +0 -0
- data/assets/modootoday/hero/dawn-960.webp +0 -0
- data/exe/modootoday-check +7 -0
- data/i18n/ar.yml +130 -0
- data/i18n/de.yml +130 -0
- data/i18n/el.yml +130 -0
- data/i18n/en.yml +131 -0
- data/i18n/es.yml +130 -0
- data/i18n/fa.yml +130 -0
- data/i18n/fr.yml +130 -0
- data/i18n/glossary.yml +61 -0
- data/i18n/id.yml +130 -0
- data/i18n/it.yml +130 -0
- data/i18n/ja.yml +130 -0
- data/i18n/ko.yml +130 -0
- data/i18n/languages.yml +25 -0
- data/i18n/ml.yml +130 -0
- data/i18n/pl.yml +130 -0
- data/i18n/pt-BR.yml +130 -0
- data/i18n/ro.yml +130 -0
- data/i18n/ru.yml +130 -0
- data/i18n/th.yml +130 -0
- data/i18n/tr.yml +130 -0
- data/i18n/uk.yml +130 -0
- data/i18n/ur-Latn.yml +130 -0
- data/i18n/vi.yml +130 -0
- data/i18n/zh-CN.yml +130 -0
- data/i18n/zh-TW.yml +130 -0
- data/lib/jekyll-theme-modootoday.rb +59 -0
- data/lib/modootoday/check/a11y/content.rb +57 -0
- data/lib/modootoday/check/a11y/new_window.rb +64 -0
- data/lib/modootoday/check/blog.rb +72 -0
- data/lib/modootoday/check/build_output.rb +39 -0
- data/lib/modootoday/check/built_parts.rb +40 -0
- data/lib/modootoday/check/cli.rb +61 -0
- data/lib/modootoday/check/component_rules.rb +54 -0
- data/lib/modootoday/check/context.rb +41 -0
- data/lib/modootoday/check/gh_render.rb +21 -0
- data/lib/modootoday/check/github_pages.rb +23 -0
- data/lib/modootoday/check/i18n.rb +92 -0
- data/lib/modootoday/check/layouts/detail.rb +52 -0
- data/lib/modootoday/check/layouts/directory.rb +36 -0
- data/lib/modootoday/check/layouts/docs_extra.rb +84 -0
- data/lib/modootoday/check/layouts/marketing.rb +64 -0
- data/lib/modootoday/check/layouts/shape.rb +38 -0
- data/lib/modootoday/check/layouts/shells.rb +47 -0
- data/lib/modootoday/check/layouts.rb +37 -0
- data/lib/modootoday/check/markdown.rb +39 -0
- data/lib/modootoday/check/page_sections.rb +72 -0
- data/lib/modootoday/check/page_syntax.rb +104 -0
- data/lib/modootoday/check/page_values.rb +30 -0
- data/lib/modootoday/check/pages.rb +31 -0
- data/lib/modootoday/check/registry.rb +69 -0
- data/lib/modootoday/check/site_config.rb +74 -0
- data/lib/modootoday/check/slots.rb +50 -0
- data/lib/modootoday/check/structured_data.rb +97 -0
- data/lib/modootoday/check/stylesheets.rb +28 -0
- data/lib/modootoday/check/twins.rb +69 -0
- data/lib/modootoday/check.rb +22 -0
- data/lib/modootoday/schema/rules.rb +49 -0
- data/lib/modootoday/schema/vocab.txt +2478 -0
- metadata +420 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// Page shell: skip link, sticky header, main (with optional sticky TOC column), footer.
|
|
2
|
+
@include mt-layer(layout) {
|
|
3
|
+
.mt-skip { position: absolute; inset-inline-start: -999px; top: 0; }
|
|
4
|
+
.mt-skip:focus { inset-inline-start: calc(#{mt(space)} + var(--mt-safe-left)); top: calc(#{mt(space)} + var(--mt-safe-top)); background: mt(background); padding: .5rem; z-index: 30; }
|
|
5
|
+
.mt-header { padding-top: var(--mt-safe-top); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid mt(border);
|
|
6
|
+
background: mt(background); background: color-mix(in srgb, #{mt(background)} 86%, transparent);
|
|
7
|
+
-webkit-backdrop-filter: saturate(1.6) blur(10px); backdrop-filter: saturate(1.6) blur(10px); }
|
|
8
|
+
.mt-header-inner, .mt-main, .mt-footer-inner { width: 100%; max-width: mt(container); margin: 0 auto;
|
|
9
|
+
padding-left: calc(var(--mt-gutter) + var(--mt-safe-left)); padding-right: calc(var(--mt-gutter) + var(--mt-safe-right)); }
|
|
10
|
+
.mt-header-inner { display: flex; align-items: center; gap: .5rem 1.25rem; min-height: mt(header-height); }
|
|
11
|
+
.mt-site-title { flex: none; display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; letter-spacing: -.01em;
|
|
12
|
+
text-decoration: none; color: mt(foreground); white-space: nowrap; }
|
|
13
|
+
.mt-site-title:not(.mt-has-logo)::before { content: ""; width: 1.4rem; height: 1.4rem; border-radius: .4rem; flex: none;
|
|
14
|
+
background: mt(brand); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
|
|
15
|
+
.mt-main { flex: 1 0 auto; padding-top: 2.5rem; padding-bottom: 4rem; }
|
|
16
|
+
.mt-main.mt-main-full { max-width: none; padding-left: var(--mt-safe-left); padding-right: var(--mt-safe-right); }
|
|
17
|
+
// One alignment system: header, main and footer share the container. Pages with a TOC put the text column on the
|
|
18
|
+
// container's left edge (under the logo); pages without one (home, landing) centre a wider column.
|
|
19
|
+
.mt-doc-layout, .mt-doc-layout ~ .mt-page-meta, .mt-doc-layout ~ .mt-pagination { max-width: 52rem; margin-inline: auto; }
|
|
20
|
+
.mt-doc-layout.mt-has-toc { max-width: none; }
|
|
21
|
+
.mt-doc-main { min-width: 0; }
|
|
22
|
+
.mt-doc-aside { display: none; }
|
|
23
|
+
.mt-footer { padding-bottom: var(--mt-safe-bottom); border-top: 1px solid mt(border); color: mt(muted-foreground); font-size: .875rem; background: mt(muted); }
|
|
24
|
+
.mt-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
|
|
25
|
+
.mt-footer p { margin: 0; min-width: 0; overflow-wrap: anywhere; }
|
|
26
|
+
.mt-footer a { color: mt(foreground); }
|
|
27
|
+
// Language switcher (modootoday/lang-switch.html): a list in footers; in the header a globe button whose <details>
|
|
28
|
+
// dropdown shares the nav "More" menu styles (_nav.scss), so its width does not grow with the number of languages.
|
|
29
|
+
.mt-lang ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
|
|
30
|
+
.mt-lang li + li { margin-top: 0; }
|
|
31
|
+
nav.mt-lang a { display: inline-block; min-height: 1.5rem; }
|
|
32
|
+
.mt-lang a[aria-current] { font-weight: 600; }
|
|
33
|
+
details.mt-lang { position: relative; flex: none; }
|
|
34
|
+
details.mt-lang > summary { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; padding: 0; justify-content: center; border: 1px solid mt(border); border-radius: mt(radius); color: mt(foreground); }
|
|
35
|
+
// Icons (modootoday/brand/icon.html) are sized and stroked by SVG attributes; only alignment and RTL mirroring live here.
|
|
36
|
+
.mt-icon { flex: none; vertical-align: -.125em; }
|
|
37
|
+
[dir="rtl"] .mt-icon-flip { transform: scaleX(-1); }
|
|
38
|
+
.mt-logo { flex: none; color: mt(brand); }
|
|
39
|
+
.mt-footer .mt-logo { vertical-align: middle; margin-inline-end: .4rem; }
|
|
40
|
+
@media (min-width: 64rem) and (max-width: 79.99rem) { .mt-header-inner { column-gap: .75rem; } }
|
|
41
|
+
@media (max-width: 29.99rem) { .mt-site-title { margin-inline-end: auto; } }
|
|
42
|
+
.mt-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
|
|
43
|
+
@media (min-width: 64rem) {
|
|
44
|
+
.mt-doc-layout.mt-has-toc { display: grid; grid-template-columns: minmax(0, #{mt(measure)}) 14rem; gap: 3.5rem; }
|
|
45
|
+
.mt-has-toc ~ .mt-page-meta, .mt-has-toc ~ .mt-pagination { max-width: mt(measure); margin-inline-start: 0; }
|
|
46
|
+
.mt-doc-aside { display: block; }
|
|
47
|
+
.mt-doc-aside .mt-toc, .mt-doc-nav .mt-sidebar { position: sticky; top: calc(#{mt(header-height)} + 2rem); max-height: calc(100vh - #{mt(header-height)} - 4rem); overflow-y: auto; }
|
|
48
|
+
}
|
|
49
|
+
@media (max-width: 47.99rem) {
|
|
50
|
+
.mt-header-inner { flex-wrap: wrap; padding-top: .6rem; gap: .5rem .75rem; }
|
|
51
|
+
.mt-main { padding-top: 1.5rem; }
|
|
52
|
+
:root { --mt-gutter: 1rem; }
|
|
53
|
+
}
|
|
54
|
+
// New-window arrow (on unless external_links.icon: false); empty alt text, the hint is spoken via aria-describedby.
|
|
55
|
+
[data-mt-nw-icon] [data-mt-new-window]::after { content: unquote('"\\2197" / ""'); }
|
|
56
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// Contact list and form.
|
|
2
|
+
@include mt-layer(components) {
|
|
3
|
+
.mt-mk-contacts { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); margin: 2rem 0; }
|
|
4
|
+
.mt-mk-contacts dt { color: mt(muted-foreground); font-size: .8125rem; font-weight: 600; }
|
|
5
|
+
.mt-mk-contacts dd { margin: .25rem 0 0; overflow-wrap: anywhere; }
|
|
6
|
+
.mt-mk-form { display: grid; gap: .25rem; max-width: 36rem; margin-top: 2rem; }
|
|
7
|
+
.mt-mk-form label { display: block; margin-bottom: .375rem; font-weight: 600; }
|
|
8
|
+
.mt-mk-form input, .mt-mk-form textarea { box-sizing: border-box; width: 100%; min-height: 2.75rem; padding: .5rem .75rem;
|
|
9
|
+
border: 1px solid mt(border); border-radius: mt(radius); background: mt(background); color: mt(foreground); font: inherit; font-size: 1rem; }
|
|
10
|
+
.mt-mk-form :focus-visible { outline: 2px solid mt(ring); outline-offset: 1px; }
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// Marketing page partials (separate bundle). Uses the core tokens (--mt-*) already on the page; emits no tokens.
|
|
2
|
+
@import "../settings";
|
|
3
|
+
@import "../tools/functions";
|
|
4
|
+
@import "../tools/mixins";
|
|
5
|
+
@import "../kit/button";
|
|
6
|
+
@import "page";
|
|
7
|
+
@import "pricing";
|
|
8
|
+
@import "forms";
|
|
9
|
+
@import "../tools/img-dark";
|
|
10
|
+
@include mt-img-dark('.mt-mk-avatar, .mt-main img:not([src$=".svg"])');
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// Shared header, feature grid, download table, brand swatches and the link page.
|
|
2
|
+
@include mt-layer(components) {
|
|
3
|
+
.mt-mk-head { margin: 1rem 0 2rem; }
|
|
4
|
+
.mt-mk-head h1 { margin: 0; font-size: unquote("clamp(2rem, 1.4rem + 2.4vw, 3rem)"); line-height: 1.1; letter-spacing: -.03em; }
|
|
5
|
+
.mt-mk-lead { margin: .75rem 0 0; max-width: 40rem; font-size: 1.15rem; color: mt(muted-foreground); }
|
|
6
|
+
.mt-mk-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; }
|
|
7
|
+
.mt-mk-end { margin-top: 2.5rem; }
|
|
8
|
+
@include mt-kit-button(".mt-mk-btn");
|
|
9
|
+
.mt-mk-grid, .mt-mk-swatches, .mt-mk-files, .mt-mk-linklist { margin: 0 0 2rem; padding: 0; list-style: none; }
|
|
10
|
+
:is(.mt-mk-grid, .mt-mk-swatches, .mt-mk-files, .mt-mk-linklist) > li { margin: 0; }
|
|
11
|
+
.mt-mk-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
|
|
12
|
+
.mt-mk-grid li { padding: 1.25rem; border: 1px solid mt(border); border-radius: mt(radius-lg); background: mt(card); }
|
|
13
|
+
.mt-mk-grid h2 { margin: 0 0 .375rem; font-size: 1.0625rem; }
|
|
14
|
+
.mt-mk-grid p { margin: 0; color: mt(muted-foreground); }
|
|
15
|
+
.mt-mk-meta { color: mt(muted-foreground); }
|
|
16
|
+
.mt-mk-table { overflow-x: auto; margin-bottom: 2rem; }
|
|
17
|
+
.mt-mk-table td, .mt-mk-table th { vertical-align: middle; }
|
|
18
|
+
.mt-mk-swatches { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); }
|
|
19
|
+
.mt-mk-chip { display: block; width: 100%; height: 4rem; margin-bottom: .5rem; border: 1px solid mt(border); border-radius: mt(radius); }
|
|
20
|
+
.mt-mk-swatches code { display: block; font-size: .8125rem; }
|
|
21
|
+
.mt-mk-files li { padding: .5rem 0; border-bottom: 1px solid mt(border); }
|
|
22
|
+
.mt-mk-files span { color: mt(muted-foreground); font-size: .875rem; }
|
|
23
|
+
.mt-mk-links { max-width: 30rem; margin-inline: auto; text-align: center; }
|
|
24
|
+
.mt-mk-links .mt-mk-lead { margin-inline: auto; }
|
|
25
|
+
.mt-mk-avatar { display: block; margin: 2rem auto 0; border-radius: 50%; }
|
|
26
|
+
.mt-mk-linklist { display: grid; gap: .75rem; }
|
|
27
|
+
.mt-mk-linklist a { display: block; padding: .875rem 1rem; border: 1px solid mt(border); border-radius: mt(radius-lg);
|
|
28
|
+
background: mt(card); color: mt(card-foreground); font-weight: 600; text-decoration: none; }
|
|
29
|
+
.mt-mk-linklist a:hover { border-color: mt(primary); }
|
|
30
|
+
.mt-mk-linklist a:focus-visible { outline: 2px solid mt(ring); outline-offset: 2px; }
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Pricing layout on top of the pricing component sheet: h2 plan names and the CSS-only Monthly/Yearly switch.
|
|
2
|
+
@include mt-layer(components) {
|
|
3
|
+
.mt-mk-pricing .mt-plan h2 { margin: 0 0 .5rem; font-size: 1.0625rem; }
|
|
4
|
+
.mt-mk-price { margin: 0 0 1rem; color: mt(muted-foreground); }
|
|
5
|
+
.mt-mk-price strong { color: mt(card-foreground); font-size: 1.875rem; font-weight: 750; letter-spacing: -.02em; }
|
|
6
|
+
.mt-price-y, .mt-bill-y:checked ~ .mt-plans .mt-price-m { display: none; }
|
|
7
|
+
.mt-bill-y:checked ~ .mt-plans .mt-price-y { display: inline; }
|
|
8
|
+
.mt-mk-billing { display: inline-flex; padding: .25rem; border: 1px solid mt(border); border-radius: 999px; }
|
|
9
|
+
.mt-mk-billing label { padding: .375rem 1rem; border-radius: 999px; cursor: pointer; font-size: .9375rem; font-weight: 600; }
|
|
10
|
+
.mt-bill-m:checked ~ .mt-mk-billing label[for="mt-bill-m"], .mt-bill-y:checked ~ .mt-mk-billing label[for="mt-bill-y"] {
|
|
11
|
+
background: mt(primary); color: mt(primary-foreground); }
|
|
12
|
+
.mt-bill-m:focus-visible ~ .mt-mk-billing label[for="mt-bill-m"], .mt-bill-y:focus-visible ~ .mt-mk-billing label[for="mt-bill-y"] {
|
|
13
|
+
outline: 2px solid mt(ring); outline-offset: 2px; }
|
|
14
|
+
@media (forced-colors: active) { .mt-bill-m:checked ~ .mt-mk-billing label[for="mt-bill-m"], .mt-bill-y:checked ~ .mt-mk-billing label[for="mt-bill-y"] { outline: 2px solid; } }
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// Link buttons for shells (same look as the core CTA buttons, available without the cta component).
|
|
2
|
+
@include mt-layer(components) {
|
|
3
|
+
.mt-shell-minimal .mt-actions, .mt-home .mt-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 0; }
|
|
4
|
+
.mt-shell-minimal .mt-actions > a, .mt-home .mt-actions > a, .mt-search-submit { display: inline-flex; align-items: center; gap: .5rem;
|
|
5
|
+
min-height: 2.75rem; padding: 0 1.25rem; border-radius: mt(radius); border: 1px solid mt(border); background: mt(background);
|
|
6
|
+
color: mt(foreground); font: inherit; font-size: .9375rem; font-weight: 600; text-decoration: none; cursor: pointer; }
|
|
7
|
+
.mt-shell-minimal .mt-actions > a:first-child, .mt-home .mt-actions > a:first-child, .mt-search-submit {
|
|
8
|
+
background: mt(primary); border-color: mt(primary); color: mt(primary-foreground); }
|
|
9
|
+
.mt-shell-minimal .mt-actions > a:focus-visible, .mt-home .mt-actions > a:focus-visible, .mt-search-submit:focus-visible {
|
|
10
|
+
outline: 2px solid mt(ring); outline-offset: 2px; }
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// error layout: large status code above the localized title.
|
|
2
|
+
@include mt-layer(components) {
|
|
3
|
+
.mt-error { text-align: center; }
|
|
4
|
+
.mt-error .mt-actions { justify-content: center; }
|
|
5
|
+
.mt-error-code { margin: 0; font-size: unquote("clamp(4rem, 3rem + 6vw, 7rem)"); font-weight: 800; line-height: 1;
|
|
6
|
+
letter-spacing: -.04em; color: mt(primary); font-variant-numeric: tabular-nums; }
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// Page shell partials (separate bundle). Uses the core tokens (--mt-*) already on the page; emits no tokens.
|
|
2
|
+
@import "../settings";
|
|
3
|
+
@import "../tools/functions";
|
|
4
|
+
@import "../tools/mixins";
|
|
5
|
+
@import "shells";
|
|
6
|
+
@import "actions";
|
|
7
|
+
@import "error";
|
|
8
|
+
@import "search";
|
|
9
|
+
@import "legal";
|
|
10
|
+
@import "../tools/img-dark";
|
|
11
|
+
@include mt-img-dark(".mt-hero-media");
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Legal pages: dates under the title, a contents list, a readable measure. // Print: the page alone on paper (no header, skip link, banner, page meta, back-to-top or footer).
|
|
2
|
+
@include mt-layer(components) {
|
|
3
|
+
.mt-legal-head { margin: 1rem 0 1.5rem; }
|
|
4
|
+
.mt-legal-head h1 { margin: 0; }
|
|
5
|
+
.mt-legal-meta { margin: .5rem 0 0; color: mt(muted-foreground); font-size: .875rem; }
|
|
6
|
+
.mt-legal-lead { font-size: 1.0625rem; }
|
|
7
|
+
.mt-legal .mt-toc { margin-bottom: 2rem; padding: 1rem 1.25rem; border: 1px solid mt(border); border-radius: mt(radius-lg); }
|
|
8
|
+
.mt-legal .mt-toc ol { margin: 0; }
|
|
9
|
+
.mt-legal-body { max-width: 44rem; }
|
|
10
|
+
.mt-legal-body :is(h2, h3) { scroll-margin-top: 4rem; }
|
|
11
|
+
@media print {
|
|
12
|
+
.mt-legal .mt-toc { display: none; }
|
|
13
|
+
.mt-legal-body { max-width: none; }
|
|
14
|
+
.mt-legal-body a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
@media print { body:has(.mt-legal) :is(.mt-header, .mt-skip, .mt-banner, .mt-page-meta, .mt-back-to-top, .mt-footer) { display: none; } }
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// search layout: no-JavaScript fallback form under the page body.
|
|
2
|
+
@include mt-layer(components) {
|
|
3
|
+
.mt-search-form { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 2rem; max-width: 40rem; }
|
|
4
|
+
.mt-search-form > label { flex-basis: 100%; font-weight: 600; }
|
|
5
|
+
.mt-search-form > input { flex: 1 1 14rem; min-height: 2.75rem; padding: 0 .875rem; font-size: 1rem; color: mt(foreground);
|
|
6
|
+
background: mt(background); border: 1px solid mt(border); border-radius: mt(radius); }
|
|
7
|
+
.mt-search-form > input:focus-visible { outline: 2px solid mt(ring); outline-offset: 1px; }
|
|
8
|
+
.mt-search-hint { flex-basis: 100%; margin: 0; font-size: .875rem; color: mt(muted-foreground); }
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// minimal (narrow centred column, no chrome) and wide (no reading-width cap); home hero.
|
|
2
|
+
@include mt-layer(layout) {
|
|
3
|
+
.mt-main.mt-shell-minimal { max-width: 36rem; display: flex; flex-direction: column; justify-content: center;
|
|
4
|
+
min-height: 100vh; min-height: 100dvh; padding-block: unquote("max(2.5rem, env(safe-area-inset-top))") unquote("max(2.5rem, env(safe-area-inset-bottom))"); }
|
|
5
|
+
.mt-main.mt-shell-wide { max-width: mt(container); }
|
|
6
|
+
.mt-home > .mt-hero { padding: 3rem 0 2rem; text-align: center; }
|
|
7
|
+
.mt-home > .mt-hero > .mt-hero-text { margin-inline: auto; max-width: 40rem; font-size: 1.2rem; line-height: 1.6; color: mt(muted-foreground); }
|
|
8
|
+
.mt-home > .mt-hero > .mt-actions { justify-content: center; }
|
|
9
|
+
.mt-home > .mt-hero > .mt-hero-media { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-block-start: 2rem; border-radius: mt(radius-lg); background: mt(muted); }
|
|
10
|
+
.mt-hero-title { font-size: unquote("clamp(2.25rem, 1.5rem + 3vw, 3.5rem)"); line-height: 1.08; letter-spacing: -.035em; font-weight: 750; margin: 0 0 1.25rem; }
|
|
11
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// One column that reads like paper on screen and fits A4 / Letter in print. // Print: the page alone on paper (no header, skip link, banner, page meta, back-to-top or footer).
|
|
2
|
+
@include mt-layer(components) {
|
|
3
|
+
.mt-cv { max-width: 46rem; margin-inline: auto; }
|
|
4
|
+
.mt-cv-head { margin: 1rem 0 1.5rem; padding-bottom: 1rem; border-bottom: 2px solid mt(foreground); }
|
|
5
|
+
.mt-cv-head h1 { margin: 0; font-size: 2.25rem; letter-spacing: -.02em; }
|
|
6
|
+
.mt-cv-headline { margin: .25rem 0 0; font-size: 1.125rem; color: mt(muted-foreground); }
|
|
7
|
+
.mt-cv-contact { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: .75rem 0 0; padding: 0; list-style: none; font-size: .9375rem; }
|
|
8
|
+
.mt-cv-contact > li { margin: 0; }
|
|
9
|
+
.mt-cv h2 { margin: 2rem 0 .5rem; font-size: .875rem; text-transform: uppercase; letter-spacing: .08em; color: mt(muted-foreground); }
|
|
10
|
+
.mt-cv-item { margin-bottom: 1.25rem; break-inside: avoid; }
|
|
11
|
+
.mt-cv-item h3 { display: flex; flex-wrap: wrap; gap: 0 .5rem; margin: 0; font-size: 1.0625rem; }
|
|
12
|
+
.mt-cv-org { font-weight: 400; color: mt(muted-foreground); }
|
|
13
|
+
.mt-cv-org::before { content: "· "; }
|
|
14
|
+
.mt-cv-when { margin: 0 0 .25rem; color: mt(muted-foreground); font-size: .875rem; font-variant-numeric: tabular-nums; }
|
|
15
|
+
.mt-cv-item p, .mt-cv-item ul { margin-block: .25rem; }
|
|
16
|
+
.mt-cv-skills { display: grid; grid-template-columns: max-content 1fr; gap: .25rem 1rem; margin: 0; }
|
|
17
|
+
.mt-cv-skills dt { font-weight: 600; }
|
|
18
|
+
.mt-cv-skills dd { margin: 0; }
|
|
19
|
+
}
|
|
20
|
+
@media print {
|
|
21
|
+
@page { margin: 14mm 16mm; }
|
|
22
|
+
body:has(.mt-cv) :is(.mt-header, .mt-skip, .mt-banner, .mt-page-meta, .mt-back-to-top, .mt-footer) { display: none; }
|
|
23
|
+
.mt-cv { max-width: none; font-size: 10.5pt; line-height: 1.4; color: #000; }
|
|
24
|
+
.mt-cv a { color: inherit; text-decoration: none; }
|
|
25
|
+
.mt-cv-head h1 { font-size: 22pt; }
|
|
26
|
+
.mt-cv h2 { margin-top: 1rem; }
|
|
27
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Emits primitive + semantic tokens. Light by default; dark follows prefers-color-scheme unless
|
|
2
|
+
// <html data-theme="light">, and is forced by <html data-theme="dark"> (modootoday.color_scheme).
|
|
3
|
+
@include mt-layer(tokens) {
|
|
4
|
+
:root {
|
|
5
|
+
color-scheme: light dark;
|
|
6
|
+
@include mt-emit($mt-primitive, "mt-p-");
|
|
7
|
+
@include mt-emit($mt-base);
|
|
8
|
+
@include mt-emit($mt-light);
|
|
9
|
+
}
|
|
10
|
+
@media (prefers-color-scheme: dark) {
|
|
11
|
+
:root:not([data-theme="light"]) { @include mt-emit($mt-dark); }
|
|
12
|
+
}
|
|
13
|
+
:root[data-theme="dark"] { color-scheme: dark; @include mt-emit($mt-dark); }
|
|
14
|
+
:root[data-theme="light"] { color-scheme: light; }
|
|
15
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Layer 1 — primitive tokens (--mt-p-*). Raw palette and scales; components never use them directly.
|
|
2
|
+
$mt-primitive: (
|
|
3
|
+
"white": #ffffff, "black": #000000,
|
|
4
|
+
gray-50: #f6f8fa, gray-100: #eff2f5, gray-200: #d1d9e0, gray-400: #9198a1, gray-500: #59636e,
|
|
5
|
+
gray-700: #3d444d, gray-750: #1a212b, gray-800: #151b23, gray-850: #1f2328, gray-900: #0d1117, gray-100d: #e6edf3,
|
|
6
|
+
// modootoday brand (모두의오늘): 500 is the logo mark, 600 the light action colour, 400 the dark action colour.
|
|
7
|
+
brand-300: #ef8d78, brand-400: #e96346, brand-500: #d94925, brand-600: #b94022, brand-700: #a8321b,
|
|
8
|
+
blue-400: #4493f8, blue-600: #0969da,
|
|
9
|
+
green-400: #3fb950, green-600: #1a7f37,
|
|
10
|
+
purple-400: #ab7df8, purple-600: #8250df,
|
|
11
|
+
yellow-400: #d29922, yellow-600: #9a6700,
|
|
12
|
+
red-400: #f85149, red-600: #d1242f,
|
|
13
|
+
// caution uses rose (hue ~345deg) so it never reads as the orange-red brand link colour.
|
|
14
|
+
rose-400: #ff7b9c, rose-600: #b8174a,
|
|
15
|
+
orange-400: #ffa657, orange-600: #953800, teal-400: #79c0ff, teal-600: #0550ae,
|
|
16
|
+
space-1: 0.25rem, space-2: 0.5rem, space-3: 0.75rem, space-4: 1rem, space-6: 1.5rem, space-8: 2rem, space-10: 2.5rem, space-12: 3rem, space-16: 4rem,
|
|
17
|
+
radius-sm: 0.25rem, radius-md: 0.5rem, radius-lg: 0.75rem, radius-full: 999px
|
|
18
|
+
) !default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// Layer 2 — semantic tokens (--mt-*), shadcn/ui-style surface/foreground pairs. Main override target.
|
|
2
|
+
$mt-base: (
|
|
3
|
+
font-sans: (system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans KR", "Noto Sans JP", sans-serif),
|
|
4
|
+
font-mono: (ui-monospace, SFMono-Regular, Menlo, Consolas, monospace),
|
|
5
|
+
font-size: 1rem, line-height: 1.7, measure: 46rem, container: 76rem, header-height: 3.75rem,
|
|
6
|
+
space: var(--mt-p-space-4), space-section: var(--mt-p-space-12), radius: var(--mt-p-radius-md), radius-lg: var(--mt-p-radius-lg)
|
|
7
|
+
) !default;
|
|
8
|
+
$mt-light: (
|
|
9
|
+
background: var(--mt-p-white), foreground: var(--mt-p-gray-850),
|
|
10
|
+
muted: var(--mt-p-gray-50), muted-foreground: var(--mt-p-gray-500),
|
|
11
|
+
card: var(--mt-p-white), card-foreground: var(--mt-p-gray-850),
|
|
12
|
+
primary: var(--mt-p-brand-600), primary-foreground: var(--mt-p-white), brand: var(--mt-p-brand-500),
|
|
13
|
+
accent: var(--mt-p-gray-100), accent-foreground: var(--mt-p-gray-850),
|
|
14
|
+
border: var(--mt-p-gray-200), ring: var(--mt-p-brand-600),
|
|
15
|
+
note: var(--mt-p-blue-600), tip: var(--mt-p-green-600), important: var(--mt-p-purple-600),
|
|
16
|
+
warning: var(--mt-p-yellow-600), caution: var(--mt-p-rose-600),
|
|
17
|
+
status-available: var(--mt-p-green-600), status-partial: var(--mt-p-yellow-600), status-planned: var(--mt-p-gray-500),
|
|
18
|
+
shadow-sm: 0 1px 2px rgba(31, 35, 40, 0.06), shadow: 0 6px 20px -6px rgba(31, 35, 40, 0.16),
|
|
19
|
+
code-keyword: var(--mt-p-red-600), code-string: var(--mt-p-teal-600), code-comment: var(--mt-p-gray-500),
|
|
20
|
+
code-function: var(--mt-p-purple-600), code-constant: var(--mt-p-orange-600)
|
|
21
|
+
) !default;
|
|
22
|
+
$mt-dark: (
|
|
23
|
+
background: var(--mt-p-gray-900), foreground: var(--mt-p-gray-100d),
|
|
24
|
+
muted: var(--mt-p-gray-750), muted-foreground: var(--mt-p-gray-400),
|
|
25
|
+
card: var(--mt-p-gray-750), card-foreground: var(--mt-p-gray-100d),
|
|
26
|
+
primary: var(--mt-p-brand-400), primary-foreground: var(--mt-p-gray-900), brand: var(--mt-p-brand-500),
|
|
27
|
+
accent: var(--mt-p-gray-800), accent-foreground: var(--mt-p-gray-100d),
|
|
28
|
+
border: var(--mt-p-gray-700), ring: var(--mt-p-brand-400),
|
|
29
|
+
note: var(--mt-p-blue-400), tip: var(--mt-p-green-400), important: var(--mt-p-purple-400),
|
|
30
|
+
warning: var(--mt-p-yellow-400), caution: var(--mt-p-rose-400),
|
|
31
|
+
status-available: var(--mt-p-green-400), status-partial: var(--mt-p-yellow-400), status-planned: var(--mt-p-gray-400),
|
|
32
|
+
shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.5),
|
|
33
|
+
code-keyword: var(--mt-p-red-400), code-string: var(--mt-p-teal-400), code-comment: var(--mt-p-gray-400),
|
|
34
|
+
code-function: var(--mt-p-purple-400), code-constant: var(--mt-p-orange-400)
|
|
35
|
+
) !default;
|
|
36
|
+
$mt-light: map-merge($mt-light, $mt-overrides);
|
|
37
|
+
$mt-dark: map-merge($mt-dark, $mt-overrides-dark);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// Dark-mode image tone: one image serves both schemes. Pages may override the tokens.
|
|
2
|
+
// --mt-img-filter-dark tones photos (defined here only); --mt-logo-filter-dark lifts currentColor logos (black in <img>).
|
|
3
|
+
// $filter lets a bundle use a stronger tone that still falls back to --mt-img-filter-dark (e.g. the showcase hero).
|
|
4
|
+
@mixin mt-img-dark($photos, $logos: null, $filter: var(--mt-img-filter-dark)) {
|
|
5
|
+
:where(:root) { --mt-img-filter-dark: brightness(.85) contrast(1.05) saturate(.9);@if $logos { --mt-logo-filter-dark: invert(1) brightness(.85); } }
|
|
6
|
+
@media (prefers-color-scheme: dark) {
|
|
7
|
+
:root:not([data-theme="light"]) #{$photos} { filter: $filter; }
|
|
8
|
+
@if $logos { :root:not([data-theme="light"]) #{$logos} { filter: var(--mt-logo-filter-dark); } }
|
|
9
|
+
}
|
|
10
|
+
[data-theme="dark"] #{$photos} { filter: $filter; }
|
|
11
|
+
@if $logos { [data-theme="dark"] #{$logos} { filter: var(--mt-logo-filter-dark); } }
|
|
12
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// Emit a map as custom properties. Always interpolate: Ruby Sass prints `--x: $v` literally.
|
|
2
|
+
@mixin mt-emit($map, $prefix: "mt-") {
|
|
3
|
+
@each $k, $v in $map { --#{$prefix}#{$k}: #{$v}; }
|
|
4
|
+
}
|
|
5
|
+
// Optional cascade layer (modootoday.css_layers / $mt-css-layers).
|
|
6
|
+
@mixin mt-layer($name) {
|
|
7
|
+
@if $mt-css-layers { @layer mt.#{$name} { @content; } } @else { @content; }
|
|
8
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// jekyll-theme-modootoday — everything (core + all components) in one file. For a site entry that
|
|
2
|
+
// shadows assets/css/modootoday.scss: declare $mt-overrides etc., then @import "modootoday";
|
|
3
|
+
@import "modootoday/core";
|
|
4
|
+
@import "modootoday/components/core/inline/callout";
|
|
5
|
+
@import "modootoday/components/core/inline/badge";
|
|
6
|
+
@import "modootoday/components/core/inline/kbd";
|
|
7
|
+
@import "modootoday/components/core/inline/figure";
|
|
8
|
+
@import "modootoday/components/core/inline/code-copy";
|
|
9
|
+
@import "modootoday/components/core/inline/hero";
|
|
10
|
+
@import "modootoday/components/core/inline/cta";
|
|
11
|
+
@import "modootoday/components/section/showcase/cta";
|
|
12
|
+
@import "modootoday/components/core/inline/code";
|
|
13
|
+
@import "modootoday/components/core/inline/footnotes";
|
|
14
|
+
@import "modootoday/components/core/inline/progress";
|
|
15
|
+
@import "modootoday/components/core/inline/embed";
|
|
16
|
+
@import "modootoday/components/core/chrome/nav";
|
|
17
|
+
@import "modootoday/components/core/chrome/theme-toggle";
|
|
18
|
+
@import "modootoday/components/core/chrome/breadcrumb";
|
|
19
|
+
@import "modootoday/components/search/search";
|
|
20
|
+
@import "modootoday/components/loading/loading";
|
|
21
|
+
@import "modootoday/components/core/chrome/pagination";
|
|
22
|
+
@import "modootoday/components/core/chrome/banner";
|
|
23
|
+
@import "modootoday/components/doc/sidebar";
|
|
24
|
+
@import "modootoday/components/doc/toc";
|
|
25
|
+
@import "modootoday/components/doc/page-actions";
|
|
26
|
+
@import "modootoday/components/section/showcase/card";
|
|
27
|
+
@import "modootoday/components/section/showcase/linkcards";
|
|
28
|
+
@import "modootoday/components/section/showcase/quote";
|
|
29
|
+
@import "modootoday/components/section/showcase/gallery";
|
|
30
|
+
@import "modootoday/components/section/showcase/pricing";
|
|
31
|
+
@import "modootoday/components/section/showcase/subscribe";
|
|
32
|
+
@import "modootoday/components/section/structure/tabs";
|
|
33
|
+
@import "modootoday/components/section/structure/accordion";
|
|
34
|
+
@import "modootoday/components/section/structure/steps";
|
|
35
|
+
@import "modootoday/components/section/structure/timeline";
|
|
36
|
+
@import "modootoday/components/section/structure/filetree";
|
|
37
|
+
@import "modootoday/components/section/structure/details";
|
|
38
|
+
@import "modootoday/components/section/structure/faq";
|
|
39
|
+
@import "modootoday/components/section/structure/params";
|
|
40
|
+
@import "modootoday/access";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
# md-components v1 — jekyll-theme-modootoday context sheet (doc layouts). Linked only by pages that use it.
|
|
3
|
+
---
|
|
4
|
+
{%- include modootoday/config.html -%}
|
|
5
|
+
$mt-css-layers: {{ mt_css_layers }};
|
|
6
|
+
@import "modootoday/sheet";
|
|
7
|
+
{% if mt_components contains "sidebar" %}@import "modootoday/components/doc/sidebar";
|
|
8
|
+
{% endif %}{% if mt_components contains "toc" %}@import "modootoday/components/doc/toc";
|
|
9
|
+
{% endif %}{% if mt_components contains "page-actions" %}@import "modootoday/components/doc/page-actions";
|
|
10
|
+
{% endif %}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
---
|
|
2
|
+
# md-components v1 — jekyll-theme-modootoday optional sheet (loading and skeleton UI). Linked only by pages that use it.
|
|
3
|
+
---
|
|
4
|
+
{%- include modootoday/config.html -%}
|
|
5
|
+
$mt-css-layers: {{ mt_css_layers }};
|
|
6
|
+
@import "modootoday/sheet";
|
|
7
|
+
{% if mt_components contains "loading" %}@import "modootoday/components/loading/loading";
|
|
8
|
+
{% endif %}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
---
|
|
2
|
+
# md-components v1 — jekyll-theme-modootoday context sheet (site search box). Linked only when search is on.
|
|
3
|
+
---
|
|
4
|
+
{%- include modootoday/config.html -%}
|
|
5
|
+
$mt-css-layers: {{ mt_css_layers }};
|
|
6
|
+
@import "modootoday/sheet";
|
|
7
|
+
{% if mt_components contains "search" %}@import "modootoday/components/search/search";
|
|
8
|
+
{% endif %}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
# md-components v1 — jekyll-theme-modootoday section sheet (c: features). Linked only by pages that use it.
|
|
3
|
+
---
|
|
4
|
+
{%- include modootoday/config.html -%}
|
|
5
|
+
$mt-css-layers: {{ mt_css_layers }};
|
|
6
|
+
@import "modootoday/sheet";
|
|
7
|
+
@import "modootoday/components/section/showcase/card";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
# md-components v1 — jekyll-theme-modootoday section sheet (c: cta). Linked only by pages that use it.
|
|
3
|
+
---
|
|
4
|
+
{%- include modootoday/config.html -%}
|
|
5
|
+
$mt-css-layers: {{ mt_css_layers }};
|
|
6
|
+
@import "modootoday/sheet";
|
|
7
|
+
@import "modootoday/components/section/showcase/cta";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
# md-components v1 — jekyll-theme-modootoday section sheet (c: gallery). Linked only by pages that use it.
|
|
3
|
+
---
|
|
4
|
+
{%- include modootoday/config.html -%}
|
|
5
|
+
$mt-css-layers: {{ mt_css_layers }};
|
|
6
|
+
@import "modootoday/sheet";
|
|
7
|
+
@import "modootoday/components/section/showcase/gallery";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
# md-components v1 — jekyll-theme-modootoday section sheet (c: linkcards). Linked only by pages that use it.
|
|
3
|
+
---
|
|
4
|
+
{%- include modootoday/config.html -%}
|
|
5
|
+
$mt-css-layers: {{ mt_css_layers }};
|
|
6
|
+
@import "modootoday/sheet";
|
|
7
|
+
@import "modootoday/components/section/showcase/linkcards";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
# md-components v1 — jekyll-theme-modootoday section sheet (c: pricing). Linked only by pages that use it.
|
|
3
|
+
---
|
|
4
|
+
{%- include modootoday/config.html -%}
|
|
5
|
+
$mt-css-layers: {{ mt_css_layers }};
|
|
6
|
+
@import "modootoday/sheet";
|
|
7
|
+
@import "modootoday/components/section/showcase/pricing";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
# md-components v1 — jekyll-theme-modootoday section sheet (c: quote). Linked only by pages that use it.
|
|
3
|
+
---
|
|
4
|
+
{%- include modootoday/config.html -%}
|
|
5
|
+
$mt-css-layers: {{ mt_css_layers }};
|
|
6
|
+
@import "modootoday/sheet";
|
|
7
|
+
@import "modootoday/components/section/showcase/quote";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
# md-components v1 — jekyll-theme-modootoday section sheet (c: subscribe). Linked only by pages that use it.
|
|
3
|
+
---
|
|
4
|
+
{%- include modootoday/config.html -%}
|
|
5
|
+
$mt-css-layers: {{ mt_css_layers }};
|
|
6
|
+
@import "modootoday/sheet";
|
|
7
|
+
@import "modootoday/components/section/showcase/subscribe";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
# md-components v1 — jekyll-theme-modootoday section sheet (c: accordion). Linked only by pages that use it.
|
|
3
|
+
---
|
|
4
|
+
{%- include modootoday/config.html -%}
|
|
5
|
+
$mt-css-layers: {{ mt_css_layers }};
|
|
6
|
+
@import "modootoday/sheet";
|
|
7
|
+
@import "modootoday/components/section/structure/accordion";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
# md-components v1 — jekyll-theme-modootoday section sheet (c: details). Linked only by pages that use it.
|
|
3
|
+
---
|
|
4
|
+
{%- include modootoday/config.html -%}
|
|
5
|
+
$mt-css-layers: {{ mt_css_layers }};
|
|
6
|
+
@import "modootoday/sheet";
|
|
7
|
+
@import "modootoday/components/section/structure/details";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
# md-components v1 — jekyll-theme-modootoday section sheet (c: faq). Linked only by pages that use it.
|
|
3
|
+
---
|
|
4
|
+
{%- include modootoday/config.html -%}
|
|
5
|
+
$mt-css-layers: {{ mt_css_layers }};
|
|
6
|
+
@import "modootoday/sheet";
|
|
7
|
+
@import "modootoday/components/section/structure/faq";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
# md-components v1 — jekyll-theme-modootoday section sheet (c: filetree). Linked only by pages that use it.
|
|
3
|
+
---
|
|
4
|
+
{%- include modootoday/config.html -%}
|
|
5
|
+
$mt-css-layers: {{ mt_css_layers }};
|
|
6
|
+
@import "modootoday/sheet";
|
|
7
|
+
@import "modootoday/components/section/structure/filetree";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
# md-components v1 — jekyll-theme-modootoday section sheet (c: params). Linked only by pages that use it.
|
|
3
|
+
---
|
|
4
|
+
{%- include modootoday/config.html -%}
|
|
5
|
+
$mt-css-layers: {{ mt_css_layers }};
|
|
6
|
+
@import "modootoday/sheet";
|
|
7
|
+
@import "modootoday/components/section/structure/params";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
# md-components v1 — jekyll-theme-modootoday section sheet (c: steps). Linked only by pages that use it.
|
|
3
|
+
---
|
|
4
|
+
{%- include modootoday/config.html -%}
|
|
5
|
+
$mt-css-layers: {{ mt_css_layers }};
|
|
6
|
+
@import "modootoday/sheet";
|
|
7
|
+
@import "modootoday/components/section/structure/steps";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
# md-components v1 — jekyll-theme-modootoday section sheet (c: tabs). Linked only by pages that use it.
|
|
3
|
+
---
|
|
4
|
+
{%- include modootoday/config.html -%}
|
|
5
|
+
$mt-css-layers: {{ mt_css_layers }};
|
|
6
|
+
@import "modootoday/sheet";
|
|
7
|
+
@import "modootoday/components/section/structure/tabs";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
# md-components v1 — jekyll-theme-modootoday section sheet (c: timeline). Linked only by pages that use it.
|
|
3
|
+
---
|
|
4
|
+
{%- include modootoday/config.html -%}
|
|
5
|
+
$mt-css-layers: {{ mt_css_layers }};
|
|
6
|
+
@import "modootoday/sheet";
|
|
7
|
+
@import "modootoday/components/section/structure/timeline";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
# jekyll-theme-modootoday blog and news stylesheet: loaded only by the post, blog, news, news-article and author and archive layouts
|
|
3
|
+
# (or front matter blog_css: true), so the core bundle stays small. Shadow this file to customise.
|
|
4
|
+
---
|
|
5
|
+
{%- include modootoday/config.html -%}
|
|
6
|
+
$mt-css-layers: {{ mt_css_layers }};
|
|
7
|
+
@import "modootoday/blog/index";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
# jekyll-theme-modootoday detail stylesheet (project, case-study, job, event, episode): loaded only by those layouts
|
|
3
|
+
# (mt_bundle: detail), so the core bundle stays small. Shadow this file to customise.
|
|
4
|
+
---
|
|
5
|
+
{%- include modootoday/config.html -%}
|
|
6
|
+
$mt-css-layers: {{ mt_css_layers }};
|
|
7
|
+
@import "modootoday/detail/index";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
# jekyll-theme-modootoday directory stylesheet (directory, portfolio, team, jobs, events, sponsors, integrations):
|
|
3
|
+
# loaded only by those layouts (mt_bundle: directory). Shadow this file to customise.
|
|
4
|
+
---
|
|
5
|
+
{%- include modootoday/config.html -%}
|
|
6
|
+
$mt-css-layers: {{ mt_css_layers }};
|
|
7
|
+
@import "modootoday/directory/index";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
# jekyll-theme-modootoday docs-extra stylesheet (reference, changelog, roadmap, glossary, hub, course, book): loaded only by
|
|
3
|
+
# those layouts (mt_bundle: docs-extra), so the core bundle stays small. Shadow this file to customise.
|
|
4
|
+
---
|
|
5
|
+
{%- include modootoday/config.html -%}
|
|
6
|
+
$mt-css-layers: {{ mt_css_layers }};
|
|
7
|
+
@import "modootoday/docs-extra/index";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
# jekyll-theme-modootoday hero showcase stylesheet: loaded only on pages whose hero uses visual: showcase
|
|
3
|
+
# (added automatically) or that set mt_bundle: hero, so the core bundle stays small. Shadow this file to customise.
|
|
4
|
+
---
|
|
5
|
+
{%- include modootoday/config.html -%}
|
|
6
|
+
$mt-css-layers: {{ mt_css_layers }};
|
|
7
|
+
@import "modootoday/hero/index";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
# jekyll-theme-modootoday marketing stylesheet (feature, pricing, download, brand, links, contact): loaded only by those
|
|
3
|
+
# layouts (mt_bundle: marketing), so the core bundle stays small. Shadow this file to customise.
|
|
4
|
+
---
|
|
5
|
+
{%- include modootoday/config.html -%}
|
|
6
|
+
$mt-css-layers: {{ mt_css_layers }};
|
|
7
|
+
@import "modootoday/marketing/index";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
# jekyll-theme-modootoday page shells stylesheet (minimal, wide, home, error, search): loaded only by those layouts
|
|
3
|
+
# (mt_bundle: pages), so the core bundle stays small. Shadow this file to customise.
|
|
4
|
+
---
|
|
5
|
+
{%- include modootoday/config.html -%}
|
|
6
|
+
$mt-css-layers: {{ mt_css_layers }};
|
|
7
|
+
@import "modootoday/pages/index";
|