Skip to content

Commit 60379d8

Browse files
committed
feat: v1.0
1 parent 616ae48 commit 60379d8

File tree

16 files changed

+681
-277
lines changed

16 files changed

+681
-277
lines changed

assets/static/artist.css

Lines changed: 153 additions & 114 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,89 @@
1-
1+
/* --- Fonts --- */
22
@font-face {
33
font-family: 'Agrandir';
44
src: url('/assets/static/fonts/PPAgrandir-Regular.otf') format('opentype');
55
font-weight: 400;
66
font-style: normal;
77
}
8-
98
@font-face {
109
font-family: 'Agrandir';
1110
src: url('/assets/static/fonts/PPAgrandir-GrandHeavy.otf') format('opentype');
1211
font-weight: 900;
1312
font-style: normal;
1413
}
15-
1614
@font-face {
1715
font-family: 'Agrandir';
1816
src: url('/assets/static/fonts/PPAgrandir-GrandLight.otf') format('opentype');
1917
font-weight: 300;
2018
font-style: normal;
2119
}
2220

23-
body {
24-
font-family: 'Agrandir', Arial, sans-serif;
21+
/* --- Background & reset --- */
22+
html, body {
2523
margin: 0;
2624
padding: 0;
27-
min-height: 100vh;
28-
background-image: url('/assets/static/image/background.png');
25+
width: 100%;
26+
height: 100%;
27+
overflow-x: hidden;
28+
}
29+
30+
body {
31+
font-family: 'Agrandir', Arial, sans-serif;
32+
background: url('/assets/static/image/background.png') no-repeat center top;
2933
background-size: cover;
3034
background-position: center;
35+
display: flex;
36+
flex-direction: column;
37+
min-height: 100vh;
38+
box-sizing: border-box;
3139
}
3240

33-
.container {
34-
max-width: 1200px;
35-
margin: 0 auto;
36-
padding: 50px 20px;
41+
/* --- Title --- */
42+
.page-header {
43+
width: 100%;
3744
text-align: center;
45+
margin-top: 20px;
3846
}
3947

4048
h1 {
41-
font-family: 'Agrandir', Arial, sans-serif;
4249
font-weight: 900;
4350
color: white;
4451
font-size: 4.5em;
45-
margin: 0;
46-
margin-bottom: 10px;
52+
margin: 20px 0 0;
53+
display: inline-block;
54+
position: relative;
4755
text-transform: uppercase;
4856
letter-spacing: 2px;
49-
position: absolute;
50-
top: 60px;
51-
left: 90px;
5257
}
5358

5459
h1::after {
55-
content: '';
5660
position: absolute;
57-
bottom: -10px;
61+
content: '';
5862
left: 0;
59-
width: 100%;
6063
height: 2px;
64+
bottom: -10px;
6165
background-color: #FF6600;
66+
width: 100%;
6267
}
6368

69+
/* --- Main Layout --- */
70+
.main-layout {
71+
display: flex;
72+
justify-content: center;
73+
align-items: flex-start;
74+
max-width: 1200px;
75+
gap: 40px;
76+
margin: 70px auto;
77+
padding: 0;
78+
flex-wrap: nowrap;
79+
}
80+
81+
/* --- Image Side --- */
6482
.artist-image {
65-
position: absolute;
66-
top: 60px;
67-
right: 120px;
83+
flex: 0 0 400px;
6884
width: 400px;
85+
max-width: 100%px;
86+
aspect-ratio: 1 / 1;
6987
height: 400px;
7088
border: 2px solid #FF6600;
7189
border-radius: 10px;
@@ -78,25 +96,40 @@ h1::after {
7896
object-fit: cover;
7997
}
8098

81-
.info-card {
82-
position: absolute;
83-
top: 270px;
84-
left: 85px;
85-
width: 600px;
99+
/* --- Middle Side (History/Members) --- */
100+
.middle-side {
101+
display: flex;
102+
flex-direction: column;
103+
gap: 30px;
104+
flex: 0 1 400px;
105+
max-width: 600px;
106+
}
107+
108+
/* --- Right Side (Concert Dates) --- */
109+
.concert-side {
110+
display: flex;
111+
flex-direction: column;
112+
gap: 30px;
113+
flex: 0 1 400px;
114+
max-width: 600px;
115+
}
116+
117+
/* --- Cards --- */
118+
.info-card,
119+
.member-card,
120+
.concert-card {
86121
background-color: transparent;
87122
border: 2px solid #FF6600;
88123
border-radius: 15px;
89124
color: white;
90-
padding-top: 30px;
125+
max-width: 100%;
91126
}
92127

93-
.info-card .card-header {
94-
position: absolute;
95-
top: -22px;
96-
left: 50%;
97-
transform: translateX(-50%);
128+
/* --- Card Header --- */
129+
.card-header,
130+
.member-card-header,
131+
.concert-card-header {
98132
background-color: #FF6600;
99-
font-family: 'Agrandir', Arial, sans-serif;
100133
font-weight: 900;
101134
font-size: 1.2em;
102135
padding: 8px 30px;
@@ -105,119 +138,125 @@ h1::after {
105138
color: white;
106139
text-transform: uppercase;
107140
letter-spacing: 1px;
108-
border-radius: 8px;
109-
z-index: 10;
141+
border-radius: 8px 8px 0 0;
110142
}
111143

144+
/* --- Content History --- */
112145
.info-card .card-content {
113-
padding: 20px;
146+
padding: 10px 20px;
114147
display: flex;
115148
flex-direction: column;
116149
align-items: flex-start;
117-
margin-top: 10px;
118150
}
119151

120152
.info-card .info-field {
121-
margin: 8px 0;
122-
font-family: 'Agrandir', Arial, sans-serif;
153+
margin: 15px 0;
123154
font-weight: 400;
124155
font-size: 1em;
125-
color: white;
126156
text-align: left;
127157
}
128158

129-
.member-card {
130-
position: absolute;
131-
top: 570px;
132-
left: 85px;
133-
width: 600px;
134-
background-color: transparent;
135-
border: 2px solid #FF6600;
136-
border-radius: 15px;
137-
color: white;
138-
padding-top: 30px;
159+
/* --- Content Members --- */
160+
.member-card .member-card-content {
161+
padding: 10px 20px;
162+
display: grid;
163+
grid-template-columns: 1fr 1fr;
164+
gap: 10px 10px;
139165
}
140166

141-
.member-card .member-card-header {
142-
position: absolute;
143-
top: -22px;
144-
left: 50%;
145-
transform: translateX(-50%);
146-
background-color: #FF6600;
147-
font-family: 'Agrandir', Arial, sans-serif;
148-
font-weight: 900;
149-
font-size: 1.2em;
150-
padding: 8px 30px;
151-
text-align: center;
152-
margin: 0;
153-
color: white;
154-
text-transform: uppercase;
155-
letter-spacing: 1px;
156-
border-radius: 8px;
157-
z-index: 10;
167+
.member-card .member-field {
168+
margin: 8px 0;
169+
font-weight: 400;
170+
font-size: 1em;
171+
text-align: left;
158172
}
159173

160-
.member-card .member-card-content {
161-
padding: 20px;
162-
display: flex;
163-
flex-direction: column;
164-
align-items: flex-start;
165-
margin-top: 10px;
174+
/* --- Content Concert Dates --- */
175+
.concert-card .concert-card-content {
176+
padding: 10px 20px;
177+
display: grid;
178+
grid-template-columns: 1fr 1fr;
179+
gap: 5px 60px;
166180
}
167181

168-
.member-card .member-field {
182+
.concert-card .concert-field {
169183
margin: 8px 0;
170-
font-family: 'Agrandir', Arial, sans-serif;
171184
font-weight: 400;
172185
font-size: 1em;
173-
color: white;
174186
text-align: left;
175187
}
176188

177-
.concert-card {
178-
position: absolute;
179-
top: 570px;
180-
right: 85px;
181-
width: 600px;
182-
background-color: transparent;
189+
/* --- Return Button --- */
190+
.return {
191+
display: block;
192+
margin: 0 auto 0 auto;
193+
background: rgba(255, 102, 0, 0.6);
183194
border: 2px solid #FF6600;
184195
border-radius: 15px;
185196
color: white;
186-
padding-top: 30px;
187-
}
188-
189-
.concert-card .concert-card-header {
190-
position: absolute;
191-
top: -22px;
192-
left: 50%;
193-
transform: translateX(-50%);
194-
background-color: #FF6600;
197+
padding: 10px 30px;
195198
font-family: 'Agrandir', Arial, sans-serif;
196-
font-weight: 900;
197-
font-size: 1.2em;
198-
padding: 8px 30px;
199-
text-align: center;
200-
margin: 0;
201-
color: white;
199+
font-weight: 600;
200+
font-size: 1em;
202201
text-transform: uppercase;
203202
letter-spacing: 1px;
204-
border-radius: 8px;
205-
z-index: 10;
203+
cursor: pointer;
204+
transition: all 0.3s ease;
205+
text-align: center;
206206
}
207207

208-
.concert-card .concert-card-content {
209-
padding: 20px;
210-
display: flex;
211-
flex-direction: column;
212-
align-items: flex-start;
213-
margin-top: 10px;
208+
.return:hover {
209+
transform: scale(1.05);
210+
background: rgba(138, 43, 226, 0.6);
211+
border: 2px solid #8A2BE2;
212+
box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
214213
}
215214

216-
.concert-card .concert-field {
217-
margin: 8px 0;
218-
font-family: 'Agrandir', Arial, sans-serif;
219-
font-weight: 400;
220-
font-size: 1em;
221-
color: white;
222-
text-align: left;
215+
/* --- Responsive --- */
216+
@media (max-width: 1500px) {
217+
.main-layout {
218+
flex-direction: column;
219+
align-items: center;
220+
gap: 40px;
221+
margin: 70px 10%;
222+
}
223+
224+
.artist-image,
225+
.middle-side,
226+
.concert-side {
227+
flex: 1 1 100%;
228+
max-width: 100%;
229+
}
230+
231+
.member-card .member-card-content,
232+
.concert-card .concert-card-content {
233+
grid-template-columns: 1fr 1fr;
234+
gap: 10px;
235+
}
236+
}
237+
238+
@media (min-width: 425px) {
239+
.main-layout {
240+
gap: 60px;
241+
}
242+
243+
.middle-side,
244+
.concert-side {
245+
min-width: 510px;
246+
gap: 50px;
247+
}
248+
249+
.concert-card {
250+
min-width: 510px;
251+
}
252+
253+
.artist-image {
254+
width: 500px;
255+
height: 500px;
256+
flex: 0 0 500px;
257+
}
258+
259+
h1 {
260+
font-size: 5em;
261+
}
223262
}

0 commit comments

Comments
 (0)