Skip to content

Commit 8c74207

Browse files
authored
Merge pull request #503 from Adez017/Broadcast_UI
Broadcast Page UI Changed
2 parents 69d21f1 + 7127060 commit 8c74207

File tree

3 files changed

+462
-116
lines changed

3 files changed

+462
-116
lines changed

src/pages/broadcasts/index.css

Lines changed: 43 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,12 +221,43 @@ h1 {
221221
.details-card {
222222
max-width: 1200px;
223223
margin: 0 auto;
224-
padding: 2rem;
225-
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
226-
border-radius: 12px;
227-
background: var(--ifm-background-surface-color);
224+
padding: 3rem;
225+
box-shadow:
226+
0 10px 30px rgba(0, 0, 0, 0.1),
227+
0 4px 12px rgba(0, 0, 0, 0.05);
228+
border-radius: 24px;
229+
background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
228230
width: 100%;
229231
box-sizing: border-box;
232+
border: 1px solid rgba(226, 232, 240, 0.6);
233+
position: relative;
234+
backdrop-filter: blur(10px);
235+
}
236+
237+
.details-card::before {
238+
content: '';
239+
position: absolute;
240+
top: 0;
241+
left: 0;
242+
right: 0;
243+
bottom: 0;
244+
background: radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.03) 0%, transparent 40%),
245+
radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.02) 0%, transparent 45%);
246+
border-radius: 24px;
247+
z-index: -1;
248+
}
249+
250+
[data-theme='dark'] .details-card {
251+
background: linear-gradient(145deg, var(--dark-card-bg) 0%, #0c1117 100%);
252+
border-color: var(--dark-border);
253+
box-shadow:
254+
0 10px 30px rgba(0, 0, 0, 0.3),
255+
0 4px 12px rgba(0, 0, 0, 0.2);
256+
}
257+
258+
[data-theme='dark'] .details-card::before {
259+
background: radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.06) 0%, transparent 40%),
260+
radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.04) 0%, transparent 45%);
230261
}
231262

232263
.video-container {
@@ -522,3 +553,11 @@ h1 {
522553
.pagination span {
523554
font-weight: bold;
524555
}
556+
.video-info .video-title {
557+
color: #333 !important;
558+
font-weight: 600;
559+
}
560+
561+
[data-theme='dark'] .video-info .video-title {
562+
color: #fff !important;
563+
}

src/pages/broadcasts/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ const VideoCard: React.FC<{
155155
>
156156
<div className="video-content">
157157
<div className="video-info">
158-
<div className="video-title">{title}</div>
158+
<div className="video-title"style={{ color: '#333', fontWeight: '600' }}>{title}</div>
159159
<div className="video-type">
160160

161161
</div>
@@ -167,6 +167,7 @@ const VideoCard: React.FC<{
167167
src={thumbnailUrl}
168168
alt={title}
169169
className="thumbnail-img"
170+
style={{ objectFit: 'cover' }}
170171
loading="lazy"
171172
onError={(e) => {
172173
const img = e.target as HTMLImageElement;

0 commit comments

Comments
 (0)