Browse Source

Merge pull request #2 from Spheerys/master

Small improvement of the body margin on tablet view
master
Mylène Bressan 10 years ago
parent
commit
9db048cc5b
  1. 6
      theme_nin/css/style.css
  2. 3
      theme_nin/sass/_commons.sass
  3. 2
      theme_nin/sass/_responsive.sass
  4. 2
      theme_nin/sass/style.sass

6
theme_nin/css/style.css

@ -388,6 +388,8 @@ li { list-style: none; }
html, body { height: 100%; min-height: 100%; background: #e2e1de; color: #66686b; font: 0.95em/1.3em "Roboto", sans-serif; font-weight: 400; } html, body { height: 100%; min-height: 100%; background: #e2e1de; color: #66686b; font: 0.95em/1.3em "Roboto", sans-serif; font-weight: 400; }
body { margin: auto 10px;}
br { display: block; } br { display: block; }
img { background: #e2e1de; -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px; } img { background: #e2e1de; -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px; }
@ -706,4 +708,6 @@ ul.dropdown-menu > li > a { display: block; padding: 3px 20px; clear: both; whit
.postboard { margin: 0; padding: 10px; } .postboard { margin: 0; padding: 10px; }
.who-to-follow, .toptrends { display: none; } .who-to-follow, .toptrends { display: none; }
.mini-profile .post-area, .mini-profile .post-area-new { display: none; } .mini-profile .post-area, .mini-profile .post-area-new { display: none; }
.following-list li { width: 98%; float: none; margin: 2% 1%; } } .following-list li { width: 98%; float: none; margin: 2% 1%; }
body { margin: auto;}
}

3
theme_nin/sass/_commons.sass

@ -12,6 +12,9 @@ html, body
font: .95em/1.3em $main-font-family font: .95em/1.3em $main-font-family
font-weight: 400 font-weight: 400
body
margin: auto 10px
br br
display: block display: block

2
theme_nin/sass/_responsive.sass

@ -23,6 +23,8 @@
left: 1% left: 1%
@media (max-width: 600px) @media (max-width: 600px)
body
margin: auto
.dashboard.left, .postboard .dashboard.left, .postboard
position: static position: static
width: 100% width: 100%

2
theme_nin/sass/style.sass

@ -1,7 +1,7 @@
@import _fonts @import _fonts
@import compass/reset @import compass/reset
@import compass @import compass
@import "compass/utilities/" @import compass/utilities
@import _var @import _var
@import _utils @import _utils
@import _menu @import _menu

Loading…
Cancel
Save