123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224 |
- @import "colors";
- @import "breakpoints";
- @import "specific/button";
- header {
- background-color: $musare_color_primary_blue;
- display: flex;
- justify-content: space-between;
- > a {
- img {
- height: 100%;
- }
- }
- .hamburger {
- background-color: $musare_color_primary_blue;
- transition: .1s ease;
- &:hover, &:focus {
- background-color: $musare_color_secondary_blue;
- cursor: pointer;
- }
- span {
- background-color: $musare_color_white;
- display: flex;
- margin-left: auto;
- margin-right: auto;
- box-shadow: 0 3px 6px $musare_shadow_color;
- }
- }
- navbar {
- background-color: $musare_color_primary_blue;
- display: flex;
- a {
- color: $musare_color_white;
- text-shadow: 0 3px 6px $musare_shadow_color;
- display: inline-block;
- text-decoration: none;
- text-align: center;
- transition: .1s ease;
- &:hover, &:focus {
- background-color: $musare_color_secondary_blue;
- cursor: pointer;
- }
- }
- }
- }
- @include responsive(smallest) {
- $height: 64px;
- header {
- height: $height;
- > a {
- height: 38px;
- margin: 13px;
- }
- .hamburger {
- height: $height;
- width: $height;
- span {
- width: 34px;
- height: 2px;
- &:nth-child(2) {
- margin-top: 11px;
- }
- &:nth-child(3) {
- margin-top: 11px;
- }
- }
- }
- navbar {
- visibility: hidden;
- display: none;
- width: 100%;
- height: calc(100% - #{$height});
- flex-direction: column;
- position: absolute;
- top: $height;
- &.show {
- visibility: visible;
- display: flex;
- }
- a {
- width: 100%;
- height: $height;
- line-height: $height;
- font-size: 27px;
- }
- }
- }
- }
- @include responsive(small) {
- $height: 120px;
- header {
- height: $height;
- > a {
- height: 64px;
- margin: 28px;
- }
- .hamburger {
- height: $height;
- width: $height;
- span {
- width: 64px;
- height: 3px;
- &:nth-child(2) {
- margin-top: 22px;
- }
- &:nth-child(3) {
- margin-top: 22px;
- }
- }
- }
- navbar {
- top: $height;
- height: calc(100% - #{$height});
- a {
- height: $height;
- line-height: $height;
- font-size: 51px; //TODO Change this
- }
- }
- }
- }
- @include responsive(medium) {
- $height: 180px;
- header {
- height: $height;
- > a {
- height: 106px;
- margin: 37px;
- }
- .hamburger {
- height: $height;
- width: $height;
- span {
- width: 96px;
- height: 4px;
- &:nth-child(2) {
- margin-top: 33px;
- }
- &:nth-child(3) {
- margin-top: 33px;
- }
- }
- }
- navbar {
- top: $height;
- height: calc(100% - #{$height});
- a {
- height: $height;
- line-height: $height;
- font-size: 76px; //TODO Change this
- }
- }
- }
- }
- @include responsive(large) {
- $height: 80px;
- header {
- height: $height;
- > a {
- height: 50px;
- margin: 15px;
- }
- .hamburger {
- visibility: hidden;
- display: none;
- }
- navbar {
- visibility: unset;
- display: flex;
- flex-direction: row;
- height: $height;
- width: unset;
- position: unset;
- a {
- height: $height;
- line-height: $height;
- font-size: 27px;
- padding: 0 20px;
- }
- }
- }
- }
|