Шаблон:MainPage/styles.css: различия между версиями
Перейти к навигации
Перейти к поиску
Hloth (обсуждение | вклад) Нет описания правки |
Hloth (обсуждение | вклад) Нет описания правки |
||
| (не показаны 2 промежуточные версии этого же участника) | |||
| Строка 14: | Строка 14: | ||
align-items: center; | align-items: center; | ||
text-align: center; | text-align: center; | ||
} | |||
.main-page-container { | |||
align-items: center; | |||
} | |||
.main-page-blocks { | |||
justify-content: flex-start; | |||
} | } | ||
} | |||
.main-page-blocks { | |||
justify-content: center; | |||
} | } | ||
.main-page-container { | .main-page-container { | ||
| Строка 22: | Строка 31: | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
} | } | ||
.main-page-blocks { | .main-page-blocks { | ||
| Строка 33: | Строка 41: | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
justify-content: space-between; | justify-content: space-between; | ||
gap: | gap: 12px; | ||
} | } | ||
@media (min-width: 560px) { | @media (min-width: 560px) { | ||
.main-page-buttons { | .main-page-buttons { | ||
flex-direction: row; | flex-direction: row; | ||
gap: 24px; | |||
} | } | ||
} | } | ||
Текущая версия от 22:19, 16 марта 2025
.main-page {
display: flex;
flex-direction: column-reverse;
gap: 16px;
}
@media (min-width: 960px) {
.main-page {
flex-direction: row;
}
}
@media (min-width: 560px) {
.main-page {
justify-content: center;
align-items: center;
text-align: center;
}
.main-page-container {
align-items: center;
}
.main-page-blocks {
justify-content: flex-start;
}
}
.main-page-blocks {
justify-content: center;
}
.main-page-container {
width: 800px;
max-width: 100%;
margin: 0 auto;
display: flex;
flex-direction: column;
}
.main-page-blocks {
flex-shrink: 0;
flex-wrap: wrap;
}
.main-page-buttons {
display: flex;
flex-direction: column;
flex-wrap: wrap;
justify-content: space-between;
gap: 12px;
}
@media (min-width: 560px) {
.main-page-buttons {
flex-direction: row;
gap: 24px;
}
}
.main-page-buttons-section {
display: flex;
flex-direction: column;
align-items: flex-start;
text-align: left;
flex-shrink: 0;
}
.main-page-buttons-section-label {
font-weight: 600;
font-size: 24px;
}
.main-page-join {
margin: 64px 0 32px 0;
}
.main-page-editing-warning {
width: 600px;
max-width: 100%;
color: gray;
}