MediaWiki:Common.css: различия между версиями
Перейти к навигации
Перейти к поиску
Imba (обсуждение | вклад) Нет описания правки |
Imba (обсуждение | вклад) Нет описания правки |
||
| Строка 1: | Строка 1: | ||
/* Размещённый здесь CSS будет применяться ко всем темам оформления */ | /* Размещённый здесь CSS будет применяться ко всем темам оформления */ | ||
/* Стили для статьи о настройке профиля */ | |||
.settings-section { | |||
background: white; | |||
padding: 25px; | |||
margin: 20px 0; | |||
border-radius: 12px; | |||
box-shadow: 0 4px 15px rgba(0,0,0,0.1); | |||
border-left: 4px solid #667eea; | |||
} | |||
.profile-sections { | |||
margin: 30px 0; | |||
} | |||
.profile-sections .wikitable { | |||
width: 100%; | |||
border-collapse: collapse; | |||
} | |||
.profile-sections th { | |||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |||
color: white; | |||
padding: 15px; | |||
text-align: left; | |||
} | |||
.profile-sections td { | |||
padding: 12px; | |||
border-bottom: 1px solid #eee; | |||
} | |||
.profile-sections tr:hover { | |||
background: #f8f9ff; | |||
} | |||
.business-tariffs { | |||
background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%); | |||
padding: 25px; | |||
border-radius: 15px; | |||
margin: 25px 0; | |||
border: 2px solid #9c27b0; | |||
} | |||
.business-tariffs ul { | |||
margin: 15px 0; | |||
padding-left: 20px; | |||
} | |||
.business-tariffs li { | |||
margin: 8px 0; | |||
padding-left: 5px; | |||
} | |||
.optimization-tips { | |||
background: #e8f5e8; | |||
padding: 25px; | |||
border-radius: 12px; | |||
margin: 25px 0; | |||
border-left: 4px solid #4caf50; | |||
} | |||
.optimization-tips ol { | |||
margin: 15px 0; | |||
padding-left: 25px; | |||
} | |||
.optimization-tips li { | |||
margin: 12px 0; | |||
padding-left: 5px; | |||
font-weight: 500; | |||
} | |||
.troubleshooting { | |||
margin: 30px 0; | |||
} | |||
.troubleshooting .wikitable { | |||
width: 100%; | |||
} | |||
.notice { | |||
background: #fff3e0; | |||
border: 2px solid #ff9800; | |||
padding: 20px; | |||
border-radius: 10px; | |||
margin: 20px 0; | |||
font-weight: bold; | |||
text-align: center; | |||
} | |||
/* Адаптивность */ | |||
@media (max-width: 768px) { | |||
.profile-sections table { | |||
display: block; | |||
overflow-x: auto; | |||
} | |||
.settings-section { | |||
padding: 15px; | |||
} | |||
.business-tariffs { | |||
padding: 15px; | |||
} | |||
} | |||
/* Стили для ссылок на разделы */ | |||
a[href*="imba.market"] { | |||
color: #667eea !important; | |||
font-weight: 600; | |||
text-decoration: none; | |||
} | |||
a[href*="imba.market"]:hover { | |||
color: #764ba2 !important; | |||
text-decoration: underline; | |||
} | |||
/* Стили для статьи о регистрации */ | /* Стили для статьи о регистрации */ | ||
Версия от 11:11, 1 сентября 2025
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
/* Стили для статьи о настройке профиля */
.settings-section {
background: white;
padding: 25px;
margin: 20px 0;
border-radius: 12px;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
border-left: 4px solid #667eea;
}
.profile-sections {
margin: 30px 0;
}
.profile-sections .wikitable {
width: 100%;
border-collapse: collapse;
}
.profile-sections th {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 15px;
text-align: left;
}
.profile-sections td {
padding: 12px;
border-bottom: 1px solid #eee;
}
.profile-sections tr:hover {
background: #f8f9ff;
}
.business-tariffs {
background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
padding: 25px;
border-radius: 15px;
margin: 25px 0;
border: 2px solid #9c27b0;
}
.business-tariffs ul {
margin: 15px 0;
padding-left: 20px;
}
.business-tariffs li {
margin: 8px 0;
padding-left: 5px;
}
.optimization-tips {
background: #e8f5e8;
padding: 25px;
border-radius: 12px;
margin: 25px 0;
border-left: 4px solid #4caf50;
}
.optimization-tips ol {
margin: 15px 0;
padding-left: 25px;
}
.optimization-tips li {
margin: 12px 0;
padding-left: 5px;
font-weight: 500;
}
.troubleshooting {
margin: 30px 0;
}
.troubleshooting .wikitable {
width: 100%;
}
.notice {
background: #fff3e0;
border: 2px solid #ff9800;
padding: 20px;
border-radius: 10px;
margin: 20px 0;
font-weight: bold;
text-align: center;
}
/* Адаптивность */
@media (max-width: 768px) {
.profile-sections table {
display: block;
overflow-x: auto;
}
.settings-section {
padding: 15px;
}
.business-tariffs {
padding: 15px;
}
}
/* Стили для ссылок на разделы */
a[href*="imba.market"] {
color: #667eea !important;
font-weight: 600;
text-decoration: none;
}
a[href*="imba.market"]:hover {
color: #764ba2 !important;
text-decoration: underline;
}
/* Стили для статьи о регистрации */
.article-header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
padding: 20px;
border-radius: 15px;
color: white;
margin-bottom: 30px;
}
.registration-steps {
margin: 25px 0;
}
.feature-box {
background: #e3f2fd;
border-left: 4px solid #2196f3;
padding: 20px;
border-radius: 8px;
margin: 20px 0;
}
.troubleshooting {
margin: 30px 0;
}
.security-tips {
background: #f3e5f5;
border: 2px solid #9c27b0;
padding: 25px;
border-radius: 12px;
margin: 25px 0;
}
.security-tips li {
margin: 10px 0;
padding-left: 10px;
}
.notice {
background: #fff3e0;
border: 2px solid #ff9800;
padding: 20px;
border-radius: 10px;
margin: 20px 0;
font-weight: bold;
}
/* Адаптивность для таблиц */
@media (max-width: 768px) {
.wikitable {
font-size: 14px;
}
.registration-steps table {
display: block;
overflow-x: auto;
}
}
/* Стили для quiz */
quiz {
display: block;
margin: 30px 0;
padding: 20px;
background: #f5f5f5;
border-radius: 10px;
border-left: 4px solid #4caf50;
}
/* Стили для главной страницы поддержки */
.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;
}
}