mirror of
https://codeberg.org/Kankys/musicCalendar.git
synced 2026-01-01 08:12:53 +00:00
výzva začíná
This commit is contained in:
62
style.css
Normal file
62
style.css
Normal file
@@ -0,0 +1,62 @@
|
||||
body { font-family: sans-serif; text-align: center; padding: 50px; background-color: #333; }
|
||||
.album-card {
|
||||
background: grey;
|
||||
padding: 20px;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
|
||||
display: inline-block;
|
||||
max-width: 400px;
|
||||
}
|
||||
img { width: 100%; border-radius: 5px; margin-bottom: 15px; }
|
||||
h1 { color: black }
|
||||
h3 { color: black}
|
||||
.datum { color: red; font-size: 0.9em; margin-bottom: 10px; }
|
||||
/* Styl pro tlačítka streamovacích služeb */
|
||||
.btn {
|
||||
display: inline-block; /* Aby měly rozměry */
|
||||
text-decoration: none; /* Zruší podtržení */
|
||||
padding: 10px 20px; /* Vnitřní odsazení (prostor kolem textu) */
|
||||
border-radius: 25px; /* Kulaté rohy */
|
||||
color: white; /* Bílé písmo */
|
||||
font-weight: bold;
|
||||
margin: 5px; /* Mezera mezi tlačítky */
|
||||
transition: transform 0.2s; /* Animace při najetí */
|
||||
}
|
||||
|
||||
/* Barvy pro konkrétní služby */
|
||||
.tidal { background-color: #000000; } /* Černá pro Tidal */
|
||||
.spotify { background-color: #1DB954; } /* Zelená pro Spotify */
|
||||
|
||||
.btn:hover {
|
||||
transform: scale(1.05); /* Při najetí myší se tlačítko trochu zvětší */
|
||||
opacity: 0.9;
|
||||
}
|
||||
footer {
|
||||
margin-top: 50px;
|
||||
border-top: 1px solid #ddd;
|
||||
padding-top: 20px;
|
||||
font-size: 0.8em;
|
||||
color: #666;
|
||||
}
|
||||
footer a {
|
||||
color: black;
|
||||
margin: 0 10px;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
}
|
||||
footer a:hover {
|
||||
color: #000;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
body {
|
||||
padding: 10px;
|
||||
}
|
||||
/* .album-card {
|
||||
width: 90%;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
background-color: #f0f0f0;
|
||||
} */
|
||||
}
|
||||
Reference in New Issue
Block a user