12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- header{
- position: fixed;
- width: 100%;
- height: 50px;
- top: 0;
- padding: 0 20px;
- display: flex;
- justify-content: space-between;
- background-color: white;
- border-bottom: 2px solid rgb(0,0,0);
- z-index: 999;
- h1{
- margin: auto 0;
- }
- nav{
- margin: auto 0;
- & > ul:nth-child(1) {
- & > li:nth-child(1){
- display: flex;
- position: relative;
- margin-right: 80px;
- &:after{
- content: " ";
- cursor: pointer;
- display: block;
- width: 15px;
- height: 20px;
- background-image: url(../images/fleche.svg);
- background-size: contain;
- position: absolute;
- right: -25px;
- transform: rotate(0deg);
- transition: all 0.5s;
- }
- &.hover{
- &:after{
- transform: rotate(180deg)!important;
- transition: all 0.5s;
- }
- }
- }
- }
- }
- ul{
- display: flex;
- li{
- height: 50px;
- margin-right: 50px;
- align-items: center;
- display: flex;
- }
- }
- ul.tags{
- display: none;
- }
- ul.visible, ul.active{
- display: flex;
- position: absolute;
- top: 50px;
- right: 0px;
- width: auto;
- border-left: 2px solid black;
- border-bottom: 2px solid black;
- z-index: 999;
- background: white;
- a{
- display: flex;
- width: auto;
- height: 50px;
- margin: 0 20px;
- li{
- margin: auto;
- }
- }
- }
- }
|