Skip to content

Commit 321be68

Browse files
committed
Make the loading error message more prominent
since we're using modern JS
1 parent 21f856c commit 321be68

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

index.html

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,12 @@ <h3><em>Convert a Scratch project to HTML</em></h3>
105105
</p>
106106
<div id="root">
107107
<noscript>
108-
<p>
109-
<strong
110-
>Please enable JavaScript. Converting projects can't be done with
111-
HTML and CSS alone.</strong
112-
>
108+
<p class="problem">
109+
Please enable JavaScript. Converting projects can't be done with
110+
HTML and CSS alone.
113111
</p>
114112
</noscript>
115-
<p class="delayed">
113+
<p class="problem delayed">
116114
If you see this, you can check to see if there were
117115
<a href="#errors">any issues</a> loading the HTMLifier. Make sure
118116
you're using a modern browser.

main.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ body {
4848
z-index: 1000;
4949
animation: none;
5050
}
51+
.problem {
52+
font-weight: bold;
53+
color: #faa;
54+
}
5155
.delayed {
5256
animation: appear 0.5s 3s backwards;
5357
}

0 commit comments

Comments
 (0)