MediaWiki:Common.css: различия между версиями
		
		
		
		
		
		Перейти к навигации
		Перейти к поиску
		
				
		
		
	
| Drygok (обсуждение | вклад) Нет описания правки | Drygok (обсуждение | вклад)  Нет описания правки | ||
| (не показано 7 промежуточных версий этого же участника) | |||
| Строка 1: | Строка 1: | ||
| .mainpage-security-block { | .mainpage-security-block { | ||
|      background: #f6f9f6; |      background: #f6f9f6; | ||
|      border: 1px solid rgba(0, 0, 0, 0.08); |      border: 1px solid rgba(0, 0, 0, 0.08); | ||
| Строка 10: | Строка 5: | ||
|      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06); |      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06); | ||
|     box-sizing: border-box; | |||
|      padding: 10px 16px; |      padding: 10px 16px; | ||
|      display: flex; | |||
|      align-items: center; | |||
|     justify-content: center; | |||
|     gap: 12px 24px; | |||
|      font-size: 14px; |      font-size: 14px; | ||
|      line-height: 1.5; |      line-height: 1.5; | ||
|     font-weight: 500; | |||
|      white-space: nowrap; |      white-space: nowrap; | ||
| } | } | ||
| Строка 41: | Строка 38: | ||
|      font-weight: 500; |      font-weight: 500; | ||
|      text-decoration: none; |      text-decoration: none; | ||
| } | } | ||
| Строка 48: | Строка 44: | ||
| } | } | ||
| .mainpage-security-block-entry { | |||
|     display: inline-flex; | |||
|     align-items: center; | |||
|     gap: 6px; | |||
|     white-space: nowrap; | |||
| } | |||
| Строка 74: | Строка 76: | ||
| } | } | ||
| .mainpage-card-head { | .mainpage-card-head { | ||
Текущая версия от 13:06, 26 октября 2025
.mainpage-security-block {
    background: #f6f9f6;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px 24px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    white-space: nowrap;
}
.mainpage-security-block p {
    margin: 0;
    padding: 0;
    display: contents;
}
.mainpage-security-block .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}
.mainpage-security-block a {
    color: #003366;
    font-weight: 500;
    text-decoration: none;
}
.mainpage-security-block a:hover {
    text-decoration: underline;
}
.mainpage-security-block-entry {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.mainpage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 420px));
    gap: 16px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1.45;
    justify-content: center;
}
.mainpage-card {
    background-color: #ffffff;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    padding: 12px 16px 14px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}
.mainpage-card-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    border-radius: 6px;
    padding: 6px 8px;
    margin-bottom: 10px;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.4;
    box-sizing: border-box;
}
.mainpage-card-head p {
    margin: 0;
    padding: 0;
    display: contents;
}
.mainpage-card-head .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    min-width: 16px;
}
.mainpage-card-list {
    margin: 0;
    padding-left: 18px;
}
.mainpage-card-list li {
    margin: 2px 0;
}
.mainpage-columns-2 {
    column-count: 2;
    column-gap: 24px;
}
@media (max-width: 500px) {
    .mainpage-columns-2 {
        column-count: 1;
    }
}