[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
xampp
/
htdocs
/
campus_repo
/
public
/
assets
/
[
Home
]
File: styles.css
/* Reset dasar */ * { margin: 0; padding: 0; box-sizing: border-box; } /* Body */ body { font-family: Calibri, sans-serif; background-color: #f9f9f9; color: #333; line-height: 1.6; } /* Header */ header { background: #004080; color: white; padding: 15px; } header h1 { margin-bottom: 10px; } header nav a { color: white; text-decoration: none; margin-right: 15px; font-weight: bold; } header nav a:hover { text-decoration: underline; } /* Main content */ main { padding: 20px; } /* Footer */ footer { background: #f0f0f0; padding: 15px; text-align: center; margin-top: 30px; } footer a { color: #004080; text-decoration: none; margin: 0 5px; } footer a:hover { text-decoration: underline; } /* Form */ form { margin-top: 15px; max-width: 500px; } form label { display: block; margin-top: 10px; font-weight: bold; } form input, form textarea, form select { width: 100%; padding: 8px; margin-top: 5px; border: 1px solid #ccc; border-radius: 4px; } form button { margin-top: 15px; padding: 10px 15px; background: #004080; color: white; border: none; border-radius: 4px; cursor: pointer; } form button:hover { background: #0066cc; } /* Table */ table { width: 100%; border-collapse: collapse; margin-top: 20px; } table th, table td { border: 1px solid #ddd; padding: 10px; text-align: left; } table th { background: #004080; color: white; } table tr:nth-child(even) { background: #f2f2f2; } /* Flash message */ div.flash { background: #dff0d8; color: #3c763d; padding: 10px; margin-bottom: 15px; border: 1px solid #d6e9c6; border-radius: 4px; } .site-header { background: #004080; color: white; padding: 10px; } .logo-container { display: flex; align-items: center; } .logo { height: 60px; margin-right: 15px; } .banner img { width: 100%; height: auto; margin-top: 10px; border-radius: 6px; } .hero { margin-top: 15px; } .banner-img { width: 100%; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.2); } .welcome { text-align: center; margin-top: 30px; } .welcome h2 { font-size: 28px; color: #004080; margin-bottom: 10px; } .welcome p { font-size: 16px; color: #555; margin-bottom: 20px; } .quick-links { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; } .btn { background: #004080; color: white; padding: 12px 20px; border-radius: 6px; text-decoration: none; font-weight: bold; transition: background 0.3s ease; } .btn:hover { background: #0066cc; } .stats { display: flex; justify-content: center; gap: 30px; margin: 30px 0; flex-wrap: wrap; } .stat-box { background: #e6f0ff; padding: 20px; border-radius: 8px; text-align: center; width: 200px; box-shadow: 0 2px 6px rgba(0,0,0,0.1); } .stat-box h3 { font-size: 32px; color: #004080; margin-bottom: 5px; } .stat-box p { font-size: 14px; color: #555; } /* Responsive tweaks */ @media (max-width: 600px) { .quick-links { flex-direction: column; align-items: center; } .btn { width: 80%; text-align: center; } .stat-box { width: 80%; } } #about { background-color: #f5f5f5; padding: 20px; margin-top: 30px; border-radius: 8px; } #about h2 { color: navy; } body { font-family: Calibri, sans-serif; margin: 0; background-color: #fdfdfd; } header { background-color: navy; color: white; padding: 10px 20px; } header h1 { margin: 0; font-size: 24px; } nav ul { list-style: none; margin: 10px 0 0 0; padding: 0; display: flex; gap: 15px; } nav ul li { display: inline; } nav ul li a { color: white; text-decoration: none; font-weight: bold; } nav ul li a:hover { text-decoration: underline; } body { font-family: Calibri, sans-serif; margin: 0; background-color: #fdfdfd; } header { background-color: navy; color: white; padding: 10px 20px; } header .banner h1 { margin: 0; font-size: 26px; font-weight: bold; } nav ul { list-style: none; margin: 10px 0 0 0; padding: 0; display: flex; gap: 20px; } nav ul li { display: inline; } nav ul li a { color: white; text-decoration: none; font-weight: bold; padding: 6px 10px; border-radius: 4px; } nav ul li a:hover { background-color: #004080; /* biru lebih gelap */ } footer { background-color: #f0f0f0; color: #333; text-align: center; padding: 20px; margin-top: 40px; border-top: 3px solid navy; } footer .footer-content p { margin: 5px 0; font-size: 14px; } .about-section { background-color: #f5f5f5; padding: 20px; margin: 20px auto; border-radius: 8px; max-width: 1100px; } .about-container { display: flex; flex-wrap: wrap; /* agar responsif */ gap: 20px; } .about-info { flex: 1 1 50%; /* kolom kiri */ } .about-map { flex: 1 1 50%; /* kolom kanan */ } .about-map iframe { width: 100%; height: 100%; min-height: 300px; border-radius: 8px; } .about-container { display: flex; flex-direction: row; /* pastikan horizontal */ justify-content: space-between; align-items: flex-start; gap: 20px; } .about-info, .about-map { flex: 1; /* masing-masing ambil setengah */ min-width: 0; /* cegah overflow */ } .about-map iframe { width: 50%; height: 200px; border-radius: 8px; } .about-section { background-color: #f5f5f5; padding: 20px; margin: 20px auto; border-radius: 8px; max-width: 1100px; } .about-container { display: flex; flex-direction: row; /* default: horizontal */ justify-content: space-between; gap: 20px; } .about-info, .about-map { flex: 1; min-width: 0; } .about-map iframe { width: 100%; height: 300px; border-radius: 8px; } /* Responsif: di layar kecil jadi vertikal */ @media (max-width: 768px) { .about-container { flex-direction: column; } .about-map iframe { height: 250px; } }