Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions snippets/sign-up-cta.mdx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div className="relative rounded-lg p-6 my-4 bg-gradient-to-b from-[#0c449a] to-[#062047] text-white">
<div className="text-xl font-bold text-balance mb-1">
Bugs don't stop at CI/CD. Why would Playwright? <img className="my-auto inline-block w-8 h-8 align-middle -mt-1" src="/images/icons/playwright.svg" alt="Playwright logo" noZoom />
<div className="sign-up-cta">
<div className="sign-up-cta-title">
Bugs don't stop at CI/CD. Why would Playwright? <img src="/images/icons/playwright.svg" alt="Playwright logo" noZoom />
</div>
<div className="text-slate-200">
<a href="https://app.checklyhq.com/signup" target="_blank" className="text-inherit before:content-[''] before:absolute before:inset-0">Sign up</a> and start using Playwright for end-to-end monitoring with Checkly.
<div className="sign-up-cta-body">
<a href="https://app.checklyhq.com/signup" target="_blank">Sign up</a> and start using Playwright for end-to-end monitoring with Checkly.
</div>
</div>
44 changes: 44 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,50 @@ tr {
color: #e6e6e6;
}

/* Sign-up CTA card (snippets/sign-up-cta.mdx). Styled here instead of with
Tailwind utility classes because Mintlify's production build only ships
utilities used by its own UI — arbitrary values like from-[#0c449a] work
in `mint dev` but are missing in the compiled production CSS. */
.sign-up-cta {
position: relative;
border-radius: 0.5rem;
padding: 1.5rem;
margin: 1rem 0;
background: linear-gradient(to bottom, #0c449a, #062047);
color: #fff;
}

.sign-up-cta-title {
font-size: 1.25rem;
line-height: 1.75rem;
font-weight: 700;
text-wrap: balance;
margin-bottom: 0.25rem;
}

.sign-up-cta-title img {
display: inline-block;
width: 2rem;
height: 2rem;
vertical-align: middle;
margin-top: -0.25rem;
}

.sign-up-cta-body {
color: #e2e8f0;
}

.sign-up-cta a {
color: inherit;
}

/* Stretch the link's click area over the whole card. */
.sign-up-cta a::before {
content: "";
position: absolute;
inset: 0;
}

/* Expand small header icon buttons to a 44x44 minimum touch target
(WCAG 2.5.5) via an invisible hit-area overlay, so the visual header
layout is unchanged and the theme's responsive show/hide still applies. */
Expand Down
Loading