zbiorki_app/static/css/custom.css
Mateusz Gruszczyński 26a9d803a1 drobne zmiany
2025-03-17 11:13:54 +01:00

168 lines
3.0 KiB
CSS

/* Import czcionki Roboto */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
/* Globalne */
body {
font-family: 'Roboto', sans-serif;
background-color: #121212;
color: #dcdcdc;
padding-top: 1vh;
margin: 0;
}
/* Nawigacja */
.navbar {
background-color: #1c1c1c;
border-bottom: 1px solid #444;
transition: background-color 0.3s ease;
}
.navbar-brand {
color: #f5f5f5;
font-weight: bold;
transition: color 0.3s ease;
}
.nav-link {
color: #cccccc;
transition: color 0.3s ease;
}
.nav-link:hover {
color: #ffc107;
}
/* Karty */
.card {
background-color: #444242;
border: none;
border-radius: 0.5rem;
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.6);
margin-bottom: 20px;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0px 3px 16px rgba(0, 0, 0, 0.8);
}
.card-header {
background-color: #272727;
border-bottom: 1px solid #444;
font-weight: bold;
}
.card-body {
background-color: #444242;
}
/* Przyciski */
.btn {
text-transform: uppercase;
font-weight: bold;
transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn:hover {
transform: translateY(-2px);
}
.btn-primary {
background-color: #2d2c2c;
border-color: #ffeb3b;
color: #ffffff;
}
.btn-primary:hover {
background-color: #1e1e1e;
border-color: #ffc107;
}
/* Linki */
a {
color: #ffc107;
transition: color 0.3s ease;
}
a:hover {
color: #ffeb3b;
}
/* Progress Bar */
.progress {
background-color: #2a2a2a;
border-radius: 0.5rem;
height: 35px;
font-size: 1.2rem;
}
.progress-bar {
background: linear-gradient(90deg, #ffc107, #ffeb3b);
font-weight: bold;
transition: width 0.3s ease;
animation: progressAnimation 1s ease-in-out forwards;
}
@keyframes progressAnimation {
from { width: 0%; }
to { width: var(--progress-width); }
}
/* Alerty (flash messages) */
.alert {
opacity: 0;
animation: fadeIn 0.5s forwards;
margin-bottom: 1rem;
}
@keyframes fadeIn {
to { opacity: 1; }
}
/* Dodatkowe marginesy */
.container {
padding: 0 15px;
}
/* Responsywność */
@media (max-width: 767px) {
.card {
margin-bottom: 1rem;
}
.card-title {
font-size: 1.25rem;
}
.btn {
font-size: 0.9rem;
}
}
h1 { font-size: 2rem; margin-bottom: 1rem; }
h2 { font-size: 1.7rem; margin-bottom: 0.8rem; }
h3 { font-size: 0.9rem; margin-bottom: 0.6rem; }
/* Wspomóż */
.card.wspomoz-card {
border: 1px solid #ffc107 !important;
border-radius: 0.2rem !important;
}
.card.wspomoz-card .card-body,
.card.wspomoz-card .card-title,
.card.wspomoz-card .card-text {
color: #ffffff !important;
font-weight: bold;
font-size: 1.25rem;
}
.btn-primary:focus,
.btn-primary:active,
.btn-primary.focus,
.btn-primary.active {
background-color: #2d2c2c !important;
border-color: #ffeb3b !important;
color: #ffffff !important;
box-shadow: none;
outline: none;
}