Skip to content

Commit 4541aaf

Browse files
committed
Warning style
1 parent 5d90181 commit 4541aaf

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/css/custom.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,3 +431,15 @@ body:not(.is-scrolling) .navbar {
431431
.scroll-target {
432432
scroll-margin-top: 130px; /* Slightly more than title bar */
433433
}
434+
435+
.warning {
436+
background-color: rgb(250, 56, 62, 0.15);
437+
padding: 0 10px;
438+
border-radius: 5px;
439+
border: 1px solid rgb(122, 2, 2);
440+
}
441+
442+
.warning::before {
443+
content: '⚠️ WARNING: ';
444+
margin-right: 10px;
445+
}

0 commit comments

Comments
 (0)