bootstrap-rails
has been deprecated, use bootstrap-sass
instead.
Gemfile:
gem 'sass-rails', '>= 3.2' # sass-rails needs to be higher than 3.2
gem 'bootstrap-sass', '~> 3.1.1'
Once you install the gem, make sure to restart your app/webserver.
Then rename your app/assets/stylesheets/application.css
file to app/assets/stylesheets/application.css.scss
and add the following:
@import "bootstrap";
html,body {
height:100%;
}
h1 {
font-family: Arial,sans-serif
font-size:80px;
color:#DDCCEE;
}
.lead {
color:#DDCCEE;
}
/* Custom container */
.container-full {
margin: 0 auto;
width: 100%;
min-height:100%;
background-color:#110022;
color:#eee;
overflow:hidden;
}
.container-full a {
color:#efefef;
text-decoration:none;
}
.v-center {
margin-top:7%;
}