youtube_live_calendar/public/css/schedule.css

70 lines
1.0 KiB
CSS

.schedule-container {
width: 80%;
margin: 0 auto;
}
.date-header {
font-size: 1.5em;
margin: 20px 0;
font-weight: bold;
min-width: 550px;
}
.banners {
display: flex;
flex-wrap: wrap;
gap: 20px;
}
.banner {
display: flex;
flex-direction: row;
align-items: center;
text-decoration: none;
color: black;
background-color: #f9f9f9;
border: 1px solid #ddd;
border-radius: 8px;
overflow: hidden;
flex: 1 1 calc(50% - 13px);
max-width: calc(50% - 13px);
min-width: 550px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.2s, box-shadow 0.2s;
}
.banner:hover {
transform: scale(1.02);
box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}
.thumbnail img {
width: 150px;
height: auto;
object-fit: cover;
}
.details {
padding: 10px;
flex: 1;
}
.time-channel {
font-size: 1em;
margin-bottom: 5px;
color: #333;
}
.title {
font-size: 1.2em;
font-weight: bold;
color: #555;
}
.header-spacer {
height: 60px;
}
.main-content {
margin-top: 20px;
}