Radioplayer-with-Presets/style.css
2024-12-20 11:13:19 +00:00

99 lines
1.9 KiB
CSS

body {
font-family: Arial, sans-serif;
text-align: center;
margin: 0;
padding: 20px;
}
.header {
background-color: #FFFFE3;
padding-bottom: 10px;
}
.titel {
display: flex;
align-items: center; /* Zentriert Elemente vertikal */
justify-content: center; /* Hier wird die horizontale Zentrierung eingestellt */
gap: 10px;
}
.current-station {
font-weight: bold;
font-size: 16px;
padding-left: 20px; /* Padding statt margin */
margin-bottom: 15px;
}
#aktueller-sender {
background-color: #d2f8d2;
border-radius: 5px;
padding: 10px 20px;
}
.stop-button {
background-color: #ff9999;
color: #fff; /* Weißer Text auf rotem Hintergrund */
font-weight: bold;
border: none;
border-radius: 5px;
padding: 10px 20px;
text-align: center;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.stop-button:hover {
background-color: #ff4d4d;
}
.preset-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
grid-gap: 20px;
margin-top: 30px;
margin-bottom: 30px;
}
.preset-item {
background-color: #f1f1f1;
padding: 15px;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
cursor: pointer;
transition: background-color 0.3s ease;
display: flex;
align-items: center;
}
.preset-item h3 {
margin: 0;
flex: 1; /* Flexibel innerhalb des Items */
}
.preset-item button {
margin-left: 5px;
cursor: pointer;
}
.new-preset-container {
margin-bottom: 15px;
}
.button-container {
margin-bottom: 15px;
}
.footer {
margin: 20px 0;
text-align: center; /* Zentriert den gesamten Inhalt */
font-size: 12px;
color: #999
}
.footer a {
color: #999; /* Farbe der Links */
text-decoration: underline; /* Entfernt den Unterstreichung */
}