diff --git a/Gemfile b/Gemfile index 676edce..bfd0fc1 100644 --- a/Gemfile +++ b/Gemfile @@ -14,6 +14,8 @@ gem 'sdoc', '~> 0.4.0', group: :doc gem 'devise' gem 'gravatar-ultimate' +gem 'bootstrap-sass' + group :development do gem 'pry' #debugger gem 'spring' diff --git a/Gemfile.lock b/Gemfile.lock index 2b18e36..b2ec167 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -29,6 +29,8 @@ GEM tzinfo (~> 1.1) arel (5.0.1.20140414130214) bcrypt (3.1.7) + bootstrap-sass (3.3.1.0) + sass (~> 3.2) builder (3.2.2) celluloid (0.16.0) timers (~> 4.0.0) @@ -159,6 +161,7 @@ PLATFORMS ruby DEPENDENCIES + bootstrap-sass coffee-rails (~> 4.0.0) devise gravatar-ultimate diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index ab8208b..6fbdb6a 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -12,5 +12,6 @@ // //= require jquery //= require jquery_ujs +//= require bootstrap-sprockets // require turbolinks //= require_tree . diff --git a/app/assets/stylesheets/bootstrap_customization.css.scss b/app/assets/stylesheets/bootstrap_customization.css.scss new file mode 100644 index 0000000..5e4e2ff --- /dev/null +++ b/app/assets/stylesheets/bootstrap_customization.css.scss @@ -0,0 +1,17 @@ +$navbar-default-bg:#e67e22; +$navbar-default-link-color: white; + +@import "bootstrap-sprockets"; +@import 'bootstrap'; + +.center { + text-align: center; +} + +body { + color: black; +} + +.navbar-brand { + font-weight: bold; +} \ No newline at end of file diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 2b30fbe..350b158 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -5,8 +5,7 @@ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> - - +