MediaWiki:Common.css
Замечание: Возможно, после публикации вам придётся очистить кэш своего браузера, чтобы увидеть изменения.
- Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl+F5 или Ctrl+R (⌘+R на Mac)
- Google Chrome: Нажмите Ctrl+Shift+R (⌘+Shift+R на Mac)
- Edge: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl+F5
- Opera: Нажмите Ctrl+F5.
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
/* Исправление отображения логотипа */
#p-logo {
width: 160px !important;
height: 160px !important;
overflow: visible !important;
}
#p-logo a {
width: 100% !important;
height: 100% !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
background: none !important;
}
#p-logo a img {
display: block !important;
width: 100% !important;
height: 100% !important;
object-fit: contain !important;
max-width: 160px !important;
max-height: 160px !important;
}
/* Убираем стандартный текст */
#p-logo a span {
display: none !important;
}
/* Для мобильной версии */
@media (max-width: 768px) {
#p-logo {
width: 120px !important;
height: 120px !important;
}
#p-logo a img {
max-width: 120px !important;
max-height: 120px !important;
}
}
/* Стили для главной страницы поддержки */
.support-homepage {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
.support-header {
text-align: center;
margin-bottom: 40px;
}
.support-header h1 {
color: #2c3e50;
margin-bottom: 10px;
}
.support-header p {
color: #7f8c8d;
font-size: 18px;
}
.search-section {
text-align: center;
margin: 30px 0;
}
.support-search {
padding: 12px 20px;
width: 60%;
max-width: 500px;
border: 2px solid #ddd;
border-radius: 25px;
font-size: 16px;
}
.search-section button {
padding: 12px 25px;
background: #3498db;
color: white;
border: none;
border-radius: 25px;
cursor: pointer;
font-size: 16px;
margin-left: 10px;
}
.categories-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
margin: 40px 0;
}
.category-card {
background: white;
padding: 25px;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
border-left: 4px solid #3498db;
}
.category-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.category-icon {
font-size: 2em;
margin-bottom: 15px;
}
.category-card h3 {
color: #2c3e50;
margin-bottom: 10px;
}
.category-card p {
color: #7f8c8d;
margin-bottom: 15px;
}
.category-card ul {
list-style: none;
padding: 0;
}
.category-card li {
margin: 8px 0;
}
.category-card a {
color: #3498db;
text-decoration: none;
}
.category-card a:hover {
text-decoration: underline;
}
.support-actions {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 30px;
margin-top: 50px;
}
.action-box {
background: #f8f9fa;
padding: 25px;
border-radius: 10px;
border: 1px solid #e9ecef;
}
.action-box h3 {
color: #2c3e50;
margin-bottom: 15px;
}
.action-box button {
padding: 12px 25px;
background: #27ae60;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
}
.action-box ul {
list-style: none;
padding: 0;
}
.action-box li {
margin: 10px 0;
}
.action-box a {
color: #3498db;
text-decoration: none;
}
.action-box a:hover {
text-decoration: underline;
}
/* Адаптивность */
@media (max-width: 768px) {
.categories-grid {
grid-template-columns: 1fr;
}
.support-actions {
grid-template-columns: 1fr;
}
.support-search {
width: 100%;
margin-bottom: 10px;
}
.search-section button {
width: 100%;
margin-left: 0;
}
}