diff options
author | Bern <18447002+BernCarney@users.noreply.github.com> | 2018-01-20 19:38:01 +0300 |
---|---|---|
committer | Patrick Collins <thepatrickcollins@gmail.com> | 2018-01-20 19:38:01 +0300 |
commit | 8327be139c3c5d6d3103b3957e4cd07c9956d144 (patch) | |
tree | ea0bdfd02b1ff6f909ef590bdf7c9973f0ae262d | |
parent | 3b30bf0b62ea4341d0f72504d9ecb6a6eeda22fb (diff) |
Breakpoint fix. Quick and dirty hack until css refactor but should work (#97)
-rw-r--r-- | static/css/main.css | 20 | ||||
-rw-r--r-- | static/js/main.js | 4 |
2 files changed, 9 insertions, 15 deletions
diff --git a/static/css/main.css b/static/css/main.css index 4abb52d..50803b5 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -130,12 +130,6 @@ } - @media screen and (max-width: 1280px) { - - body, input, select, textarea { - font-size: 12pt; - } - } @media screen and (max-width: 980px) { @@ -967,7 +961,7 @@ content: '\f053'; } - @media screen and (max-width: 1280px) { + @media screen and (max-width: 980px) { ul.actions.pagination { text-align: center; @@ -1228,7 +1222,7 @@ margin: 0 0 2em 0; } - @media screen and (max-width: 1280px) { + @media screen and (max-width: 980px) { .mini-posts .posts-container { display: -moz-flex; @@ -2396,7 +2390,7 @@ padding: 0 0.5em 0 0; } - @media screen and (min-width: 1280px) { + @media screen and (min-width: 980px) { #header .menu { display: none; @@ -2471,7 +2465,7 @@ } - @media screen and (max-width: 1280px) { + @media screen and (max-width: 980px) { #wrapper { display: block; @@ -2502,7 +2496,7 @@ #sidebar { margin-right: 3em; - min-width: 22em; + min-width: 18em; width: 22em; } @@ -2534,7 +2528,7 @@ padding: 0; } - @media screen and (max-width: 1280px) { + @media screen and (max-width: 980px) { #sidebar { border-top: solid 1px rgba(160, 160, 160, 0.3); @@ -2610,7 +2604,7 @@ font-size: 0.8em; } - @media screen and (max-width: 1280px) { + @media screen and (max-width: 980px) { #intro { margin: 0 0 3em 0; diff --git a/static/js/main.js b/static/js/main.js index b0649f6..a6f45fc 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -132,10 +132,10 @@ // Move to main on <=large, back to sidebar on >large.
skel
- .on('+large', function() {
+ .on('+medium', function() {
$intro.prependTo($main);
})
- .on('-large', function() {
+ .on('-medium', function() {
$intro.prependTo($sidebar);
});
|