diff --git a/public/cases/design-system/index.html b/public/cases/design-system/index.html index 5beb38c..ede01ae 100644 --- a/public/cases/design-system/index.html +++ b/public/cases/design-system/index.html @@ -906,36 +906,37 @@
.hero__tags / .hero__tag
-.portfolio-card__tags / .portfolio-card__tag
+.mp-card__tags / .mp-card__tag
Краткое описание проекта в две-три строки для демо Design System.
-.portfolio-card и дочерние BEM-классы
+.mp-card .mp-card--stack-bottom — текст сверху, обложка снизу
diff --git a/public/css/main.css b/public/css/main.css index 07be508..19e2668 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -3349,15 +3349,17 @@ html[data-theme="light"] .hero__portrait-shell { .mp-card__tag { display: inline-flex; align-items: center; - padding: 0.22rem 0.58rem; - font-size: 0.72rem; - font-weight: 600; - letter-spacing: 0.05em; - text-transform: lowercase; + min-height: 1.95rem; + padding: 0.25rem 0.82rem; + border: 0; + border-radius: var(--radius-btn); + background: color-mix(in srgb, var(--surface) 62%, var(--bg-elevated) 38%); color: var(--text-muted); - border: 1px solid color-mix(in srgb, var(--line) 92%, var(--text-muted)); - border-radius: 999px; - line-height: 1.2; + font-size: 0.78rem; + font-weight: 500; + letter-spacing: 0.01em; + text-transform: none; + white-space: nowrap; } .mp-card__media { diff --git a/public/en/cases/design-system/index.html b/public/en/cases/design-system/index.html index 3371292..df685f5 100644 --- a/public/en/cases/design-system/index.html +++ b/public/en/cases/design-system/index.html @@ -348,7 +348,7 @@ .sg-portfolio-wrap { max-width: 100%; } - .sg-portfolio-wrap .portfolio-card { + .sg-portfolio-wrap .mp-card { pointer-events: none; } .sg-section-demo.section { @@ -905,36 +905,37 @@
.hero__tags / .hero__tag
-.portfolio-card__tags / .portfolio-card__tag
+.mp-card__tags / .mp-card__tag
A brief two- or three-line description of the project for the Design System demo.
-.portfolio-card and child BEM classes
+.mp-card .mp-card--stack-bottom — text on top, cover at the bottom
diff --git a/src/pages/cases/design-system.en.html b/src/pages/cases/design-system.en.html index 5be03e5..a6d006e 100644 --- a/src/pages/cases/design-system.en.html +++ b/src/pages/cases/design-system.en.html @@ -255,7 +255,7 @@ .sg-portfolio-wrap { max-width: 100%; } - .sg-portfolio-wrap .portfolio-card { + .sg-portfolio-wrap .mp-card { pointer-events: none; } .sg-section-demo.section { @@ -717,36 +717,37 @@
.hero__tags / .hero__tag
-.portfolio-card__tags / .portfolio-card__tag
+.mp-card__tags / .mp-card__tag
A brief two- or three-line description of the project for the Design System demo.
-.portfolio-card and child BEM classes
+.mp-card .mp-card--stack-bottom — text on top, cover at the bottom
diff --git a/src/pages/cases/design-system.html b/src/pages/cases/design-system.html index 3aa7e71..b21627d 100644 --- a/src/pages/cases/design-system.html +++ b/src/pages/cases/design-system.html @@ -718,36 +718,37 @@
.hero__tags / .hero__tag
-.portfolio-card__tags / .portfolio-card__tag
+.mp-card__tags / .mp-card__tag