llhd/wwwroot/webnew/css/Berita/Berita.css

93 lines
1.6 KiB
CSS

body {
background: #f5f7fa;
}
.berita-page {
margin: auto;
}
.hero {
background: linear-gradient(135deg, #3b82f6, #2563eb);
color: white;
padding: 50px;
border-radius: 16px;
text-align: center;
margin: 30px 0;
}
.berita-page #search,
.berita-page #filterDate {
padding: 12px;
border-radius: 12px;
border: 1px solid #ddd;
transition: all .2s ease;
}
.berita-page #search:focus,
.berita-page #filterDate:focus {
border-color: #3b82f6;
box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.berita-page .card {
background: white;
border: none;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 4px 10px rgba(0,0,0,0.05);
transition: all .3s ease;
}
.berita-page .card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.berita-page .card-img-top {
width: 100%;
height: 250px;
object-fit: cover;
}
.berita-page .card-body {
padding: 15px;
margin: auto;
}
.berita-page small.text-muted {
font-size: 12px;
color: gray !important;
}
.berita-page .card h6 {
font-size: 16px;
margin: 10px 0;
line-height: 1.5;
}
.berita-page .card p {
font-size: 14px;
color: #555;
}
.berita-page .card a {
color: #2563eb;
font-weight: bold;
text-decoration: none;
}
.berita-page .card a:hover {
text-decoration: underline;
}
@media (max-width: 768px) {
.berita-page .card-img-top {
height: 220px;
}
.berita-page .card-body {
padding: 14px;
}
}