diff options
author | NerdyPepper <[email protected]> | 2019-07-30 10:12:30 +0100 |
---|---|---|
committer | NerdyPepper <[email protected]> | 2019-07-30 10:12:30 +0100 |
commit | 5a195abcbbdd0e8d299fc32ee861ae665cedb23a (patch) | |
tree | 49ec886d422dd4652c1c631c0fce0a255b0a163f | |
parent | 26941a5d42c472dff53d30cb3dc29940330fec1c (diff) |
fix responsive
-rw-r--r-- | docs/style.css | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/style.css b/docs/style.css index fd07289..c303fa9 100644 --- a/docs/style.css +++ b/docs/style.css | |||
@@ -18,19 +18,20 @@ body { | |||
18 | } | 18 | } |
19 | 19 | ||
20 | .posts { | 20 | .posts { |
21 | text-align: left; | ||
22 | display: inline-block; | ||
23 | width: 100%; | 21 | width: 100%; |
24 | } | 22 | } |
25 | 23 | ||
26 | @media only screen and (min-width: 1000px) { | 24 | @media only screen and (min-width: 1080px) { |
27 | .posts { | 25 | .posts { |
28 | text-align: left; | ||
29 | display: inline-block; | ||
30 | width: 60%; | 26 | width: 60%; |
31 | } | 27 | } |
32 | } | 28 | } |
33 | 29 | ||
30 | .posts { | ||
31 | text-align: left; | ||
32 | display: inline-block; | ||
33 | } | ||
34 | |||
34 | 35 | ||
35 | .post { | 36 | .post { |
36 | margin: 2rem; | 37 | margin: 2rem; |