diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-10 09:29:30 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-10 09:29:30 -0500 |
commit | 0380a97230023a78ad08b738c4520e901485ed63 (patch) | |
tree | 2f3b4e91453962fd5bb36cf652c808cb7f41c3a7 /rails/app/assets | |
parent | 6af7b09fa551c6cc980bb54fefd1db88c904654f (diff) | |
download | lingo-0380a97230023a78ad08b738c4520e901485ed63.tar.gz lingo-0380a97230023a78ad08b738c4520e901485ed63.tar.bz2 lingo-0380a97230023a78ad08b738c4520e901485ed63.zip |
Added Rails engine for scoreboard
refs #13
Diffstat (limited to 'rails/app/assets')
-rw-r--r-- | rails/app/assets/config/lingo_manifest.js | 2 | ||||
-rw-r--r-- | rails/app/assets/images/lingo/.keep | 0 | ||||
-rw-r--r-- | rails/app/assets/images/lingo/header.png | bin | 0 -> 1213722 bytes | |||
-rw-r--r-- | rails/app/assets/stylesheets/lingo/application.css | 15 | ||||
-rw-r--r-- | rails/app/assets/stylesheets/lingo/main.css.scss | 24 |
5 files changed, 41 insertions, 0 deletions
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 @@ | |||
1 | //= link_directory ../stylesheets/lingo .css | ||
2 | //= 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 --- /dev/null +++ b/rails/app/assets/images/lingo/.keep | |||
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 --- /dev/null +++ b/rails/app/assets/images/lingo/header.png | |||
Binary files 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 @@ | |||
1 | /* | ||
2 | * This is a manifest file that'll be compiled into application.css, which will include all the files | ||
3 | * listed below. | ||
4 | * | ||
5 | * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, | ||
6 | * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path. | ||
7 | * | ||
8 | * You're free to add application-wide styles to this file and they'll appear at the bottom of the | ||
9 | * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS | ||
10 | * files in this directory. Styles in this file should be added after the last require_* statement. | ||
11 | * It is generally better to create a new file per style scope. | ||
12 | * | ||
13 | *= require_tree . | ||
14 | *= require_self | ||
15 | */ | ||
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 @@ | |||
1 | body { | ||
2 | background-color: black; | ||
3 | color: white; | ||
4 | } | ||
5 | |||
6 | #header { | ||
7 | width: 100%; | ||
8 | |||
9 | img { | ||
10 | max-width: 80%; | ||
11 | margin: 0 auto; | ||
12 | display: block; | ||
13 | } | ||
14 | } | ||
15 | |||
16 | h2 { | ||
17 | text-align: center; | ||
18 | font-family: sans-serif; | ||
19 | } | ||
20 | |||
21 | #scores { | ||
22 | width: 50%; | ||
23 | margin: 0 auto; | ||
24 | } \ No newline at end of file | ||