File size: 1,895 Bytes
1361a1e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 |
/* 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%;
}
}
|