From 9d64e8898f767b42ce231b34abe4333007d7d0df Mon Sep 17 00:00:00 2001 From: Tomer Kimia Date: Sat, 1 Mar 2014 21:31:39 -0500 Subject: Added bootstrap and games to routes --- app/assets/stylesheets/custom.css.scss | 1 + 1 file changed, 1 insertion(+) create mode 100644 app/assets/stylesheets/custom.css.scss (limited to 'app/assets') diff --git a/app/assets/stylesheets/custom.css.scss b/app/assets/stylesheets/custom.css.scss new file mode 100644 index 0000000..b0692d8 --- /dev/null +++ b/app/assets/stylesheets/custom.css.scss @@ -0,0 +1 @@ +@import "bootstrap"; \ No newline at end of file -- cgit v1.2.3-2-g168b From c1f3f731cdf3201905fd8797dd4fe33783f2bc53 Mon Sep 17 00:00:00 2001 From: Tomer Kimia Date: Sat, 1 Mar 2014 22:53:08 -0500 Subject: quick and dirty css --- app/assets/stylesheets/scaffolds.css.scss | 78 +++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 app/assets/stylesheets/scaffolds.css.scss (limited to 'app/assets') diff --git a/app/assets/stylesheets/scaffolds.css.scss b/app/assets/stylesheets/scaffolds.css.scss new file mode 100644 index 0000000..7561529 --- /dev/null +++ b/app/assets/stylesheets/scaffolds.css.scss @@ -0,0 +1,78 @@ +body { + background-color: #909090; + color: #333; + font-family: verdana, arial, helvetica, sans-serif; + font-size: 13px; + line-height: 18px; + + h1, h2, h3, h4, h5{ + color: #F0F0F0; + } +} + +p, ol, ul, td { + font-family: verdana, arial, helvetica, sans-serif; + font-size: 13px; + line-height: 18px; +} + +pre { + background-color: #eee; + padding: 10px; + font-size: 11px; +} + +a { + color: #000; + &:visited { + color: #666; + } + &:hover { + color: #fff; + background-color: #000; + } +} + +div { + &.field, &.actions { + margin-bottom: 10px; + } +} + +#notice { + color: green; +} + +.field_with_errors { + padding: 2px; + background-color: red; + display: table; +} + +#error_explanation { + width: 450px; + border: 2px solid red; + padding: 7px; + padding-bottom: 0; + margin-bottom: 20px; + background-color: #f0f0f0; + h2 { + text-align: left; + font-weight: bold; + padding: 5px 5px 5px 15px; + font-size: 12px; + margin: -7px; + margin-bottom: 0px; + background-color: #c00; + color: #fff; + } + ul li { + font-size: 12px; + list-style: square; + } +} + + +#footer{ + text-align: center; +} -- cgit v1.2.3-2-g168b From 699bd065c06689a159c11ac3aacef6b34001617c Mon Sep 17 00:00:00 2001 From: Tomer Kimia Date: Sun, 2 Mar 2014 12:00:52 -0500 Subject: new homepage, better css --- app/assets/stylesheets/application.css | 13 ++++++++++++- app/assets/stylesheets/scaffolds.css.scss | 15 +++++++++++++-- app/assets/stylesheets/static.css.scss | 12 ++++++++++++ 3 files changed, 37 insertions(+), 3 deletions(-) create mode 100644 app/assets/stylesheets/static.css.scss (limited to 'app/assets') diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 3192ec8..355c0d4 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -9,5 +9,16 @@ * compiled file, but it's generally better to create a new file per style scope. * *= require_self - *= require_tree . + *= require_tree + */ + +#query{ + background-color: #888; + border: 2px solid #ED9C28; + border-radius: 5px; + color: #FFF; + font-weight: bold; + height: 30px; + +} \ No newline at end of file diff --git a/app/assets/stylesheets/scaffolds.css.scss b/app/assets/stylesheets/scaffolds.css.scss index 7561529..8279f4f 100644 --- a/app/assets/stylesheets/scaffolds.css.scss +++ b/app/assets/stylesheets/scaffolds.css.scss @@ -1,12 +1,12 @@ body { - background-color: #909090; + background-color: #EEEEEE; color: #333; font-family: verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 18px; h1, h2, h3, h4, h5{ - color: #F0F0F0; + color: #0f0f0f; } } @@ -72,6 +72,17 @@ div { } } +hr { + -moz-border-bottom-colors: none; + -moz-border-image: none; + -moz-border-left-colors: none; + -moz-border-right-colors: none; + -moz-border-top-colors: none; + border-color: #999 -moz-use-text-color #FFFFFF; + border-style: solid none; + border-width: 1px 0; + margin: 18px 0; +} #footer{ text-align: center; diff --git a/app/assets/stylesheets/static.css.scss b/app/assets/stylesheets/static.css.scss new file mode 100644 index 0000000..9457e7f --- /dev/null +++ b/app/assets/stylesheets/static.css.scss @@ -0,0 +1,12 @@ +// Place all the styles related to the static controller here. +// They will automatically be included in application.css. +// You can use Sass (SCSS) here: + +.jumbotron { + background-color: #FFF; + + p { + line-height: 1.5em; + } + +} \ No newline at end of file -- cgit v1.2.3-2-g168b