Responsive landing.

master
Patineta 10 years ago
parent c0d876e08c
commit 00c63661df

@ -14,7 +14,7 @@ javascripts_dir = "js"
# relative_assets = true # relative_assets = true
# To disable debugging comments that display the original location of your selectors. Uncomment: # To disable debugging comments that display the original location of your selectors. Uncomment:
# line_comments = false line_comments = false
# If you prefer the indented syntax, you might want to regenerate this # If you prefer the indented syntax, you might want to regenerate this

@ -3,7 +3,6 @@ body {
font-size: 16px; font-size: 16px;
line-height: 19px; line-height: 19px;
color: darken(#b1b5bd, 20%); color: darken(#b1b5bd, 20%);
min-width: 980px;
} }
section { section {
@ -26,7 +25,7 @@ img {
} }
.fixed-width { .fixed-width {
width: 980px; max-width: 980px;
margin: 0 auto; margin: 0 auto;
position: relative; position: relative;
} }
@ -89,3 +88,9 @@ span.code {
border-radius: 2px; border-radius: 2px;
font-size: 14px; font-size: 14px;
} }
@media screen and (max-width: 500px){
.width-50 {
width: 100%;
}
}

@ -2,9 +2,6 @@
.download { .download {
display: none !important; display: none !important;
} }
nav {
padding: 20px 0 25px;
}
ul { ul {
padding-top: 22px; padding-top: 22px;
} }

@ -59,7 +59,7 @@
font-size: 18px; font-size: 18px;
color: #858230; color: #858230;
display: block; display: block;
width: 880px; max-width: 880px;
margin: 0 auto; margin: 0 auto;
position: relative; position: relative;
@ -72,7 +72,60 @@
p { p {
font-style: italic; font-style: italic;
display: block; display: block;
width: 880px; max-width: 880px;
margin: 5px auto; margin: 5px auto;
} }
} }
@media screen and (max-width: 980px){
#features {
article{
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
width: 100%;
max-width: 800px;
margin: 40px auto !important;
padding: 0 8%;
overflow: hidden;
float: none;
}
}
.warning {
text-align: center;
h5:before {
display: none;
}
}
}
@media screen and (max-width: 750px){
#features {
.pochoclin {
padding: 0;
}
hr {
display: none;
}
hr + h2 {
margin-top: 20px;
font-size: 30px;
color: rgb(0, 0, 0);
}
}
}
@media screen and (max-width: 500px){
#features {
article{
padding-top: 20px;
max-width: 400px;
p {
margin-left: 105px;
}
img {
max-width: 80px;
}
}
}
}

@ -143,3 +143,29 @@
} }
} }
} }
@media screen and (max-width: 830px){
#footer {
nav {
padding: 20px 6%;
padding-bottom: 40px;
}
}
}
@media screen and (max-width: 500px){
#footer {
.logo {
float: none;
width: 193px;
margin: 10px auto;
}
nav {
ul {
float: none;
width: 100%;
text-align: center;
}
}
}
}

@ -31,3 +31,23 @@
} }
} }
} }
@media screen and (max-width: 830px){
#get-app {
.text {
padding: 0 5%;
font-size: 0.7em;
h2 {
font-size: 1.5em;
line-height: 1;
}
}
.platforms {
padding: 0;
li {
display: block;
margin: 40px 0;
}
}
}
}

@ -93,6 +93,7 @@
} }
.ui-screenshot { .ui-screenshot {
max-width: 100%;
box-shadow: 0px -10px 30px 10px rgba(67,244,249, .25); box-shadow: 0px -10px 30px 10px rgba(67,244,249, .25);
} }
} }
@ -152,3 +153,38 @@
text-decoration: none; text-decoration: none;
} }
} }
@media screen and (max-width: 1024px){
.align-left {
left: 4%;
}
.align-right {
right: 4%
}
}
@media screen and (max-width: 510px){
#header {
height: 480px;
position: static;
}
.container {
position: static;
}
.text {
h1 {
font-size: 2em;
}
max-width: 90%;
margin: 0 auto;
font-size: 0.8em;
}
nav {
.align-left, .align-right {
display: none;
}
}
#links {
display: none;
}
}

@ -105,3 +105,15 @@
margin-left: -150px; margin-left: -150px;
} }
} }
@media screen and (max-width: 830px) {
#how {
background-position: left;
.ui-screenshot {
display: none;
}
.fixed-width {
max-width: 270px;
}
}
}

File diff suppressed because it is too large Load Diff

@ -54,6 +54,7 @@
:@. ;: ;''';. ';;;'',:'#@@#+';,` :@. ;: ;''';. ';;;'',:'#@@#+';,`
:@; `'++#@@##';,.` :@; `'++#@@##';,.`
;,.` --> ;,.` -->
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="icon" href="favicon.ico" type="image/x-icon"> <link rel="icon" href="favicon.ico" type="image/x-icon">
<meta name="description" content="Stream movies from torrents. Skip the downloads. Launch, click, watch." /> <meta name="description" content="Stream movies from torrents. Skip the downloads. Launch, click, watch." />
@ -169,7 +170,7 @@
</section> </section>
<section id="get-app"> <section id="get-app">
<div class="fadeIn wow"> <div class="text fadeIn wow">
<h2>A whole new way to watch movies</h2> <h2>A whole new way to watch movies</h2>
<p>Just take care of the popcorn &amp; leave the rest to us.</p> <p>Just take care of the popcorn &amp; leave the rest to us.</p>
</div> </div>

@ -1,3 +1,5 @@
// Disable WOW on small screens.
if($(window).width() > 768) {
wow = new WOW( wow = new WOW(
{ {
animateClass: 'animated', animateClass: 'animated',
@ -5,6 +7,7 @@ wow = new WOW(
} }
); );
wow.init(); wow.init();
});
var userAgent = navigator.platform; var userAgent = navigator.platform;
//alert(userAgent); //alert(userAgent);

Loading…
Cancel
Save