youtube_live_calendar/public/css/schedule.css

60 lines
1.0 KiB
CSS
Raw Normal View History

.schedule-container {
width: 80%;
margin: 0 auto;
}
.date-header {
font-size: 1.5em;
margin: 20px 0;
font-weight: bold;
}
.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;
width: calc(50% - 10px); /* 2列になるように調整 */
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;
}