TKK_E32230939/webpoultryrail/style.css

206 lines
3.0 KiB
CSS

body {
font-family: Arial;
margin: 0;
background: #f5f5f5;
}
/* ================= HEADER ================= */
.header {
background: #8f8a6a;
color: white;
padding: 15px 20px;
}
.header-content {
display: flex;
justify-content: space-between;
align-items: center;
}
.nav {
display: flex;
gap: 20px;
}
.nav a {
text-decoration: none;
font-weight: bold;
color: white;
}
/* ================= BANNER ================= */
.banner {
background: #8f8a6a;
color: white;
text-align: center;
padding: 40px 20px;
}
.banner p {
margin-top: 20px;
font-size: 18px;
}
/* ================= LOGO ================= */
.logo {
width: 200px;
height: 200px;
background: #eee;
display: flex;
justify-content: center;
align-items: center;
font-size: 100px;
margin: auto;
}
/* ================= TEXT ================= */
.welcome-text {
text-align: center;
margin: 20px 0;
font-size: 20px;
color: #555;
}
/* ================= DASHBOARD ================= */
.dashboard {
background: #ddd;
padding: 20px;
text-align: center;
}
.judul {
margin-bottom: 20px;
}
/* GRID 3 KOLOM */
.grid {
display: flex;
justify-content: space-around;
align-items: center;
flex-wrap: wrap;
gap: 20px;
}
/* BOX ITEM */
.box {
text-align: center;
}
/* ================= PROGRESS ================= */
.progress {
width: 120px;
height: 120px;
border-radius: 50%;
background: conic-gradient(#7b5cff 70%, #ddd 0%);
display: flex;
justify-content: center;
align-items: center;
margin: auto;
font-weight: bold;
font-size: 20px;
}
/* ================= JADWAL ================= */
.jadwal {
background: #a87954;
padding: 15px;
border-radius: 10px;
color: white;
}
.pagi {
background: orange;
padding: 5px;
border-radius: 5px;
}
.sore {
background: #ff7b00;
padding: 5px;
border-radius: 5px;
margin-top: 5px;
}
/* ================= CONTAINER (OLD SUPPORT) ================= */
.container {
display: flex;
gap: 20px;
padding: 20px;
}
.card {
flex: 1;
background: white;
padding: 20px;
border-radius: 10px;
}
/* ================= TABLE ================= */
table {
width: 100%;
border-collapse: collapse;
}
table, th, td {
border: 1px solid black;
}
th {
background: black;
color: white;
}
th, td {
padding: 10px;
text-align: center;
}
/* ================= TITLE ================= */
.title {
text-align: center;
margin-bottom: 15px;
font-size: 20px;
border-bottom: 2px solid #ddd;
padding-bottom: 10px;
}
/* GRID 3 KOLOM */
.grid-3 {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 30px;
}
/* BOX */
.box {
background: white;
padding: 20px;
border-radius: 10px;
text-align: center;
}
/* JADWAL STYLE */
.jadwal {
background: #a87954;
color: white;
}
.pagi {
background: orange;
padding: 5px;
border-radius: 5px;
}
.sore {
background: #ff7b00;
padding: 5px;
border-radius: 5px;
margin-top: 5px;
}
/* RESPONSIVE */
@media (max-width: 768px) {
.grid-3 {
grid-template-columns: 1fr;
}
}