add background

This commit is contained in:
Zachary Chai 2016-11-02 16:32:23 -04:00
parent 595ff619c8
commit 29a0796a5c
3 changed files with 9 additions and 2 deletions

View File

@ -9,6 +9,10 @@ html, body {
height: 100%;
}
.app-background {
background: linear-gradient(0, white 65%, #4DC0A2 35%);
}
.header {
padding: 20px 40px;
@ -31,6 +35,9 @@ html, body {
.center-block {
float: none;
}
.center-panel-size {
width: 650px;
}
.input-spacing {
margin-top: 15px;

View File

@ -9,7 +9,7 @@
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
</head>
<body data-controller="<%= params[:controller] %>" data-action="<%= params[:action] %>">
<body class="app-background" data-controller="<%= params[:controller] %>" data-action="<%= params[:action] %>">
<!-- Messages -->
<div id='messages' class='hidden'>
</div>

View File

@ -1,6 +1,6 @@
<div class="center-panel">
<div class="row">
<div class="center-block col-sm-4">
<div class="center-block center-panel-size">
<div class="panel panel-default">
<div class="panel-body">
<h3 class="title-wrapper text-center">