3
respostas

Menu portifólio, como faço para colocar em lista ?

<nav>
                <div>
                    <ul>
                        <h1>Joao da Silva</h1>
                        <li><a href="index.html">Home</li>
                        <li><a href="portifolio.html">Portifolio</li>
                        <li><a href="bio.html">Sobre mim</a></li>   
                        <li><a href="Blog.html">Blog</a></li>  
                        <li><a href="contato.html">Contato</a></li> 
                    </ul>
                </div>
            </nav>

CSS

body {
    font-family: "Crimson Text", "Times New Roman", serif;
    background-color: #F2FFFC;
    font-size: 120%;
    line-height: 1.5;
}

h1, h2 {
    font-family: "Open Sans Condensed", "Arial", sans-serif;
    font-size: 40px;
    clear: both;
}

main h1 {
    font-size: 60px;
    text-align: center;
    background-color: #851944;
    color: #FFF;
    padding: 20px;
    margin: 0px;
    text-transform: uppercase;
}

p {
    text-align: justify;
}

blockquote {
    background-color: #D9E5E3;
    padding: 16px;
    border: 10px solid #C2CCCA;
    width: 250px;
    margin: 0px;
}

aside {
    background-color: #3C1D3D;
    color: #F2FFFC;
    float: right;
}

aside a {
    color: inherit;
    font-family: "Open Sans Condensed", sans-serif;
    float: right;
}

footer {
    background-color: #000;
    color: #F2FFFC;
    padding: 20px;
    clear: both;
}

nav a {
    color: #1F1A1A;
}

ul {
    color: rgb(255, 253, 253);
    display: inline-block; 
}

ul li a {
    color: inherit;  
    display: inline-block; 
}
div {
    width: 720px;
    margin-left: auto;
    margin-right: auto;
}

li {
    display: inline-block;
}

.icones-sociais li {
    display: inline-block;
}

.icones-sociais a {
    width: 40px;
    height: 40px;
    display: inline-block;
    text-indent: -99999px;
}

.github {
    background-image: url(github.png);
}

.twitter {
     background-image: url(twitter.png);
}

.linkedin {
    background-image: url(linkedin.png);
}

#rodape-pagina {
    background-color: #000;
    color: #F2FFFC;
    padding: 20px;
}

article {
    padding-bottom: 30px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
}

.leia-mais {
    padding: 8px;
    margin: 16px;
    display: block;
    font-size: 24px;
    text-align: center;
    background-color: #E6E7E8;
}
.fiat {
    float: right;
}

.petrobras {
    float: left;
}
aside, img {
    float: right;
    clear: right;
    box-sizing: border-box;
    width: 15%;
}
main {
    float: left;
    width: 85%;
}
cite {
    font-style: italic;
    float: right;
    display: block;
}
3 respostas

Oi Felipe tudo bem?

Provavelmente seu seletor css esta com problema :(

Tente usar o seguinte:

ul li {
display: inline-block;
}

Esperto ter ajudado :)

body {
    font-family: "Crimson Text", "Times New Roman", serif;
    background-color: #F2FFFC;
    font-size: 120%;
    line-height: 1.5;
}

h1, h2 {
    font-family: "Open Sans Condensed", "Arial", sans-serif;
    font-size: 40px;
    clear: both;
}

main h1 {
    font-size: 60px;
    text-align: center;
    background-color: #851944;
    color: #FFF;
    padding: 20px;
    margin: 0px;
    text-transform: uppercase;
}

p {
    text-align: justify;
}

blockquote {
    background-color: #D9E5E3;
    padding: 16px;
    border: 10px solid #C2CCCA;
    width: 250px;
    margin: 0px;
}

aside {
    background-color: #3C1D3D;
    color: #F2FFFC;
    float: right;
}

aside a {
    color: inherit;
    font-family: "Open Sans Condensed", sans-serif;
    float: right;
}

footer {
    background-color: #000;
    color: #F2FFFC;
    padding: 20px;
    clear: both;
}

nav a {
    color: #1F1A1A;
}

ul {
    color: rgb(255, 253, 253);
/*    display: inline-block; */
}

aside ul li a {
    color: inherit;  
    display: inline-block;
}
/*
ul li {
    display: inline-block;
}
*/

div {
    width: 720px;
    margin-left: auto;
    margin-right: auto;
}

li {
    display: inline-block;
}


.icones-sociais li {
    display: inline-block;
}

.icones-sociais a {
    width: 40px;
    height: 40px;
    display: inline-block;
    text-indent: -99999px;
}

.github {
    background-image: url(github.png);
}

.twitter {
     background-image: url(twitter.png);
}

.linkedin {
    background-image: url(linkedin.png);
}

#rodape-pagina {
    background-color: #000;
    color: #F2FFFC;
    padding: 20px;
}

article {
    padding-bottom: 30px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
}

.leia-mais {
    padding: 8px;
    margin: 16px;
    display: block;
    font-size: 24px;
    text-align: center;
    background-color: #E6E7E8;
}
.fiat {
    float: right;
}

.petrobras {
    float: left;
}
aside, img {
    float: right;
    clear: right;
    box-sizing: border-box;
    width: 15%;
}
main {
    float: left;
    width: 85%;
}
cite {
    font-style: italic;
    float: right;
    display: block;
}

Não resolveu !! Está difícil !! Rs

body {
    font-family: "Crimson Text", "Times New Roman", serif;
    background-color: #F2FFFC;
    font-size: 120%;
    line-height: 1.5;
}

h1, h2 {
    font-family: "Open Sans Condensed", "Arial", sans-serif;
    font-size: 40px;
    clear: both;
}

main h1 {
    font-size: 60px;
    text-align: center;
    background-color: #851944;
    color: #FFF;
    padding: 20px;
    margin: 0px;
    text-transform: uppercase;
}

p {
    text-align: justify;
}

blockquote {
    background-color: #D9E5E3;
    padding: 16px;
    border: 10px solid #C2CCCA;
    width: 250px;
    margin: 0px;
}

aside {
    background-color: #3C1D3D;
    color: #F2FFFC;
    float: right;
}

aside a {
    color: inherit;
    font-family: "Open Sans Condensed", sans-serif;
    float: right;
}

footer {
    background-color: #000;
    color: #F2FFFC;
    padding: 20px;
    clear: both;
}

nav a {
    color: #1F1A1A;
}

ul {
    color: rgb(255, 253, 253);
/*    display: inline-block; */
}

aside ul li a {
    color: inherit;  
    display: inline-block;
}
/*
ul li {
    display: inline-block;
}
*/

div {
    width: 720px;
    margin-left: auto;
    margin-right: auto;
}

li {
    display: inline-block;
}


.icones-sociais li {
    display: inline-block;
}

.icones-sociais a {
    width: 40px;
    height: 40px;
    display: inline-block;
    text-indent: -99999px;
}

.github {
    background-image: url(github.png);
}

.twitter {
     background-image: url(twitter.png);
}

.linkedin {
    background-image: url(linkedin.png);
}

#rodape-pagina {
    background-color: #000;
    color: #F2FFFC;
    padding: 20px;
}

article {
    padding-bottom: 30px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
}

.leia-mais {
    padding: 8px;
    margin: 16px;
    display: block;
    font-size: 24px;
    text-align: center;
    background-color: #E6E7E8;
}
.fiat {
    float: right;
}

.petrobras {
    float: left;
}
aside, img {
    float: right;
    clear: right;
    box-sizing: border-box;
    width: 15%;
}
main {
    float: left;
    width: 85%;
}
cite {
    font-style: italic;
    float: right;
    display: block;
}