File size: 2,309 Bytes
727a40a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | ::-webkit-scrollbar {
width: 5px;
}
::-webkit-scrollbar-thumb {
background-color: var(--scrollbar-thumb);
border-radius: 50px;
}
::-webkit-scrollbar-track {
background-color: var(--scrollbar-track);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
-webkit-tap-highlight-color: transparent;
}
html,
body {
font-family: 'Roboto', sans-serif;
background: var(--bg-gradient);
color: var(--text-color);
min-height: 100%;
animation: gradientMove var(--gradient-speed) infinite;
}
.main_box {
display: flex;
justify-content: center;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
max-width: 450px;
background-color: var(--menu-bg);
padding: 15px;
box-shadow: 0 2px 8px var(--shadow-color);
position: relative;
}
.header h1 {
color: var(--text-color);
font-size: 18px;
text-align: center;
flex: 1;
margin: 0;
}
.header button {
background: transparent;
border: none;
color: var(--text-color);
cursor: pointer;
}
.header button img {
width: 24px;
height: 24px;
filter: var(--icon-color);
}
.menu {
position: relative;
}
.menu button {
background: transparent;
border: none;
cursor: pointer;
}
.dropdown-content {
display: none;
position: absolute;
right: 0;
top: 40px;
background-color: var(--menu-bg);
min-width: 160px;
box-shadow: 0 8px 16px var(--shadow-color);
z-index: 1;
border-radius: 5px;
opacity: 0;
transition: opacity 0.3s ease;
}
.dropdown-content a {
color: var(--text-color);
padding: 10px 15px;
text-decoration: none;
border-radius: 5px;
display: block;
font-size: 16px;
}
.dropdown-content a:hover {
background-color: var(--highlight-color);
border-radius: 5px;
color: var(--bg-color);
}
.dropdown-content.show {
display: block;
border-radius: 5px;
opacity: 1;
}
.btn {
background: var(--btn-bg);
color: var(--btn-text-color);
padding: 6px 15px;
border: none;
border-radius: 20px;
cursor: pointer;
font-size: 14px;
transition: background 0.3s ease, transform 0.2s ease;
}
.btn:hover {
background: var(--btn-bg-hover);
transform: scale(1.02);
} |