MediaWiki:Common.css: различия между версиями
Перейти к навигации
Перейти к поиску
Нет описания правки |
Нет описания правки |
||
| Строка 26: | Строка 26: | ||
font-weight: 500; | font-weight: 500; | ||
white-space: nowrap; | white-space: nowrap; | ||
} | |||
.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; | |||
} | } | ||
Текущая версия от 22:38, 8 июня 2026
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
.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-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-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;
}