Niveytha27's picture
Initial commit
1361a1e
/* General Layout */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f8f9fa;
color: #333;
}
header {
background-color: #343a40;
color: white;
padding: 1.5rem;
text-align: center;
}
section {
padding: 2rem;
border-bottom: 1px solid #dee2e6;
}
h2 {
border-bottom: 2px solid #007BFF;
padding-bottom: 0.5rem;
margin-bottom: 1rem;
color: #212529;
}
/* Grid and Cards */
.flex-grid {
display: flex;
flex-wrap: wrap;
gap: 1rem;
}
.card {
background-color: #fff;
padding: 1rem;
border-radius: 8px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
flex: 1 1 calc(33% - 2rem);
display: flex;
flex-direction: column;
justify-content: space-between;
}
.card img.thumbnail {
width: 100%;
height: auto;
border-radius: 6px;
margin-bottom: 0.75rem;
}
.video-card {
width: 250px;
margin: 0.5rem;
text-decoration: none;
color: #333;
background: #f9f9f9;
border-radius: 10px;
padding: 0.75rem;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
transition: transform 0.2s ease;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.video-card:hover {
transform: scale(1.03);
background: #f0f8ff;
}
.video-card img {
width: 100%;
border-radius: 6px;
margin-bottom: 0.5rem;
}
.video-card h5 {
font-size: 0.9rem;
margin: 0.25rem 0;
}
.video-card p {
font-size: 0.75rem;
margin: 0.1rem 0;
}
/* Table Styles */
table {
width: 100%;
border-collapse: collapse;
margin-top: 1rem;
}
th, td {
padding: 0.75rem;
border: 1px solid #dee2e6;
text-align: left;
}
th {
background-color: #007BFF;
color: white;
}
/* Filter Select */
select {
padding: 0.5rem;
margin-top: 0.5rem;
margin-bottom: 1rem;
border-radius: 4px;
border: 1px solid #ccc;
font-size: 1rem;
}
/* Responsive Fix */
@media (max-width: 768px) {
.card {
flex: 1 1 100%;
}
}