philhanna / crossword

Crossword puzzle editor
MIT License
2 stars 0 forks source link

Move scattered style bits into common file #105

Closed philhanna closed 4 years ago

philhanna commented 4 years ago

Requirements

There are several places where there are individual <style> blocks inside HTML files. Need to move them into a common style.css file and include them in header.html:

grep -rn '<style>'
crossword/ui/templates/grid-choose.html:3:   <style>
crossword/ui/templates/puzzle.html:18:    <style>
crossword/ui/templates/puzzle.html:122:    <style>
crossword/ui/templates/puzzle-choose.html:3:   <style>
crossword/ui/templates/grid.html:15:    <style>
philhanna commented 4 years ago

I am including the style.css file in header.html right now because it will probably get edited a lot in development. At some point, it should be moved into /static and linked rather than included.