openvibers/openvibe.coupons Commits
Coupons' own home sections use the showcase's typeface, heading size and spacing: "Ending soon", "New codes" and the questions read like the rest of the page (#87)
Changes
@@@ -76,9 +76,11 @@ button.primary { background: var(--accent-strong, #2563eb); border-color: var(--.cp-stats a:hover, .cp-stats a:focus-visible { border-color: var(--accent, #3b82f6); }.cp-stats b { font-size: 1.6rem; line-height: 1.1; font-variant-numeric: tabular-nums; }.cp-stats span { font-size: .85rem; line-height: 1.35; color: var(--text-secondary, #96a7c2); }--.page section.cp-sec { margin-top: 44px; }++/* Coupons' own home sections sit between the shared showcase's (openvibe-shared/showcase.css .sc-sec): same typeface,++ heading size and rhythm, so "Ending soon", "New codes" and the questions do not read as another site. */++.page section.cp-sec { margin-top: 56px; font-family: var(--ov-font, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif); }.cp-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }--.cp-head h2 { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.75rem); letter-spacing: -.01em; }++.cp-head h2 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; }.cp-more { font-weight: 600; font-size: .95rem; text-decoration: none; }.cp-more:hover { text-decoration: underline; text-underline-offset: 3px; }.cp-lede { margin: 4px 0 14px; color: var(--text-secondary, #96a7c2); }@@@ -95,7 +97,7 @@ button.primary { background: var(--accent-strong, #2563eb); border-color: var(--.cp-card h3 a:hover { color: var(--accent-light, #60a5fa); text-decoration: underline; text-underline-offset: 3px; }.cp-card .meta { font-size: .84rem; }.cp-via { margin-top: auto !important; }--.cp-faq { display: grid; gap: 8px; }++.cp-faq { display: grid; gap: 8px; margin-top: 14px; }.cp-faq details { border: 1px solid var(--border, #1f2d47); border-radius: 12px; background: var(--bg-card, #131c2e); padding: 0 16px; }.cp-faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; }.cp-faq p { margin: 0 0 14px; color: var(--text-secondary, #96a7c2); }
@@ -76,9 +76,11 @@ button.primary { background: var(--accent-strong, #2563eb); border-color: var(--
@@ -76,9 +76,11 @@ button.primary { background: var(--accent-strong, #2563eb); border-color: var(--
.cp-stats a:hover, .cp-stats a:focus-visible { border-color: var(--accent, #3b82f6); }
.cp-stats a:hover, .cp-stats a:focus-visible { border-color: var(--accent, #3b82f6); }
.cp-stats b { font-size: 1.6rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cp-stats b { font-size: 1.6rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cp-stats span { font-size: .85rem; line-height: 1.35; color: var(--text-secondary, #96a7c2); }
.cp-stats span { font-size: .85rem; line-height: 1.35; color: var(--text-secondary, #96a7c2); }
-.page section.cp-sec { margin-top: 44px; }
+/* Coupons' own home sections sit between the shared showcase's (openvibe-shared/showcase.css .sc-sec): same typeface,
+ heading size and rhythm, so "Ending soon", "New codes" and the questions do not read as another site. */
+.page section.cp-sec { margin-top: 56px; font-family: var(--ov-font, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif); }
.cp-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.cp-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
-.cp-head h2 { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.75rem); letter-spacing: -.01em; }
+.cp-head h2 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; }
.cp-more { font-weight: 600; font-size: .95rem; text-decoration: none; }
.cp-more { font-weight: 600; font-size: .95rem; text-decoration: none; }
.cp-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.cp-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.cp-lede { margin: 4px 0 14px; color: var(--text-secondary, #96a7c2); }
.cp-lede { margin: 4px 0 14px; color: var(--text-secondary, #96a7c2); }
@@ -95,7 +97,7 @@ button.primary { background: var(--accent-strong, #2563eb); border-color: var(--
@@ -95,7 +97,7 @@ button.primary { background: var(--accent-strong, #2563eb); border-color: var(--
.cp-card h3 a:hover { color: var(--accent-light, #60a5fa); text-decoration: underline; text-underline-offset: 3px; }
.cp-card h3 a:hover { color: var(--accent-light, #60a5fa); text-decoration: underline; text-underline-offset: 3px; }
.cp-card .meta { font-size: .84rem; }
.cp-card .meta { font-size: .84rem; }
.cp-via { margin-top: auto !important; }
.cp-via { margin-top: auto !important; }
-.cp-faq { display: grid; gap: 8px; }
+.cp-faq { display: grid; gap: 8px; margin-top: 14px; }
.cp-faq details { border: 1px solid var(--border, #1f2d47); border-radius: 12px; background: var(--bg-card, #131c2e); padding: 0 16px; }
.cp-faq details { border: 1px solid var(--border, #1f2d47); border-radius: 12px; background: var(--bg-card, #131c2e); padding: 0 16px; }
.cp-faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; }
.cp-faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; }
.cp-faq p { margin: 0 0 14px; color: var(--text-secondary, #96a7c2); }
.cp-faq p { margin: 0 0 14px; color: var(--text-secondary, #96a7c2); }