Skip to content

Commit 867451e

Browse files
committed
added images. added responsiveness logic
1 parent 3b954a8 commit 867451e

File tree

3 files changed

+53
-36
lines changed

3 files changed

+53
-36
lines changed

images/tomashlive.jpg

115 KB
Loading

index.html

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,16 @@
1818

1919
<header>
2020
<img src="images/tomlogo.jpg" alt="Tom Ash Logo" class="logo">
21-
<p class="tagline">🎶 Akustischer Fingerstyle-Folk-Rock🎶</p>
21+
<p class="tagline">🎶 Modern-Acoustic Fingerstyle-Folk-Rock aus Großbritannien 🎶</p>
2222
</header>
2323

24+
<section class="collage">
25+
<img src="images/tomashlive.jpg" alt="Tom Ash Live" class="image">
26+
</section>
27+
2428
<section class="content">
2529
<p>
26-
<br>Tom Ash ist ein Singer-Songwriter aus Nottingham, England. Mit einem breitgefächerten Spektrum an Einflüssen hat Tom Jahre damit verbracht, seinen eigenen Sound zu kreieren. Dieser ist geprägt von einem einzigartigen Mix aus Fingerstyle-Gitarrenspiel, fesselnden Vocals und gefühlvollen Texten. Ein abwechslungsreiches Repertoire aus eigenen Songs und verschiedensten Coverversionen sorgen bei jedem Publikum für Unterhaltung.
30+
Tom Ash ist ein Singer-Songwriter aus Nottingham, England. Mit einem breitgefächerten Spektrum an Einflüssen hat Tom Jahre damit verbracht, seinen eigenen Sound zu kreieren. Dieser ist geprägt von einem einzigartigen Mix aus Fingerstyle-Gitarrenspiel, fesselnden Vocals und gefühlvollen Texten. Ein abwechslungsreiches Repertoire aus eigenen Songs und verschiedensten Coverversionen sorgen bei jedem Publikum für Unterhaltung.
2731
</p>
2832
</section>
2933

@@ -38,17 +42,14 @@
3842
</section>
3943

4044
<section class="music-links">
41-
<a href="https://tomashlive.bandcamp.com/" target="_blank">
42-
<div class="music-item">
43-
<img src="images/bandcamp.jpg" alt="Auf Bandcamp anhören" class="music-logo">
44-
<span>Auf Bandcamp anhören</span>
45-
</div>
45+
<a href="https://tomashlive.bandcamp.com/" target="_blank" class="music-item">
46+
<img src="images/bandcamp.jpg" alt="Auf Bandcamp anhören" class="music-logo">
47+
<span>Auf Bandcamp anhören</span>
4648
</a>
47-
<a href="https://www.youtube.com/@tomashlive" target="_blank">
48-
<div class="music-item">
49-
<img src="images/youtube.jpg" alt="Auf YouTube folgen" class="music-logo">
50-
<span>Auf YouTube folgen</span>
51-
</div>
49+
50+
<a href="https://www.youtube.com/@tomashlive" target="_blank" class="music-item">
51+
<img src="images/youtube.jpg" alt="Auf YouTube folgen" class="music-logo">
52+
<span>Auf YouTube folgen</span>
5253
</a>
5354
</section>
5455

styles.css

Lines changed: 40 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ h1 {
1717
}
1818

1919
.logo {
20-
max-width: 600px;
20+
max-width: 720px;
2121
width: 100%;
2222
height: auto;
2323
margin-bottom: 15px;
@@ -29,6 +29,27 @@ h1 {
2929
font-style: italic;
3030
}
3131

32+
.collage {
33+
text-align: center;
34+
margin: 60px 0;
35+
}
36+
37+
.image {
38+
width: 100%;
39+
max-width: 720px;
40+
height: auto;
41+
display: block;
42+
margin: 0 auto;
43+
44+
border-radius: 12px;
45+
46+
box-shadow:
47+
0 10px 25px rgba(0, 0, 0, 0.15),
48+
0 4px 10px rgba(0, 0, 0, 0.08);
49+
50+
transition: transform 0.3s ease, box-shadow 0.3s ease;
51+
}
52+
3253
/* ---------------- Navigation ---------------- */
3354
nav {
3455
display: flex;
@@ -77,7 +98,7 @@ section {
7798
}
7899

79100

80-
/* ---------------- Music Links as Modern Buttons ---------------- */
101+
/* ---------------- Music Links ---------------- */
81102
.music-links {
82103
margin: 40px 0;
83104
display: flex;
@@ -91,27 +112,34 @@ section {
91112
flex-direction: column;
92113
align-items: center;
93114
text-align: center;
115+
text-decoration: none;
116+
transition: transform 0.3s ease;
94117
}
95118

96-
.music-item .music-logo {
97-
width: 100px;
98-
height: 100px;
99-
object-fit: cover;
100-
border-radius: 12px;
119+
.music-logo {
120+
width: clamp(60px, 8vw, 80px);
121+
aspect-ratio: 1 / 1;
122+
object-fit: contain;
123+
124+
padding: 12px;
125+
background: white;
126+
border-radius: 16px;
127+
101128
box-shadow: 0 8px 20px rgba(0,0,0,0.15);
102129
margin-bottom: 12px;
103-
transition: transform 0.3s, box-shadow 0.3s;
130+
131+
transition: transform 0.3s ease, box-shadow 0.3s ease;
104132
}
105133

106-
.music-item .music-logo:hover {
107-
transform: scale(1.05);
108-
box-shadow: 0 12px 25px rgba(0,0,0,0.2);
134+
.music-item:hover .music-logo {
135+
transform: translateY(-4px);
136+
box-shadow: 0 12px 30px rgba(0,0,0,0.2);
109137
}
110138

111139
.music-item span {
112140
font-weight: 600;
113141
color: #0073e6;
114-
font-size: 1.1rem;
142+
font-size: 1.05rem;
115143
}
116144

117145
/* ---------------- Gallery ---------------- */
@@ -176,19 +204,7 @@ section {
176204
}
177205

178206
/* ---------------- Responsive ---------------- */
179-
@media (max-width: 1024px) {
180-
.music-item .music-logo {
181-
width: 250px;
182-
height: 250px;
183-
}
184-
}
185-
186207
@media (max-width: 768px) {
187-
.music-item .music-logo {
188-
width: 200px;
189-
height: 200px;
190-
}
191-
192208
h1 {
193209
font-size: 2.2rem;
194210
}

0 commit comments

Comments
 (0)