Skip to content

Commit 9c76359

Browse files
committed
Fix warning callout readability in dark mode
Replace hardcoded inline styles on the 'Important' callout with a .callout-warning CSS class and add proper dark mode styling (dark amber background with amber text) so the note is readable in both themes.
1 parent 88f2bd5 commit 9c76359

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

assets/css/main.css

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -978,6 +978,32 @@ img {
978978
color: var(--link-color);
979979
}
980980

981+
/* --- Callout / Warning --- */
982+
.callout-warning {
983+
margin-top: 1.5rem;
984+
padding: 1.25rem;
985+
background: #fff3cd;
986+
color: #664d03;
987+
border-left: 4px solid #ffc107;
988+
border-radius: 8px;
989+
font-size: 0.9rem;
990+
}
991+
992+
.callout-warning a {
993+
color: #664d03;
994+
text-decoration: underline;
995+
}
996+
997+
[data-theme="dark"] .callout-warning {
998+
background: #332701;
999+
color: #ffc107;
1000+
border-left-color: #ffc107;
1001+
}
1002+
1003+
[data-theme="dark"] .callout-warning a {
1004+
color: #ffda6a;
1005+
}
1006+
9811007
/* --- Included grid --- */
9821008
.included-grid {
9831009
display: grid;

index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ description: "A stripped-down, opinionated, deployable Azure Landing Zone for st
9292
<p>Deploys in 1 hour. Grows with you. Written for engineers, not consultants.</p>
9393
</div>
9494
</div>
95-
<div style="margin-top: 1.5rem; padding: 1.25rem; background: #fff3cd; border-left: 4px solid #ffc107; border-radius: 8px; font-size: 0.9rem;">
95+
<div class="callout-warning">
9696
<strong>⚠️ Important:</strong> This project is <strong>not</strong> a replacement or competitor to <a href="https://aka.ms/alz">Azure Landing Zones (ALZ)</a> or the <a href="https://github.com/Azure/Enterprise-Scale/tree/main/docs/reference/treyresearch">Trey Research</a> small-enterprise reference. It targets a different profile entirely: very early-stage startups (pre-seed to Series A), 5–15 engineers, no dedicated platform team, typically a single workload in a single region, and no hybrid connectivity requirements. For those teams, the alternative isn't ALZ — it's usually a single subscription with zero governance. This project provides a minimal but secure baseline to start with, and an explicit <a href="/docs/graduation-guide">graduation guide</a> for when they're ready to evolve into the full ALZ architecture.
9797
</div>
9898
</section>

0 commit comments

Comments
 (0)