0

Railsアプリケーションがあります。

問題: ファイル app/stylesheets/application.css が出力 html で変更されません。アプリケーション.css

body {
  font-family: micfont;
  background-color: lightgrey;
  min-width: 1200px;
  padding: 10px;
  padding-bottom: 100px;
  background-image: url(header.jpg);
}

アプリ/ビュー/レイアウト/index.html.haml

%html
  %head
    %title SkyDance
      = stylesheet_link_tag    "application", :media => "all"
      = javascript_include_tag "application"
      = stylesheet_link_tag    "bootstrap_and_overrides", :media => "all"
      = csrf_meta_tags
  %body
    .navbar-wrapper.navbar-margin-top
      .container
        .navbar.navbar-opacity-white
          .navbar-inner
            %a.btn.btn-navbar{ "data-target" => ".nav-collapse", "data-toggle" => "collapse" }
          .nav-collapse.collapse
            %ul.nav
              %li
                %a{ :href => about_welcome_index_path }= t('.about_us')
              %li
                %a{ :href => schedule_path }= t('.schedule_and_prices')
              %li
                %a{ :href => genres_path }= t('.dances')
              %li
                %a{ :href => teachers_path }= t('.teachers')
              %li
                %a{ :href => contacts_welcome_index_path }= t('.contacts')
  .row-fluid  
    .container.content
      = yield
   = render 'layouts/footer'
4

1 に答える 1