Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template en base al diseño del Home #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
967 changes: 966 additions & 1 deletion templates/css/estilos.css

Large diffs are not rendered by default.

101 changes: 101 additions & 0 deletions templates/home.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>Document</title>
<link href='http://fonts.googleapis.com/css?family=Varela+Round' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/estilos.css">
</head>
<body id="home">
<header class="small medium large">
<div class="relative banner-home">
<div class="logo-nav">
<figure class="image relative isotipo">
<img src="img/logo_home.png" alt="Sfotipy"/>
</figure>
<a href="#" class="login-btn large">Log in</a>
</div>
<h2 class="slogan" >Toda la musica que te gusta, en todas partes</h2>
<div id="social-content">
<a href="javascript:;" class="fb-login"><i class="social-icon icon-facebook"></i><span class="login-text">Conéctate con Facebook</span></a>
<a href="javascript:;" class="tw-login"><i class="social-icon icon-twitter"></i><span class="login-text">Conéctate con Twitter</span></a>
<span class="create-account large">
Or
<a href="" class="create-account-btn">Create Account</a>
</span>
</div>
</div>
</header>
<section class="home-content small medium large">
<nav class="menu-login small medium">
<ul>
<li><span>Log in</span></li>
<li><span>Create account</span></li>
</ul>
</nav>
<article class="home-info">
<figure class="home-info-image">
<img class="small" src="img/home/escucha-img-small.jpg" alt="Escucha">
<img class=" medium" src="img/home/escucha-img.jpg" alt="Escucha">
<img class=" large" src="img/home/escucha-img-large.png" alt="Escucha">
</figure>
<div class="home-info-content medium large">
<h3 class="home-info-title">Escucha</h3>
<span class="home-info-description">
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
</span>
</div>
</article>
<article class="home-info">
<div class="home-info-content large">
<h3 class="home-info-title">Comparte</h3>
<span class="home-info-description">
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
</span>
</div>
<figure class="home-info-image">
<img class="small" src="img/home/comparte-img-small.jpg" alt="Comparte">
<img class=" medium" src="img/home/comparte-img.jpg" alt="Comparte">
<img class=" large" src="img/home/comparte-img-large.png" alt="Comparte">
</figure>
<div class="home-info-content small medium">
<h3 class="home-info-title">Comparte</h3>
<span class="home-info-description">
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
</span>
</div>
</article>
<article class="home-info">
<figure class="home-info-image">
<img class="small" src="img/home/makeplaylist-img-small.jpg" alt="Crea y sigue playlists">
<img class=" medium" src="img/home/makeplaylist-img.jpg" alt="Crea y sigue playlists">
<img class=" large" src="img/home/makeplaylist-img-large.png" alt="Crea y sigue playlists">
</figure>
<div class="home-info-content medium large">
<h3 class="home-info-title">Crea y sigue playlists</h3>
<span class="home-info-description">
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
</span>
</div>
</article>
<a href="#" class="start-to-listening small">Empieza a escuchar ya</a>
</section>
<!-- <section class="home-content large">
<article class="home-info-row">

</article>
</section> -->
<footer class="home-footer">
<div class="wrapper">
<i class="home-footer-logo icon-sfotipy"></i>
<nav class="home-footer-menu">
<ul>
<li><a href="#">about us</a></li>
<li><a href="#">legal</a></li>
</ul>
</nav>
</div>
</footer>
</body>
</html>
Binary file added templates/img/banner.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added templates/img/home/comparte-img-large.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added templates/img/home/comparte-img-small.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added templates/img/home/comparte-img.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added templates/img/home/escucha-img-large.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added templates/img/home/escucha-img-small.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added templates/img/home/escucha-img.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added templates/img/home/escucha-img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added templates/img/home/makeplaylist-img-large.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added templates/img/home/makeplaylist-img-small.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added templates/img/home/makeplaylist-img.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added templates/img/logo_home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
223 changes: 221 additions & 2 deletions templates/stylus/estilos.styl
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,125 @@ ul
content ""
display inline-block
margin-left .4em
.banner-home
background-image url('../img/banner.jpg')
min-height 400px
background-size auto 290px
background-position right 20%
background-color #000
background-repeat no-repeat
overflow hidden
& .image
img
width 100%
height auto
& .isotipo
margin auto
width 193.3px
margin-top 5em
.slogan
color #fff
text-align center
font-size 1.3em
font-weight normal
#social-content
text-align center
font-size 0.8em
width 20em
margin auto
& .fb-login
background-color #3D5A98
border-radius 5px
color #FFFFFF
padding 0.7em 0 0.5em 0
display inline-block
width 18em
& .tw-login
background-color #5FA9DD
border-radius 5px
color #FFFFFF
padding 0.7em 0 0.5em 0
display inline-block
width 18em
margin-top 0.5em
& .social-icon
border-right 2px solid rgba(#000,0.2)
font-size 1.8em
float left
margin-left .5em
padding-bottom 0.2em
padding-right 9px
padding-top 0.2em

& .login-text
vertical-align sub
float left
margin-left 0.5em
margin-top 0.5em
.home-content
overflow hidden
text-align center
.menu-login
margin-bottom 1em
& ul
padding 0.5em 0
& li
display inline-block
font-size 0
width 49%
text-align center
&:first-child
border-right 1px solid #676767
& span
font-size 1rem
color #676767
display inline-block
margin 0.25em 0
.home-info
text-align center
padding-bottom 2em
& img
width 100%
.home-info-title
font-weight normal
margin-bottom 0.6em
.home-info-description
color #818181
font-size 1em
.start-to-listening
display inline-block
border-top 1px solid #ccc
color #818181
padding 1em 0 1.5em 0
text-align center
position relative
width 90%
font-size 1.2em
.home-footer
background-color #333333
min-height 20px
padding 0.8em 1.5em 0.3em
.home-footer-logo
color #fff
font-size 1.25em
.home-footer-menu
float right
& ul
list-style none
& li
display inline-block
margin-right 0.4em
& a
color #fff
font-size 0.8em
text-decoration underline
.large,.medium
display none
.small
display block
@media screen and (min-width:480px)

body#home
font-size 28px
.song
&:nth-child(even)
margin-right 1em
Expand All @@ -220,11 +336,45 @@ ul
height auto
.playing
&.medium
width auto
// width auto
.small
display none
.medium
display block

.slogan
font-weight normal
margin 1em auto
text-align center
width 14em
.banner-home
background-size auto
background-position center -45%
min-height 800px
& .isotipo
margin 8em auto auto
width 395px
.home-info-description
width 20em
display inline-block
#social-content
font-size 0.8em
.menu-login
& li
& span
font-size 1.5rem
.home-footer-menu
float none
display inline-block
vertical-align super
.home-footer-logo
margin-right 1em
@media screen and (min-width:1000px)
body
background gris_mas_claro
body#home
background #fff
font-size 22px
.button-menu
display none
.playing
Expand Down Expand Up @@ -265,3 +415,72 @@ ul
.logo
.playlist
display block
.small
display none
.medium
display none
.large
display block
.slogan
font-size 2em
clear left
margin 1.5em auto
.banner-home
& .isotipo
margin auto
width 227px
margin-top 2em auto auto 1em
float left
.logo-nav
width 1000px
margin 1em auto 0
overflow hidden
.banner-home
min-height 600px
.home-content
width 1000px
margin 0 auto
padding 1em 0
.home-info-image
width 14em
vertical-align middle
.home-info-description
width auto
.home-info
padding 0
overflow hidden
text-align left
&:nth-child(2n)
& .home-info-image
display inline-block
margin-left 6em
& .home-info-content
margin-left 4em
&:nth-child(2n+1)
& .home-info-image
display inline-block
margin-right 4em
& .home-info-content
margin-left 4em
margin-right 3em
.home-info-content.large
font-size 1.2em
display inline-block
width 15em
.wrapper
width 1000px;
margin 0 auto
.home-footer-logo
font-size 1.5em
.login-btn
color #CC2F6F
float right
text-decoration underline
.create-account
color #fff
display inline-block
font-size 1.2em
padding-top 1em
& .create-account-btn
color #CC2F6F
text-decoration underline