diff options
Diffstat (limited to 'rails/app/assets/stylesheets')
-rw-r--r-- | rails/app/assets/stylesheets/lingo/application.css | 15 | ||||
-rw-r--r-- | rails/app/assets/stylesheets/lingo/main.css.scss | 24 |
2 files changed, 39 insertions, 0 deletions
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 | ||