Initial next app

This commit is contained in:
2022-06-06 19:00:21 +03:00
parent 78f6b78438
commit 696bc00072
17 changed files with 643 additions and 225 deletions

71
styles/Header.module.scss Normal file
View File

@@ -0,0 +1,71 @@
header {
display: flex;
flex-direction: column;
align-items: center;
nav {
display: flex;
justify-content: center;
a {
padding: 15px;
color: #2f273e;
text-decoration: none;
}
a:hover {
background-image: linear-gradient(to bottom, rgba(255, 0, 0, 0), #d5caf2);
text-decoration: underline;
}
@media screen and (max-width: 600px) {
a {
width: 100%;
padding: 0px;
text-align: center;
text-decoration: underline;
font-size: 1.5rem;
margin-bottom: 4px;
}
}
&.mobileMainNavBar {
visibility: hidden;
height: 0px;
}
@media screen and (max-width: 600px) {
&.mobileMainNavBar {
height: auto;
display: flex;
visibility: visible;
flex-direction: column;
align-items: center;
background-color: #d5caf2;
width: 80%;
margin-bottom: 30px;
}
&.mainNavBar {
visibility: hidden;
height: 0px;
}
}
}
.mobileMainTitle {
visibility: hidden;
height: 0px;
margin: 0px;
}
@media screen and (max-width: 600px) {
.mobileMainTitle {
visibility: visible !important;
height: 100% !important;
margin-top: 30px !important;
margin-bottom: 30px !important;
text-align: center;
}
}
}