<%= yield :head %>
<title><%= t 'layouts.project_name.title' %><%= ' | '+ h(@title) if @title %></title>
</head>
- <body>
+ <body class="slim">
+ <div id="slim_container">
+ <div id="slim_container_content">
+ <div id="slim_content">
+ <% if flash[:error] %>
+ <div id="error"><%= flash[:error] %></div>
+ <% end %>
+ <% if flash[:warning] %>
+ <div id="warning"><%= flash[:warning] %></div>
+ <% end %>
+ <% if flash[:notice] %>
+ <div id="notice"><%= flash[:notice] %></div>
+ <% end %>
- <div id="slim_content">
- <% if flash[:error] %>
- <div id="error"><%= flash[:error] %></div>
- <% end %>
- <% if flash[:warning] %>
- <div id="warning"><%= flash[:warning] %></div>
- <% end %>
- <% if flash[:notice] %>
- <div id="notice"><%= flash[:notice] %></div>
- <% end %>
+ <%= yield %>
+ </div>
- <%= yield %>
+ <div id="slim_header">
+ <h1><%= image_tag("osm_logo.png", :size => "60x60", :border => 0, :alt => t('layouts.logo.alt_text')) %><%= t 'layouts.project_name.h1' %></h1>
+ </div>
+ </div>
</div>
- <div id="slim_header">
- <h1><%= image_tag("osm_logo.png", :size => "60x60", :border => 0, :alt => t('layouts.logo.alt_text')) %><%= t 'layouts.project_name.h1' %></h1>
- </div>
-
-
</body>
</html>
padding: 0px;
}
+body.slim {
+ background-color: #f0f0f0;
+}
+
/* Rules for links */
a {
text-align: left;
}
+#slim_container {
+ width: 100%;
+}
+
+#slim_container_content {
+ max-width: 50em;
+ height: 650px;
+ background-color: #FFFFFF;
+ margin: 10px auto;
+ padding: 3px;
+ border-radius: 25px;
+ -moz-border-radius: 25px;
+ border: 1px solid #e6e6e6;
+}
+
#slim_content {
margin: 10px;
position: absolute;
#slim_header {
margin: 10px;
- background: url('../images/tab_bottom.gif') repeat-x bottom;
}
#slim_header img {