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

estilização da pagina web nao esta funcionando

A estilização da parte web não esta funcionando no meu código.

3 respostas
<body>
    <header class="cabecalho">
        <button class="cabecalho__menu" aria-label="Menu"><i></i></button>
        <img src="assets/img/logo.svg" alt="Logotipo da HZC" class="cabecalho__logo">
        <p class="cabecalho__perfil">Bruno Lopes</p>
        <button class="cabecalho__notificacao" aria-label="Notificação"><i></i></button>
    </header>

    <nav class="menu-lateral">
        <img src="assets/img/logo.svg" alt="Logotipo da HZC" class="menu-lateral__logo">
        <a href="#" class="menu-lateral__link menu-lateral__link--inicio menu-lateral__link--ativo">Inicio</a>
        <a href="#" class="menu-lateral__link menu-lateral__link--videos">Videos</a>
        <a href="#" class="menu-lateral__link menu-lateral__link--picos">Picos</a>
        <a href="#" class="menu-lateral__link menu-lateral__link--integrantes">Integrantes</a>
        <a href="#" class="menu-lateral__link menu-lateral__link--camisas">Camisas</a>
        <a href="#" class="menu-lateral__link menu-lateral__link--pinturas">Pinturas</a>
    </nav>
    <main class="principal">
        <h2 class="titulo-pagina">Inicio</h2>
        <article class="cartao cartao--destaque">
            <img src="assets/img/banner-mobile_1.png" alt="Banner do Cartao" class="cartao__imagem">
            <div class="cartao__conteudo">
                <p class="cartao__destaque">Vídeo em Destaque </p>
                <h3 class="cartao__titulo">HZC - Título</h3>
                <p class="cartao__perfil">Bruno Lopes</p>
                <p class="cartao__info cartao__info--tempo">33 minutos</p>
                <p class="cartao__info cartao__info--visualizacao">33 visualizações</p>
                <button class="cartao__botao cartao__botao--play cartao__botao--destaque">Assistir Aqui</button>
            </div>
        </article>

CSS:

@font-face {
    font-family: 'icones';
    src: url(../font/icones.ttf);
}

@media screen and(min-width: 1440px){
    body{
        display: grid;
        grid-template-columns: auto 1fr;
    }

}


body{
    background-color:#1D232A ;
    font-family: 'Open Sans','icones', sans-serif;
    color: #FFFFFF;
}
.cabecalho{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #15191c;
    padding: 8px 16px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.16);
}

.cabecalho__menu i::before{
    content: "\e904";
    font-size: 24px;
}

.cabecalho__notificacao i::before{
    content: "\e906";
    font-size: 24px;
}

.cabecalho__logo{
    width: 40px;
}

.cabecalho__perfil{
    display: none;
}

@media screen and (min-width: 1440px){
     .cabecalho{
         background-color: #1D232A;
         display: grid;
         column-gap: 32px;
         grid-template-columns: 1fr auto;
         padding: 16px 60px;
         height: 80px;
         box-sizing: border-box;
     }

     .cabecalho__menu{
         display: none;
     }
     .cabecalho__logo{
         display: none;
     }
     .cabecalho__perfil{
         display: grid;
         grid-template-columns: repeat(3, auto);
         column-gap: 8px;
         align-items: center;
         justify-self: flex-end;
         color: #95999C;
         padding: 8px 32px;
         border-right: 1px solid #95999C;
     }

     .cabecalho__perfil::before{
         content: "";
         display: block;
         height: 32px;
         background-image: url(../img/profile_2.png);
         background-size: contain;
         background-repeat: no-repeat;
         background-position: center;
     }
     .cabecalho__perfil::after{
         content: "\e90d";
         color: #FFFFFF;
         font-size: 1.5rem;
     }
 }


.menu-lateral{
    display: flex;
    flex-direction: column;
    background-color:#15191C;
    width: 75vw;
    height: 100vh;

    position: absolute;
    left: -100vw;
    transition: .25s;
    z-index: 99;
}

.menu-lateral--ativo{
    left: 0;
    transition: .25s;
}

.menu-lateral__logo{
    width: 118px;
    align-self: center;
    padding: 16px;
}

.menu-lateral__link{
    height: 64px;
    color: #95999C;
    padding-left:64px;
    display: flex;
    align-items: center;
}

.menu-lateral__link--ativo{
    color:#FFFFFF;
    padding-left: 56px;
    border-left: 8px solid #FFFFFF;
}

.menu-lateral__link::before{
    content: "";
    width: 24px;
    width: 24px;
    font-size: 24px;
    position: absolute;
    left: 24px;
}

.menu-lateral__link--inicio::before{
    content: "\e902";
}
.menu-lateral__link--videos::before{
    content: "\e90e";
}
.menu-lateral__link--picos::before{
    content: "\e909";
}
.menu-lateral__link--integrantes::before{
    content: "\e903";
}
.menu-lateral__link--camisas::before{
    content: "\e900";
}
.menu-lateral__link--pinturas::before{
    content: "\e90a";
}

.principal{
    padding: 24px 16px;
    display: grid;
    gap: 16px;


}

.titulo-pagina{
    font-size: 1.5rem;
    font-weight: 700;
}

.titulo-secao{
    font-size: 1.2rem;
    font-weight: 700;
}

.cartao{
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    background-color: #2C343A;
}
.cartao--destaque{
    margin-bottom: 16px;
}
.cartao__conteudo{
    padding: 16px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px;

}

.cartao__destaque{
    grid-column: span 2;
}

.cartao__titulo{
    font-size: 1.2rem;
    font-weight: 700;
    grid-column: span 2;
}

.cartao__perfil{
    color: #95999C;
    font-size: 0.9rem;
    grid-column: span 2;
}

.cartao__info{
    display: flex;
    align-items: center;
    color: #95999C;
}

.cartao__info--tempo::before{
    content: "\e90c";
    margin-right: 8px;
}
.cartao__info--visualizacao::before{
    content: "\e90f";
    margin-right: 8px;
}

.cartao__botao{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0480DC;
    width: 40px;
    width: 40px;
    border-radius: 10px;
    font-size: 0.9rem;
    justify-self: flex-end;
}

.cartao__botao--play::before{
    content: "\e90b";
    font-size: 24px;
}


.cartao__botao--destaque{
    width: 100%;
    grid-column: span 2;

}

.cartao__botao--destaque::before{
    margin-right: 8px;
}

.secao{
    display: grid;
    gap: 16px;
}
solução!

resolvido