Шаблон:MainPage/styles.css: различия между версиями
Перейти к навигации
Перейти к поиску
Hloth (обсуждение | вклад) Нет описания правки |
Hloth (обсуждение | вклад) Нет описания правки |
||
| (не показано 6 промежуточных версий этого же участника) | |||
| Строка 1: | Строка 1: | ||
.main-page { | .main-page { | ||
display: flex; | 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; | justify-content: center; | ||
} | } | ||
.main-page-container { | .main-page-container { | ||
| Строка 12: | Строка 31: | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
} | } | ||
.main-page-blocks { | .main-page-blocks { | ||
| Строка 20: | Строка 38: | ||
.main-page-buttons { | .main-page-buttons { | ||
display: flex; | display: flex; | ||
flex-direction: column; | |||
flex-wrap: wrap; | flex-wrap: wrap; | ||
justify-content: space-between; | justify-content: space-between; | ||
gap: 24px; | gap: 12px; | ||
} | |||
@media (min-width: 560px) { | |||
.main-page-buttons { | |||
flex-direction: row; | |||
gap: 24px; | |||
} | |||
} | } | ||
.main-page-buttons-section { | .main-page-buttons-section { | ||
Текущая версия от 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;
}