summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorRosemary Sanchez <rsanchez@madebyuppercut.com>2013-07-22 10:13:57 -0700
committerRosemary Sanchez <rsanchez@madebyuppercut.com>2013-07-22 10:13:57 -0700
commitb790eddc98bdedd991c7928e674593692753ccb9 (patch)
treee49dcee49c8b005b3c301c67cbfd12d9729ee4bd /app
parent08934f3a8154bea6b157f6156ec75058c7ea54a3 (diff)
parentd935b39a538d2db1732b3d94a08ab73b14f00650 (diff)
Merge pull request #3 from madebyuppercut/rose
Rose
Diffstat (limited to 'app')
-rw-r--r--app/assets/images/mobile/logo.pngbin3298 -> 2810 bytes
-rw-r--r--app/assets/stylesheets/custom.css.scss14
-rw-r--r--app/assets/stylesheets/media-queries.css.scss46
-rw-r--r--app/views/layouts/application.html.erb8
4 files changed, 48 insertions, 20 deletions
diff --git a/app/assets/images/mobile/logo.png b/app/assets/images/mobile/logo.png
index 7b3b046..2bbc327 100644
--- a/app/assets/images/mobile/logo.png
+++ b/app/assets/images/mobile/logo.png
Binary files differ
diff --git a/app/assets/stylesheets/custom.css.scss b/app/assets/stylesheets/custom.css.scss
index 61220de..d04e9a4 100644
--- a/app/assets/stylesheets/custom.css.scss
+++ b/app/assets/stylesheets/custom.css.scss
@@ -9,18 +9,14 @@ body {
footer{
background-color: $blue;
- /*bottom: 0;*/
- /*position: absolute;*/
- /*width: 100%;*/
- padding: 20px 20px;
+ bottom: 0;
+ width: 100%;
+ padding: 20px 0 220px;
+ text-align: center;
.content{
color: white;
- margin: 0 auto;
- margin-bottom: 220px;
- text-align: center;
- border: 1px solid magenta;
-
+ .row { margin: 0 auto; }
a{
color: white;
&:hover{ text-decoration: underline; }
diff --git a/app/assets/stylesheets/media-queries.css.scss b/app/assets/stylesheets/media-queries.css.scss
index 6e51629..14b913a 100644
--- a/app/assets/stylesheets/media-queries.css.scss
+++ b/app/assets/stylesheets/media-queries.css.scss
@@ -1,24 +1,45 @@
/* Large desktop */
@media (min-width: 1200px) {
+ .container { min-height: 600px; }
+}
- /*740px;*/
+@media (min-width: 979px) and (orientation: landscape) {
+ h1#logo { float: none; }
+ #new_sign_up{
+ .field{
+ input[type="email"]{
+ width: 540px;
+ }
+ margin-right: 20px;
+ }
+ }
}
/* Portrait tablet to landscape and desktop */
-@media (min-width: 768px) and (max-width: 979px) {}
+@media (min-width: 768px) and (max-width: 979px) {
+ h1#logo { float: none; }
+}
/* Landscape phone to portrait tablet */
-@media (max-width: 767px) {}
+@media (max-width: 767px) {
+ body { padding: 0; }
+ #main{ padding: 0 20px; }
+ h2, .about {font-size: 1.5em; line-height: 1.25em;}
+}
/* Landscape phones and down */
@media (max-width: 480px) {
- #logo {
+ body { padding: 0; }
+
+ h2, .about {font-size: 1.5em; line-height: 1.25em;}
+ footer{ width: 100%; margin: 0;}
+ #main{ padding: 0 20px; }
+ h1#logo {
background: transparent url('/assets/mobile/logo.png') no-repeat 0 0;
- /*width: 250px;
- height: 69px;*/
+ width: 250px;
+ height: 69px;
}
#logo, .field, .action { float: none; }
- h2, .about {font-size: 1.5em; line-height: 1.25em;}
#new_sign_up{
.field{
@@ -29,3 +50,14 @@
}
}
}
+
+@media (max-width: 480px) and (orientation: landscape){
+ #new_sign_up{
+ .field{
+ input[type="email"]{
+ width: 400px;
+ }
+ margin-right: 20px;
+ }
+ }
+}
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index 67222a0..b742eca 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -26,14 +26,14 @@
<%= yield %>
</div>
</div>
- <footer>
- </footer>
</div>
</div> <!--! end of .container -->
</div> <!--! end of #main -->
<footer>
- <div class="content span12">
- <%= link_to "Privacy Policy" %> &copy; 2013 Parley, Inc. All rights reserved.
+ <div class="content">
+ <div class="row">
+ <%= link_to "Privacy Policy" %> &copy; 2013 Parley, Inc. All rights reserved.
+ </div>
</div>
</footer>
<%= javascript_include_tag :application %>