Verison 43

This commit is contained in:
2023-11-02 17:47:33 +01:00
parent dbf125c7d2
commit ae96d63ab2
20 changed files with 493 additions and 720 deletions

View File

@@ -43,105 +43,6 @@ button{
border: none;
filter: drop-shadow(10px 10px 14px #444);
}
/* Menu */
.menu-container{
position: fixed;
top: 50px;
left: 50%;
transform: translate(-50%, -50%);
width: 300px;
display: flex;
align-items: center;
justify-content: center;
font-family: 'Poppins';
z-index: 500;
}
.button{
position: relative;
background: #1b1b1b;
color: #fff;
font-size: 20px;
padding: 8px 20px;
width: 150px;/* 100% */
line-height: 30px;
display: flex;
align-items: center;
justify-content: space-between;
border-radius: 25px;
cursor: pointer;
transition: width .4s;
/* By MrEidam */
}
.button.expand{
width: 100%;
}
.fas.expand:before{
content: '\f00d';
}
ul{
list-style: none;
position: absolute;
top: 65px;
display: block;
background: #1b1b1b;
width: 100%;
text-align: center;
border-radius: 5px;
display: none;
box-shadow: 0 3px 6px rgba(0,0,0,.3);
padding-inline-start: 0px;
}
ul:before{
position: absolute;
content: '';
width: 20px;
height: 20px;
background: #1b1b1b;
top: -10px;
right: 15px;
transform: rotate(45deg);
z-index: -1;
}
ul li{
line-height: 35px;
padding: 8px 20px;
cursor: pointer;
border-bottom: 1px solid rgba(255,255,255,.1);
}
ul li:hover:first-child{
border-radius: 5px 5px 0 0;
}
ul li:hover:last-child{
border-radius: 0 0 5px 5px;
}
ul li:hover{
box-shadow: inset 0 0 5px #33ff33,
inset 0 0 10px #66ff66;
}
ul li:last-child{
border-bottom: none;
}
ul li a{
display: block;
width: 100%;
height: 100%;
/* By MrEidam */
color: #fff;
font-size: 18px;
text-decoration: none;
}
ul li:hover a{
color: #44dd44;
}
::-webkit-scrollbar{
background: transparent;
width: 5px;