23 lines
1.6 KiB
CSS
23 lines
1.6 KiB
CSS
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
body { font-family: 'Segoe UI', sans-serif; background: #f4f6f9; color: #333; min-height: 100vh; }
|
|
header { background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.1); padding: 1rem 2rem; }
|
|
nav { display: flex; gap: 1rem; flex-wrap: wrap; }
|
|
nav a { text-decoration: none; color: #2c3e50; font-weight: 500; padding: 0.5rem 0; }
|
|
nav a:hover { color: #3498db; }
|
|
main { max-width: 1200px; margin: 2rem auto; padding: 0 1rem; }
|
|
h1, h2 { color: #2c3e50; margin-bottom: 1rem; }
|
|
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
|
|
th, td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid #eee; }
|
|
th { background: #fafbfc; font-weight: 600; }
|
|
tr:hover { background: #f1f4f8; }
|
|
button, .btn { padding: 0.5rem 1rem; background: #3498db; color: #fff; border: none; border-radius: 4px; cursor: pointer; }
|
|
button:hover { background: #2980b9; }
|
|
form { display: flex; flex-direction: column; gap: 1rem; max-width: 400px; margin: 0 auto; }
|
|
input, select, textarea { padding: 0.5rem; border: 1px solid #ddd; border-radius: 4px; }
|
|
label { font-weight: 500; }
|
|
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); display: flex; justify-content: center; align-items: center; }
|
|
.modal-content { background: #fff; padding: 2rem; border-radius: 8px; width: 90%; max-width: 600px; max-height: 80vh; overflow-y: auto; }
|
|
@media (max-width: 600px) {
|
|
header { padding: 0.5rem 1rem; }
|
|
nav { flex-direction: column; }
|
|
} |