nav con branding
This commit is contained in:
2
TODO.md
2
TODO.md
@@ -1,2 +0,0 @@
|
|||||||
Paginate hace cosas raras, debe tener encuenta props para saber en que pagina esta
|
|
||||||
por que si no ocurren cosas raras al hacer next
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ export class Nav extends React.Component {
|
|||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<nav className='nav'>
|
<nav className='nav'>
|
||||||
<Link to='/'><h1>MusicList</h1></Link>
|
<Link to='/'><h1 className='branding'>MusicList</h1></Link>
|
||||||
<ul className='nav-links'>
|
<ul className='nav-links'>
|
||||||
<li className='link'><Link to='/login'>Iniciar Sesion</Link></li>
|
<li className='link'><Link to='/login'>Iniciar Sesion</Link></li>
|
||||||
<li className='link'><Link to='/signup'>Registrate</Link></li>
|
<li className='link'><Link to='/signup'>Registrate</Link></li>
|
||||||
|
|||||||
@@ -12,16 +12,16 @@
|
|||||||
|
|
||||||
/*Modificacion basica de elementos*/
|
/*Modificacion basica de elementos*/
|
||||||
body {
|
body {
|
||||||
max-width: 75em;
|
max-width: 75rem;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 0 1em;
|
padding: 0 1rem;
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
color: var(--black);
|
color: var(--black);
|
||||||
}
|
}
|
||||||
|
|
||||||
input {
|
input {
|
||||||
border: 1px var(--gray-2) solid;
|
border: 1px var(--gray-2) solid;
|
||||||
padding: .3em;
|
padding: .3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
@@ -45,27 +45,36 @@ a:hover, button.link:hover {
|
|||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1, h2, h3, h4 {
|
||||||
|
margin-top: .5rem;
|
||||||
|
margin-bottom: .2rem;
|
||||||
|
}
|
||||||
|
|
||||||
/*Navbar*/
|
/*Navbar*/
|
||||||
.nav {
|
.nav {
|
||||||
display: flex;
|
display: flex;
|
||||||
min-height: 3.25em;
|
min-height: 3.25rem;
|
||||||
position: relative;
|
position: relative;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nav .branding {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.nav-links {
|
.nav-links {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-links .link {
|
.nav-links .link {
|
||||||
margin-left: 1em;
|
margin-left: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*Pagination*/
|
/*Pagination*/
|
||||||
ul.pagination {
|
ul.pagination {
|
||||||
display: flex;
|
display: flex;
|
||||||
margin: 1em auto;
|
margin: 1rem auto;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -76,7 +85,7 @@ ul.pagination {
|
|||||||
.page-link {
|
.page-link {
|
||||||
color: var(--black);
|
color: var(--black);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
padding: 0 1em;
|
padding: 0 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-item.active {
|
.page-item.active {
|
||||||
@@ -107,11 +116,10 @@ ul.pagination {
|
|||||||
ul.entity_list {
|
ul.entity_list {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
margin-top: 1em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
li.entity {
|
li.entity {
|
||||||
height: 4em;
|
height: 4rem;
|
||||||
border: 1px var(--gray-2) solid;
|
border: 1px var(--gray-2) solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -127,7 +135,7 @@ li.entity a {
|
|||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding-left: 1em;
|
padding-left: 1rem;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: var(--black);
|
color: var(--black);
|
||||||
|
|
||||||
@@ -136,7 +144,7 @@ li.entity a {
|
|||||||
}
|
}
|
||||||
|
|
||||||
li.entity a .small {
|
li.entity a .small {
|
||||||
font-size: .8em;
|
font-size: .8rem;
|
||||||
color: var(--gray-3);
|
color: var(--gray-3);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user