Skip to content

Commit 8d13f24

Browse files
committed
Add CodeMirror 6 banner to front page
1 parent 14dec2b commit 8d13f24

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

index.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@
1818
.CodeMirror { height: auto; border: 1px solid #ddd; }
1919
.CodeMirror-scroll { max-height: 200px; }
2020
.CodeMirror pre { padding-left: 7px; line-height: 1.25; }
21-
.banner { background: #ffc; padding: 6px; border-bottom: 2px solid silver; }
22-
.banner div { margin: 0 auto; max-width: 700px; text-align: center; }
21+
.banner { background: #ffc; padding: 6px; border-bottom: 2px solid silver; text-align: center }
2322
</style>
2423

24+
<div class=banner>
25+
‼️ Check out the upcoming <a href="https://codemirror.net/6/">CodeMirror 6</a>, a much-improved rewrite! ✨
26+
</div>
27+
2528
<div id=nav>
2629
<a href="https://codemirror.net"><h1>CodeMirror</h1><img id=logo src="doc/logo.png"></a>
2730

0 commit comments

Comments
 (0)