diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index 5f4624e..4f3025f 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -7,7 +7,3 @@ a { color: #00B7FF; } -form { - display: flex; - flex-direction: column; -} \ No newline at end of file diff --git a/public/stylesheets/submit.css b/public/stylesheets/submit.css new file mode 100644 index 0000000..df8ee7a --- /dev/null +++ b/public/stylesheets/submit.css @@ -0,0 +1,4 @@ +form { + display: flex; + flex-direction: column; +} \ No newline at end of file diff --git a/views/index.pug b/views/index.pug index 0b587c6..9cc4f1b 100644 --- a/views/index.pug +++ b/views/index.pug @@ -1,5 +1,8 @@ extends layout +block stylesheets + link(rel='stylesheet', href='/stylesheets/submit.css') + block content h1 Submit Score form(action='/submit', method='POST') diff --git a/views/layout.pug b/views/layout.pug index 15af079..f91cc8c 100644 --- a/views/layout.pug +++ b/views/layout.pug @@ -2,6 +2,7 @@ doctype html html head title= title - link(rel='stylesheet', href='/stylesheets/style.css') + block stylesheets + link(rel='stylesheet', href='/stylesheets/style.css') body block content