Шаблон:MainPage/styles.css: различия между версиями
Hloth (обсуждение | вклад) Нет описания правки |
Hloth (обсуждение | вклад) Нет описания правки |
||
| (не показано 14 промежуточных версий этого же участника) | |||
| Строка 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 { | ||
flex: | width: 800px; | ||
max-width: 100%; | |||
margin: 0 auto; | |||
display: flex; | |||
flex-direction: column; | |||
} | } | ||
.main-page-blocks { | .main-page-blocks { | ||
flex-shrink: 0; | flex-shrink: 0; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
} | } | ||
.main-page-buttons { | .main-page-buttons { | ||
display: flex; | display: flex; | ||
flex-direction: column; | |||
flex-wrap: wrap; | |||
justify-content: space-between; | justify-content: space-between; | ||
gap: 12px; | |||
} | |||
@media (min-width: 560px) { | |||
.main-page-buttons { | |||
flex-direction: row; | |||
gap: 24px; | |||
} | |||
} | } | ||
.main-page-buttons-section { | .main-page-buttons-section { | ||
| Строка 25: | Строка 54: | ||
align-items: flex-start; | align-items: flex-start; | ||
text-align: left; | text-align: left; | ||
flex-shrink: 0; | |||
} | } | ||
.main-page-buttons-section-label { | .main-page-buttons-section-label { | ||
font-weight: 600; | font-weight: 600; | ||
font-size: 24px; | font-size: 24px; | ||
} | |||
.main-page-join { | |||
margin: 64px 0 32px 0; | |||
} | |||
.main-page-editing-warning { | |||
width: 600px; | |||
max-width: 100%; | |||
color: gray; | |||
} | } | ||