Adjust login page to Bootstrap.

This commit is contained in:
Roland Jesse 2012-04-30 21:03:32 +02:00
parent 66f2b23962
commit 09f716450d
2 changed files with 22 additions and 11 deletions

View file

@ -200,6 +200,18 @@ font-weight: 400;
line-height: 1.75em;
}
/* Header on login page. */
.login_header {
height: 40px;
}
/* The logo on the login page is centered in the header. */
.login_logo {
font-size: 125%;
text-align: center;
padding-top: 1ex;
padding-bottom: 1ex;
}
/* Login form */
.login {
margin-top: 50px;

View file

@ -3,21 +3,20 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>Contact-o-Rama - <%= yield(:title) %></title>
<%= stylesheet_link_tag "reset.css", :media => "screen, projection" %>
<%= stylesheet_link_tag "1140" %>
<!--[if lte IE 9]>
<%= stylesheet_link_tag "ie.css" %>
<![endif]-->
<%= stylesheet_link_tag "layout" %>
<%= javascript_include_tag :defaults %>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tag %>
<title>Contact-o-Rama - <%= yield(:title) %></title>
</head>
<body>
<div class="header">
<div align="center"><span class="logo_contact">Contact</span><span class="logo_o-rama">-o-Rama</span></div>
<header class="navbar navbar-fixed-top">
<nav class="navbar-inner">
<div class="container login_header">
<div class="login_logo"><span class="logo_contact">Contact</span><span class="logo_o-rama">-o-Rama</span></div>
</div>
</nav>
</header>
</div>
<div class="container">