1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-10-16 15:07:27 +00:00
festa/styles/page-tweaks.css

60 lines
902 B
CSS
Raw Normal View History

2022-05-29 03:00:48 +00:00
#page-index {
display: grid;
grid-template-columns: 100%;
grid-template-rows: 1fr 1fr;
2022-05-29 02:01:56 +00:00
2022-05-29 03:00:48 +00:00
justify-content: center;
2022-05-29 02:01:56 +00:00
text-align: center;
}
2022-05-29 03:00:48 +00:00
#page-index .hero-titles {
align-self: center;
grid-row: 1;
}
.hero-titles h1 {
2022-05-29 02:01:56 +00:00
font-size: 10rem;
}
2022-05-29 03:00:48 +00:00
.hero-titles h2 {
2022-05-29 02:01:56 +00:00
font-size: 2.5rem;
}
2022-05-29 03:00:48 +00:00
@media (max-width: 640px) or (max-height: 640px) {
.hero-titles h1 {
2022-05-29 02:01:56 +00:00
font-size: 5rem;
}
2022-05-29 03:00:48 +00:00
.hero-titles h2 {
2022-05-29 02:01:56 +00:00
font-size: 1.5rem;
}
}
2022-05-29 03:00:48 +00:00
#page-index .hero-action {
align-self: start;
grid-row: 2;
}
.form-event-create {
2022-05-29 02:01:56 +00:00
display: flex;
2022-05-29 03:00:48 +00:00
flex-direction: row;
2022-05-29 02:01:56 +00:00
justify-content: space-evenly;
align-items: center;
text-align: center;
2022-05-29 03:00:48 +00:00
gap: 8px;
width: 100%;
max-width: 480px;
margin: 0 auto;
2022-05-29 02:01:56 +00:00
}
2022-05-29 03:00:48 +00:00
.form-event-create #input-name {
flex-grow: 1;
width: 100%;
}
2022-05-29 02:01:56 +00:00
2022-05-29 03:00:48 +00:00
.form-event-create #input-submit {
flex-shrink: 0;
2022-05-29 02:01:56 +00:00
}