Solucionado (ver solução)
Solucionado
(ver solução)
3
respostas

Não conseguindo posicionar a barra lateral

@charset "utf-8";

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

h1, 
h2,
.subtitulo-principal {
    font-family: "Open Sans Condensed", "Arial", sans-serif;
}

h1 {
    text-transform: uppercase;
    font-size: 3em;
    text-shadow: 3px 3px #000;
}

.titulo-principal {
    text-align: center;
    color: #FFF;
    background-color: #851944;
    padding: 2rem;
    border-bottom: .5rem solid #000;
}

.subtitulo-texto {
    font-size: 1.5em;
    clear: both;
}

main a {
    color: #851944;
}

main a:hover,
main a:focus,
footer a:focus,
footer a:hover {
    color: red;
}

main p {
    text-align: justify;
    margin: 2rem 0;
}

.navegacao-site {
    background-color: #3C1D3D;
    color: #F2FFFC;
    padding: 1rem;
    text-align: center;
}

.navegacao-site a {
    color: inherit;
    font-family: "Open Sans Condensed", "Arial", sans-serif;
    text-transform: lowercase;
}

.navegacao-site a:hover,
.navegacao-site a:focus {
    text-shadow: 0 0 2px pink;
}

.navegacao-site h1 {
    font-size: 1.5em;
    margin-bottom: 1em;
}

.navegacao-site, .minha-foto {
    border-left: .5rem solid #000;
    box-sizing: border-box;
}
.icones-sociais li {
    display: inline-block;
}

.icones-sociais a {
    display: block;
    width: 40px;
    height: 40px;
    text-indent: -9999px;
    border-radius: 50%;
    position: relative;
}

.icones-sociais a:hover, 
.icones-sociais a:focus {
    box-shadow: 0 0 2px pink;
}

.icones-sociais a:hover::after,
.icones-sociais a:focus::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 100%;
    right: 0;
    text-indent: 0;
    width: 300%;
    color: #fff;
    background-color: #000;
    font-size: .75em;
}

.icones-sociais a:hover::before,
.icones-sociais a:focus::before {
    content: "";
    width: 1em;
    height: 1em;
    background-color: #000;
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translateY(.5em) rotate(45deg);
}

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

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

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

nav a {
    color: #F2FFFC;
    font-family: "Open Sans Condensed", sans-serif;
    text-decoration: none;
    text-transform: lowercase;
}

nav h1 {
    font-size: 1.7rem;
    margin-bottom: 25px;
}

.rodape-pagina {
    background-image: radial-gradient(ellipse at left bottom, rgba(60, 29, 61, .8), rgba(60, 29, 61, .8) 68%, black 65%, black 70%, transparent 70%);
    background-size: 25% 100%;
    background-repeat: no-repeat;  
    color: #F2FFFC;
    padding: 1em;
    clear: both;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    background-repeat: no-repeat;
    text-shadow: 1px 1px black;
}

.container {
    width: 90ch;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5em 0;
}

strong {
    font-weight: bold;
}

em {
    font-style: italic;
}

main {
    flex-grow: 1;
}

main a:focus,
main a:hover {
    color: red;
}

.minha-foto {
    border-bottom: .5em solid black;
}

.navegacao-site {
    width: calc(0.9 * 300px);
    padding-top: calc(300px + 1em);
}

Pessoal, não estou conseguindo posicionar corretamente a foto e a barra lateral.

3 respostas

Oi Edilson, cola seu HTML aqui pra mim fazer um teste?

solução!

Consegui realizar Wanderson, obrigado.

Opa Edilson, que bom! Compartilha sua solução aqui pra gente?