Browse Source

_responsive.sass & _menu.sass

nin-v2
myleneb 9 years ago
parent
commit
967cb74c8e
  1. 22
      css/style.css
  2. 5
      sass/layout/_menu.sass
  3. 17
      sass/layout/_responsive.sass

22
css/style.css

@ -462,10 +462,7 @@ button.light:hover, a.button.light:hover {
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
width: 100%; width: 100%;
max-width: 100%; padding: 0 30% 0 15%;
padding: 0 20px;
margin: 0;
margin: auto;
background: url('../img/logo.png?1437893891') no-repeat 50% 50%; background: url('../img/logo.png?1437893891') no-repeat 50% 50%;
background-size: 20px; background-size: 20px;
} }
@ -2683,18 +2680,19 @@ ul.dropdown-menu li > li > a {
} }
@media (max-width: 1200px) { @media (max-width: 1200px) {
.wrapper { .right {
width: 98%; display: none;
margin: auto;
} }
.dashboard.left { .userMenu ul {
width: 33%; padding: 0;
} }
.postboard { .postboard {
width: 64%; width: 85%;
margin-right: 1%; }
float: right;
.modal-wrapper {
width: 85%;
} }
} }

5
sass/layout/_menu.sass

@ -17,10 +17,7 @@ $menu-font-color: white
@extend .clear-fix @extend .clear-fix
+box-sizing(border-box) +box-sizing(border-box)
width: 100% width: 100%
max-width: 100% padding: 0 30% 0 15%
padding: 0 20px
margin: 0
margin: auto
background: image-url("logo.png") no-repeat 50% 50% background: image-url("logo.png") no-repeat 50% 50%
background-size: 20px background-size: 20px
li li

17
sass/layout/_responsive.sass

@ -1,16 +1,15 @@
@media (max-width:1200px) @media (max-width:1200px)
.wrapper .right
width: 98% display: none
margin: auto .userMenu
.dashboard.left ul
width: 33% padding: 0
.postboard .postboard
width: 64% width: 85%
margin-right: 1% .modal-wrapper
float: right width: 85%
@media (max-width: 600px) @media (max-width: 600px)

Loading…
Cancel
Save