Files
TIMP-LABS/.shii/lab4/static/main.css
T
2026-04-03 21:12:02 +07:00

198 lines
3.3 KiB
CSS

body {
margin: 0;
font-family: Arial, sans-serif;
background: linear-gradient(120deg,#e6f4ff,#f5fbff);
color:#1b2b34;
}
.header {
background: linear-gradient(90deg, #084b83, #0d6ba3);
color: white;
padding: 20px 0;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.header-inner {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: 24px;
font-weight: bold;
}
.header nav {
display: flex;
gap: 30px;
}
.header nav a {
color: white;
text-decoration: none;
font-weight: 500;
transition: opacity 0.3s;
}
.header nav a:hover {
opacity: 0.8;
}
.footer {
text-align: center;
padding: 20px;
background: #f0f8ff;
border-top: 1px solid #b5d9ff;
margin-top: 40px;
color: #666;
}
.container {
max-width: 900px;
margin: auto;
padding: 30px;
}
.nav {
background: #cce7ff;
padding: 15px;
display:flex;
gap:20px;
justify-content:center;
}
.nav a {
text-decoration:none;
font-weight:bold;
color:#084b83;
}
h1,h2,h3 { word-wrap: break-word; }
.card {
background:white;
padding:20px;
margin:20px 0;
border-radius:12px;
box-shadow:0 4px 12px rgba(0,0,0,0.1);
word-wrap: break-word;
}
.form {
display:flex;
flex-direction:column;
gap:15px;
}
.form-group {
display: flex;
flex-direction: column;
gap: 6px;
}
.form-group label {
font-weight: 600;
color: #084b83;
font-size: 15px;
}
.form-group small {
color: #666;
font-size: 13px;
font-weight: 400;
}
input, textarea {
padding:12px;
border-radius:8px;
border:1px solid #b5d9ff;
font-size:16px;
}
button, .btn {
background:#4da6ff;
color:white;
padding:10px 15px;
border-radius:8px;
text-decoration:none;
border:none;
cursor:pointer;
display:inline-block;
font-weight: 600;
transition: background 0.2s;
}
button:hover, .btn:hover {
background: #3a8ee6;
}
.btn-primary {
background: linear-gradient(135deg, #4da6ff 0%, #2e7fd6 100%);
padding: 12px 24px;
font-size: 16px;
}
.btn-primary:hover {
background: linear-gradient(135deg, #3a8ee6 0%, #1f5db8 100%);
}
.btn.danger { background:#ff6b6b; }
.btn.danger:hover { background: #ff5252; }
.alert {
background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
border: none;
border-radius: 12px;
padding: 16px 20px;
margin-bottom: 25px;
color: white;
font-weight: 600;
box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
animation: slideDown 0.3s ease-out;
}
.error-window {
background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
border: 3px solid #d63031;
border-radius: 14px;
padding: 20px;
margin-bottom: 30px;
box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
animation: slideDown 0.3s ease-out;
}
.error-header {
color: white;
font-weight: 700;
font-size: 18px;
margin-bottom: 15px;
display: flex;
align-items: center;
gap: 8px;
}
.error-list {
display: flex;
flex-direction: column;
gap: 10px;
}
.error-item {
color: white;
font-weight: 500;
font-size: 16px;
line-height: 1.4;
}
@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}