Улучшен плеер
This commit is contained in:
@@ -122,4 +122,28 @@ code {
|
||||
.play-overlay {
|
||||
transition: opacity 0.2s ease;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Фиксированный плеер внизу */
|
||||
.fixed-player {
|
||||
position: sticky;
|
||||
display: flex;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
right: 0;
|
||||
justify-content: center;
|
||||
background-color: var(--mud-palette-background);
|
||||
box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
/* Отступ снизу, когда плеер виден */
|
||||
.page-with-player {
|
||||
padding-bottom: 80px; /* Высота плеера (подберите под свою тему) */
|
||||
}
|
||||
|
||||
/* На мобильных устройствах можно уменьшить отступ */
|
||||
@media (max-width: 600px) {
|
||||
.page-with-player {
|
||||
padding-bottom: 100px; /* если плеер выше на мобильных */
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 3.0 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 8.6 KiB After Width: | Height: | Size: 41 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 172 KiB |
@@ -4,7 +4,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>PlaylistShared.Pwa</title>
|
||||
<title>Playlist Share</title>
|
||||
<base href="/" />
|
||||
<link rel="preload" id="webassembly" />
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet" />
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "Playlist Shared",
|
||||
"name": "Playlist Share",
|
||||
"short_name": "PlaylistShare",
|
||||
"id": "./",
|
||||
"start_url": "./",
|
||||
|
||||
Reference in New Issue
Block a user