Skip to content

Commit

Permalink
Add CodeMirror 6 banner to front page
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnh committed Jan 12, 2021
1 parent 14dec2b commit 8d13f24
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,13 @@
.CodeMirror { height: auto; border: 1px solid #ddd; }
.CodeMirror-scroll { max-height: 200px; }
.CodeMirror pre { padding-left: 7px; line-height: 1.25; }
.banner { background: #ffc; padding: 6px; border-bottom: 2px solid silver; }
.banner div { margin: 0 auto; max-width: 700px; text-align: center; }
.banner { background: #ffc; padding: 6px; border-bottom: 2px solid silver; text-align: center }
</style>

<div class=banner>
‼️ Check out the upcoming <a href="https://codemirror.net/6/">CodeMirror 6</a>, a much-improved rewrite! ✨
</div>

<div id=nav>
<a href="https://codemirror.net"><h1>CodeMirror</h1><img id=logo src="doc/logo.png"></a>

Expand Down

0 comments on commit 8d13f24

Please sign in to comment.