diff options
author | NerdyPepper <[email protected]> | 2019-07-31 17:35:05 +0100 |
---|---|---|
committer | NerdyPepper <[email protected]> | 2019-07-31 17:35:05 +0100 |
commit | 2186c42a9d4218d3bd48e3a823c3d738618667f6 (patch) | |
tree | c1b52b85a32ce8c68c472c05c0e417cccf9f1d8c /docs | |
parent | 05bdbd020afaf1574a1fb5c8a1c7238a2cddb091 (diff) |
responsive-san pls work
Diffstat (limited to 'docs')
-rw-r--r-- | docs/style.css | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/docs/style.css b/docs/style.css index 4eb28ce..348e832 100644 --- a/docs/style.css +++ b/docs/style.css | |||
@@ -25,30 +25,17 @@ body { | |||
25 | } | 25 | } |
26 | 26 | ||
27 | html { | 27 | html { |
28 | font-size: 38px; | 28 | font-size: 18px; |
29 | } | 29 | } |
30 | 30 | ||
31 | .posts { | 31 | .posts { |
32 | width: 100%; | 32 | width: 50%; |
33 | } | 33 | } |
34 | 34 | ||
35 | /* tablets */ | 35 | /* mobile devices */ |
36 | @media only screen and (min-width: 720px) { | 36 | @media only screen and (max-width: 70em) { |
37 | .posts { | 37 | .posts { |
38 | width: 80%; | 38 | width: 92%; |
39 | } | ||
40 | html { | ||
41 | font-size: 18px; | ||
42 | } | ||
43 | } | ||
44 | |||
45 | /* laptops */ | ||
46 | @media only screen and (min-width: 1080px) { | ||
47 | .posts { | ||
48 | width: 50%; | ||
49 | } | ||
50 | html { | ||
51 | font-size: 18px; | ||
52 | } | 39 | } |
53 | } | 40 | } |
54 | 41 | ||