Browse Source

Fix for nav on mobile

development
Godwin 10 years ago
parent
commit
576c0994b2
  1. 13
      app/assets/stylesheets/sass/_layout.scss

13
app/assets/stylesheets/sass/_layout.scss

@ -21,6 +21,7 @@ body {
font-size: 2.4vw; font-size: 2.4vw;
overflow: hidden; overflow: hidden;
height: 3.1em; height: 3.1em;
min-height: 42px;
p { p {
display: none; display: none;
@ -40,6 +41,15 @@ body {
height: 100%; height: 100%;
margin: 0; margin: 0;
float: left; float: left;
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
text-align: center;
&:hover { &:hover {
background-color: rgba($white, 0.85); background-color: rgba($white, 0.85);
@ -76,7 +86,7 @@ body {
.logo { .logo {
width: auto; width: auto;
height: 2em; height: 90%;//2em;
fill: $primary-color; fill: $primary-color;
position: absolute; position: absolute;
left: 0; left: 0;
@ -130,6 +140,7 @@ body {
//margin: 0 0 1.25rem; //margin: 0 0 1.25rem;
margin: 1%; margin: 1%;
width: 30%; width: 30%;
display: block;
&.logo { &.logo {
position: relative; position: relative;

Loading…
Cancel
Save