Files
audio_resive/static/css/log.css
T
2023-11-11 09:47:34 +07:00

68 lines
1.5 KiB
CSS
Executable File

body {
background-color: #333;
color: #fff;
font-family: Arial, sans-serif;
font-size: 16px;
line-height: 1.5;
margin: 0;
padding: 0;
}
h1 {
text-align: center;
margin-top: 50px;
margin-bottom: 30px;
}
.card {
background-color: #555;
color: #fff;
border-radius: 5px;
padding: 20px;
margin-bottom: 20px; /* добавлено, чтобы был отступ между карточками */
width: 100%;
}
.card-title {
font-size: 24px;
margin-bottom: 10px;
text-align: center;
}
.card-text {
font-size: 18px;
line-height: 1.5em; /* добавлено, чтобы текст не был слишком плотным */
width: 100%;
}
.player-container {
margin-right: 10px;
/* изменено на right, чтобы плеер был слева */
width: fit-content;
/* добавлено для уменьшения ширины контейнера */
height: fit-content;
display: flex;
align-items: center;
justify-content: center;
}
#audio-player {
width: 80%;
}
#audio-controls {
display: flex;
}
#audio-controls button {
margin-right: 10px;
}
.card-container {
display: flex;
/* добавлено для размещения карточки и плеера в одной строке */
justify-content: space-between;
/* добавлено для выравнивания по горизонтали */
align-items: center;
/* добавлено для выравнивания по вертикали */
}