Обновить static/css/custom.css

This commit is contained in:
masterpmi 2026-07-23 21:37:10 +03:00
parent 3e7a267dfb
commit 81990753ff

View File

@ -276,9 +276,38 @@ main img {
font-size: 1.3em;
}
}
/* ------------------------------------------------------------------ */
/* Статистика института */
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 20px;
margin: 30px 0;
}
.stat-card {
background: linear-gradient(135deg, #003366, #004080);
color: white;
padding: 25px;
border-radius: 10px;
text-align: center;
box-shadow: 0 4px 12px rgba(0, 51, 102, 0.2);
}
.stat-number {
font-size: 2.5em;
font-weight: bold;
margin-bottom: 10px;
}
.stat-label {
font-size: 0.9em;
opacity: 0.9;
}
/* ------------------------------------------------------------------ */
/* Тёмная тема (переключатель) */
/* Тёмная тема */
body.dark-mode {
background: linear-gradient(135deg, #1a1f2e 0%, #2d3748 100%);
color: #e2e8f0;