church-website/src/components/MegaMenu/styles.module.scss
2026-03-06 15:10:14 +01:00

124 lines
No EOL
1.7 KiB
SCSS

@import "template.scss";
.menu {
background-color: $shade3;
display: flex;
gap: 20px;
}
.bibleText {
background-color: $base-color;
color: $shade3;
width: 200px;
font-size: 24px;
padding: 30px;
display: flex;
flex-direction: column;
justify-content: flex-end;
}
.headerFont {
font-family: var(--header-font);
}
.book {
text-align: right;
font-size: 14px;
}
.itemIcon {
height: 50px;
width: 50px;
flex-shrink: 0;
border-radius: 13px;
border: 1px solid $base-color;
box-shadow: $shadow;
transition: background-color 0.2s;
}
.itemGroup {
padding: 40px;
}
.groupTitle {
font-size: 22px;
font-weight: bold;
margin-bottom: 10px;
}
.item {
color: inherit;
text-decoration: none;
display: flex;
gap: 10px;
align-items: center;
margin: 25px 0;
cursor: pointer;
}
.item:hover .itemIcon {
background-color: $base-color;
}
.itemTitle {
font-size: 18px;
line-height: 120%;
}
.itemDescription {
font-size: 16px;
font-weight: 300;
line-height: 95%;
}
@media screen and (max-width: 1100px) {
.menu {
flex-direction: column;
gap: 30px;
background-color: inherit;
}
.menu, .itemGroup, .groupTitle, .itemTitle {
font-size: 16px;
}
.itemGroup {
padding: 0px;
}
.groupTitle {
margin: 0;
color: $dark-text;
}
.itemGroupContent {
display: flex;
flex-wrap: wrap;
gap: 11px
}
.itemDescription {
color: $dark-text;
}
.item {
flex: 1 1 40%;
height: 100px;
box-sizing: border-box;
padding: 10px;
background-color: $shade3;
text-align: center;
margin: 0;
border-radius: 5px;
justify-content: center;
}
.itemDescription {
font-weight: 300;
font-size: 11px;
}
.bibleText {
display: none;
}
}