summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/media-queries.css.scss
blob: 53323b855aec4d4ab36581b8c587e8f1e37d6236 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/* Large desktop */
@media (min-width: 1200px) {
  .container {
    min-height: 600px;
  }
}

@media (max-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) {
  h1#logo {
    float: none;
  }
}

/* Landscape phone to portrait tablet */
@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) {
  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 asset-url('mobile/logo.png') no-repeat 0 0;
    width: 250px;
    height: 69px;
  }
  #logo, .field, .action {
    float: none;
  }
  #new_sign_up {
    .field{
      input[type="email"]{
        width: 240px;
      }
      margin-right: 20px;
    }
  }
}

@media (max-width: 480px) and (orientation: landscape){
  #new_sign_up {
    .field{
      input[type="email"] {
        width: 400px;
      }
      margin-right: 20px;
    }
  }
}