design/public/assets/css/nav.css

243 lines
3.9 KiB
CSS
Raw Normal View History

2024-11-06 10:31:56 +00:00
.TopMain {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
2024-11-16 13:46:05 +00:00
/*padding: 15px 0;*/
2024-11-06 10:31:56 +00:00
background: white;
box-shadow: 0 0 8px 0 rgb(0,0,0,0.1);
border-bottom: solid 1px rgba(0,0,0,0.1);
}
@media (max-width: 992px) {
.TopMain {
2024-11-16 13:46:05 +00:00
display: none;
2024-11-06 10:31:56 +00:00
padding: 15px 0 5px 0;
border-bottom: solid 1px rgba(255,255,255,0.05);
}
}
.navMain {
width: 100%;
display: grid;
2024-11-16 13:46:05 +00:00
grid-template-columns: 0.65fr 1.35fr;
2024-11-06 10:31:56 +00:00
grid-gap: 25px;
2024-11-16 13:46:05 +00:00
padding: 8px 0px;
2024-11-06 10:31:56 +00:00
}
2024-11-16 13:46:05 +00:00
.navMain.navMainAlt {
grid-template-columns: 1fr;
padding: 5px 0;
2024-11-06 10:31:56 +00:00
}
.navMainSec {
width: 100%;
flex-grow: 1;
display: flex;
flex-direction: row;
}
.navMainSecLogo {
transition: ease 0.4s;
display: flex;
flex-direction: row;
grid-gap: 20px;
align-items: center;
}
.navMainSecLogo:hover > .navMainSecLogoText {
transition: ease 0.4s;
opacity: 1;
}
.navMainSecLogo:hover > .navMainSecLogoImgWrapper > .navMainSecLogoImg {
transition: ease 0.4s;
opacity: 0;
}
.navMainSecLogo:hover > .navMainSecLogoImgWrapper > .navMainSecLogoImgAlt {
transition: ease 0.4s;
opacity: 1;
}
.navMainSecLogoImg {
transition: ease 0.4s;
position: absolute;
opacity: 0.5;
}
.navMainSecLogoImgWrapper {
width: 50px;
height: 50px;
position: relative;
display: flex;
align-items: center;
}
.navMainSecLogoText {
transition: ease 0.4s;
font-weight: 800;
font-size: 24px;
opacity: 0.5;
color: #ff9900;
line-height: 1;
}
.navMainSecLinks {
width: 100%;
display: flex;
flex-direction: row;
grid-gap: 20px;
align-items: center;
2024-11-16 13:46:05 +00:00
justify-content: center;
/*justify-content: space-around;*/
2024-11-06 10:31:56 +00:00
}
@media (max-width: 992px) {
.navMainSecLinks {
2024-11-16 13:46:05 +00:00
flex-direction: column;
2024-11-06 10:31:56 +00:00
}
}
.navMainSecLinksLink {
2024-11-16 13:46:05 +00:00
font-size: 18px;
padding: 8px 15px;
2024-11-06 10:31:56 +00:00
white-space: nowrap;
font-weight: 600;
2024-11-16 13:46:05 +00:00
width: 100%;
text-align: center;
2024-11-06 10:31:56 +00:00
}
.navMainSecLinksLink:hover {
transition: ease 0.2s;
color: #ff9900;
}
@media (max-width: 992px) {
.navMainSecLinksLink {
padding: 15px 10px;
2024-11-16 13:46:05 +00:00
font-size: 18px;
2024-11-06 10:31:56 +00:00
}
}
.navMainSecLinksLinkWrapper {
transition: ease 0.2s;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-weight: 400;
opacity: 0.5;
}
2024-11-16 13:46:05 +00:00
@media (max-width: 992px) {
.navMainSecLinksLinkWrapper {
width: 100%;
}
}
2024-11-06 10:31:56 +00:00
.navMainSecLinksLinkWrapper:hover {
opacity: 1;
}
.navMainSecLinksSocial {
display: flex;
2024-11-16 13:46:05 +00:00
flex-direction: row;
justify-content: end;
align-items: center;
2024-11-06 10:31:56 +00:00
flex-grow: 1;
2024-11-16 13:46:05 +00:00
grid-gap: 10px;
2024-11-06 10:31:56 +00:00
}
@media (max-width: 992px) {
.navMainSecLinksSocial {
align-items: center;
}
}
.navMainSecLinksSocialLink {
transition: ease 0.2s;
padding: 15px;
opacity: 0.75;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
2024-11-16 13:46:05 +00:00
font-size: 24px;
color: rgba(0,0,0,0.5);
2024-11-06 10:31:56 +00:00
}
@media (max-width: 992px) {
.navMainSecLinksSocialLink {
padding: 10px;
}
}
.navMainSecLinksSocialLink:hover {
transition: ease 0.2s;
opacity: 1;
}
.navMainSecLinksSocialLinkInside {
width: 25px;
height: 25px;
}
.navMainSecLogoImg.navMainSecLogoImgAlt {
opacity: 0;
}
2024-11-16 13:46:05 +00:00
.navMainSec.navMainSecMid {
width: 100%;
2024-11-06 10:31:56 +00:00
}
@media (max-width: 992px) {
.navMainSec.navMainSecMid {
grid-column-start: 1;
grid-column-end: 3;
}
}
2024-11-16 13:46:05 +00:00
.TopMain.TopMainMobile {
display: none;
padding: 10px 0;
}
@media (max-width: 992px) {
.TopMain.TopMainMobile {
display: flex;
}
}
.navMain.navMainMobile {
display: flex;
flex-direction: row;
}
.navMainSec.navMainSecMobile {
width: unset;
flex-grow: unset;
}
.btnMain.navMainSecLinksSocialBurger {
padding: 10px 20px;
font-size: 24px;
border: solid 1px rgba(0,0,0,0.1);
background: white;
color: rgba(0,0,0,0.5);
}
.btnMain.navMainSecLinksSocialBtn {
padding: 8px 15px;
}
.navMainWrapper {
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
border-bottom: solid 1px rgba(0,0,0,0.1);
}