| ::-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); |
| } |