Instead of using style= in html, we should move these styles to style.css. That is, make a new CSS class (with the same style that's set in index.html), and change the html to have a class attribute rather than a style attribute. For example, <img class="github-banner" ... or <select class="language-select" ...
We have two places in
index.html
using hardcodedstyle=
attribute.https://github.com/mkasberg/script-seed/blob/2a0b5db337accd223365f335bbcba6cbc9ac5470/index.html#L20
https://github.com/mkasberg/script-seed/blob/2a0b5db337accd223365f335bbcba6cbc9ac5470/index.html#L37
Instead of using
style=
in html, we should move these styles tostyle.css
. That is, make a new CSS class (with the same style that's set in index.html), and change the html to have aclass
attribute rather than astyle
attribute. For example,<img class="github-banner" ...
or<select class="language-select" ...