summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorRosemary Sanchez <rsanchez@madebyuppercut.com>2013-07-22 10:54:50 -0600
committerRosemary Sanchez <rsanchez@madebyuppercut.com>2013-07-22 10:54:50 -0600
commitd935b39a538d2db1732b3d94a08ab73b14f00650 (patch)
treee49dcee49c8b005b3c301c67cbfd12d9729ee4bd /app
parent41f653d5b650b6764253da4f7ac4876115c88ef0 (diff)
Support tablets and make display look better on iPhones.
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/media-queries.css.scss22
1 files changed, 19 insertions, 3 deletions
diff --git a/app/assets/stylesheets/media-queries.css.scss b/app/assets/stylesheets/media-queries.css.scss
index bea6408..14b913a 100644
--- a/app/assets/stylesheets/media-queries.css.scss
+++ b/app/assets/stylesheets/media-queries.css.scss
@@ -3,18 +3,23 @@
.container { min-height: 600px; }
}
-/* Portrait tablet to landscape and desktop */
-@media (min-width: 768px) and (max-width: 979px) {
+@media (min-width: 979px) and (orientation: landscape) {
+ h1#logo { float: none; }
#new_sign_up{
.field{
input[type="email"]{
- width: 240px;
+ width: 540px;
}
margin-right: 20px;
}
}
}
+/* Portrait tablet to landscape and desktop */
+@media (min-width: 768px) and (max-width: 979px) {
+ h1#logo { float: none; }
+}
+
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
body { padding: 0; }
@@ -45,3 +50,14 @@
}
}
}
+
+@media (max-width: 480px) and (orientation: landscape){
+ #new_sign_up{
+ .field{
+ input[type="email"]{
+ width: 400px;
+ }
+ margin-right: 20px;
+ }
+ }
+}