119 lines
1.6 KiB
CSS
119 lines
1.6 KiB
CSS
/*body {
|
|
font-family: 'Segoe UI', sans-serif;
|
|
background: #f5f7fa;
|
|
}
|
|
|
|
.container {
|
|
width: 90%;
|
|
margin: auto;
|
|
}
|
|
|
|
|
|
.hero {
|
|
background: linear-gradient(135deg, #3b82f6, #2563eb);
|
|
color: white;
|
|
padding: 50px;
|
|
border-radius: 16px;
|
|
text-align: center;
|
|
margin: 30px 0;
|
|
}
|
|
|
|
|
|
.filter {
|
|
display: flex;
|
|
gap: 20px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.filter input {
|
|
padding: 12px;
|
|
border-radius: 10px;
|
|
border: 1px solid #ddd;
|
|
flex: 1;
|
|
}
|
|
|
|
|
|
.berita-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 25px;
|
|
}
|
|
|
|
|
|
.card {
|
|
background: white;
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
box-shadow: 0 4px 10px rgba(0,0,0,0.05);
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.card:hover {
|
|
transform: translateY(-5px);
|
|
}
|
|
|
|
.card img {
|
|
width: 100%;
|
|
height: 300px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.card-body {
|
|
padding: 15px;
|
|
}
|
|
|
|
.date {
|
|
font-size: 12px;
|
|
color: gray;
|
|
}
|
|
|
|
.card h3 {
|
|
font-size: 16px;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.card p {
|
|
font-size: 14px;
|
|
color: #555;
|
|
}
|
|
|
|
.card a {
|
|
color: #2563eb;
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
}*/
|
|
|
|
/* FOOTER */
|
|
/*.footer {
|
|
background: #0f2a44;
|
|
color: white;
|
|
margin-top: 50px;
|
|
padding: 40px 0;
|
|
}
|
|
|
|
.footer-container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
width: 90%;
|
|
margin: auto;
|
|
}
|
|
|
|
.footer-menu h4 {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.footer-menu ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.footer-menu li {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.copyright {
|
|
text-align: center;
|
|
margin-top: 20px;
|
|
font-size: 12px;
|
|
}*/
|