From 0380a97230023a78ad08b738c4520e901485ed63 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 10 Dec 2022 09:29:30 -0500 Subject: Added Rails engine for scoreboard refs #13 --- rails/app/assets/config/lingo_manifest.js | 2 ++ rails/app/assets/images/lingo/.keep | 0 rails/app/assets/images/lingo/header.png | Bin 0 -> 1213722 bytes rails/app/assets/stylesheets/lingo/application.css | 15 +++++++++++++ rails/app/assets/stylesheets/lingo/main.css.scss | 24 +++++++++++++++++++++ 5 files changed, 41 insertions(+) create mode 100644 rails/app/assets/config/lingo_manifest.js create mode 100644 rails/app/assets/images/lingo/.keep create mode 100644 rails/app/assets/images/lingo/header.png create mode 100644 rails/app/assets/stylesheets/lingo/application.css create mode 100644 rails/app/assets/stylesheets/lingo/main.css.scss (limited to 'rails/app/assets') diff --git a/rails/app/assets/config/lingo_manifest.js b/rails/app/assets/config/lingo_manifest.js new file mode 100644 index 0000000..32c12fb --- /dev/null +++ b/rails/app/assets/config/lingo_manifest.js @@ -0,0 +1,2 @@ +//= link_directory ../stylesheets/lingo .css +//= link lingo/header.png diff --git a/rails/app/assets/images/lingo/.keep b/rails/app/assets/images/lingo/.keep new file mode 100644 index 0000000..e69de29 diff --git a/rails/app/assets/images/lingo/header.png b/rails/app/assets/images/lingo/header.png new file mode 100644 index 0000000..9384865 Binary files /dev/null and b/rails/app/assets/images/lingo/header.png differ diff --git a/rails/app/assets/stylesheets/lingo/application.css b/rails/app/assets/stylesheets/lingo/application.css new file mode 100644 index 0000000..0ebd7fe --- /dev/null +++ b/rails/app/assets/stylesheets/lingo/application.css @@ -0,0 +1,15 @@ +/* + * This is a manifest file that'll be compiled into application.css, which will include all the files + * listed below. + * + * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, + * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path. + * + * You're free to add application-wide styles to this file and they'll appear at the bottom of the + * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS + * files in this directory. Styles in this file should be added after the last require_* statement. + * It is generally better to create a new file per style scope. + * + *= require_tree . + *= require_self + */ diff --git a/rails/app/assets/stylesheets/lingo/main.css.scss b/rails/app/assets/stylesheets/lingo/main.css.scss new file mode 100644 index 0000000..c5bdad0 --- /dev/null +++ b/rails/app/assets/stylesheets/lingo/main.css.scss @@ -0,0 +1,24 @@ +body { + background-color: black; + color: white; +} + +#header { + width: 100%; + + img { + max-width: 80%; + margin: 0 auto; + display: block; + } +} + +h2 { + text-align: center; + font-family: sans-serif; +} + +#scores { + width: 50%; + margin: 0 auto; +} \ No newline at end of file -- cgit 1.4.1