MediaWiki:Common.css: различия между версиями
Перейти к навигации
Перейти к поиску
Imba (обсуждение | вклад) Новая страница: «→Размещённый здесь CSS будет применяться ко всем темам оформления: →Стили для главной страницы поддержки: .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;...» |
(нет различий)
|
Версия от 14:12, 31 августа 2025
/* Размещённый здесь CSS будет применяться ко всем темам оформления */ /* Стили для главной страницы поддержки */ .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; } }