detail.css 2.08 KB
.bgImage{
    -webkit-filter: brightness(70%);filter: brightness(70%);
    position: absolute;
    top:0;
    left:0;
    z-index: -1;
    height: 100%;
    width:100%;
    animation: fadeIn 0.5s linear;
}
.bgImg{
    -webkit-filter: brightness(70%);filter: brightness(70%);
    position: absolute;
    top:0;
    left:0;
    z-index: -1;
    height: 100%;
    width:100%;
}
@keyframes fadeIn{
    from{
        opacity:0;
    }
    to{

        opacity:1;
    }
}
html, body {

    margin: 0;

    height: 100%;

    overflow: hidden;

}
.detail-container{
    display:grid;
    grid-template-columns:10% 1fr;
    grid-template-rows:20% 60% 1fr;
    height:100%;
    grid-gap:10px;
    grid-template-areas:
    "header header"
    "side main"
    "side footer"
}
header{
    grid-area:header;
}
.main{
    grid-area:main;
    padding-left:3rem;
}
.side{
    grid-area: side;
    display: flex;
    justify-content: center;
    padding-top:100%;
}
.footer{
    grid-area:footer;
}
.textwhite{
    color:rgb(255, 255, 255);
    text-decoration:none;
    border:2px solid white;
    padding:1px 5px 3px 5px;
    transition:all 0.2s;
    margin-right:0.5rem;
  }
.textwhite:hover{
    color:#cecece;
    text-decoration:none;
    border:4px solid #cecece;
    padding:1px 5px 3px 5px;
    margin-right:0.5rem;
  }

.textwhitebx{
    color:rgb(255, 255, 255);
    text-decoration:none;
    transition:all 0.2s;
  }
.textwhitebx:hover{
    color:#cecece;
    text-decoration:none;
    padding:1px 5px 3px 5px;
    margin-right:0.5rem;
}
.left-footer{
    width:35%;
    float:left;
    box-sizing:border-box;
    margin-right:15%;
    text-align: right;
}

.right-footer{
    width:35%;
    float:right;
    position: static;
    box-sizing:border-box;
    text-align: left;
    margin-right:15%;
}
.bottomBorderL a,.bottomBorderR a{
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.bottomBorderL a:hover{
    border-bottom: solid 2px white;
    border-left:solid 2px white;
    width: 100%;
}
.bottomBorderR a:hover{
    border-bottom: solid 2px white;
    border-right:solid 2px white;
    width: 100%;
}