MediaWiki:Common.css: различия между версиями
Перейти к навигации
Перейти к поиску
Admin (обсуждение | вклад) Нет описания правки |
Admin (обсуждение | вклад) Нет описания правки |
||
Строка 46: | Строка 46: | ||
margin: 20px 0; | margin: 20px 0; | ||
border-radius: 4px; | border-radius: 4px; | ||
} | |||
/* Переключатель уровней */ | |||
.level-switcher { | |||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |||
color: white; | |||
padding: 15px; | |||
margin: 20px 0; | |||
border-radius: 8px; | |||
text-align: center; | |||
} | |||
.current-level { | |||
font-weight: bold; | |||
font-size: 18px; | |||
color: #fff200; | |||
} | |||
.level-buttons { | |||
margin-top: 15px; | |||
} | |||
.level-btn { | |||
display: inline-block; | |||
padding: 10px 15px; | |||
margin: 5px; | |||
border-radius: 20px; | |||
text-decoration: none; | |||
color: white; | |||
font-weight: bold; | |||
transition: all 0.3s ease; | |||
} | |||
.level-btn.federal { background: #2196F3; } | |||
.level-btn.regional { background: #4CAF50; } | |||
.level-btn.municipal { background: #FF9800; } | |||
.level-btn.university { background: #9C27B0; } | |||
.level-btn.active { | |||
transform: scale(1.1); | |||
box-shadow: 0 4px 8px rgba(0,0,0,0.3); | |||
} | |||
.level-btn:hover { | |||
transform: scale(1.05); | |||
opacity: 0.8; | |||
} | } |
Текущая версия от 10:48, 25 августа 2025
/* Размещённый здесь CSS будет применяться ко всем темам оформления */ /* Стили для главной страницы вики */ .wiki-main-header { background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); border-radius: 8px; padding: 20px; margin-bottom: 20px; } .wiki-level-indicator { background-color: #e8f4f8; border-left: 4px solid #2196F3; padding: 10px; margin: 10px 0; border-radius: 4px; } .wiki-ai-assistant { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 20px; border-radius: 8px; margin: 20px 0; } /* Стили для главной страницы вики */ .wiki-main-header { background: #f9f9f9; border: 1px solid #ddd; padding: 20px; margin: 10px 0; border-radius: 5px; } .wiki-level-indicator { background-color: #e8f4f8; border-left: 4px solid #2196F3; padding: 10px; margin: 10px 0; border-radius: 4px; } .wiki-ai-assistant { background-color: #e6f3ff; border-left: 4px solid #0066cc; padding: 15px; margin: 20px 0; border-radius: 4px; } /* Переключатель уровней */ .level-switcher { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 15px; margin: 20px 0; border-radius: 8px; text-align: center; } .current-level { font-weight: bold; font-size: 18px; color: #fff200; } .level-buttons { margin-top: 15px; } .level-btn { display: inline-block; padding: 10px 15px; margin: 5px; border-radius: 20px; text-decoration: none; color: white; font-weight: bold; transition: all 0.3s ease; } .level-btn.federal { background: #2196F3; } .level-btn.regional { background: #4CAF50; } .level-btn.municipal { background: #FF9800; } .level-btn.university { background: #9C27B0; } .level-btn.active { transform: scale(1.1); box-shadow: 0 4px 8px rgba(0,0,0,0.3); } .level-btn:hover { transform: scale(1.05); opacity: 0.8; }