aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-02-09 06:15:45 +0000
committerAkshay <[email protected]>2020-02-09 06:15:45 +0000
commitaa10bc17941e79d388f16d55b48d81ea7d82347f (patch)
treeb6b6342d8f05a9a089b50cfabaa568c6709b2bad
parent348369be9514e613765acdd218b16c410250523e (diff)
attempt to fix responsive styles [episode 15]
-rw-r--r--docs/style.css27
1 files changed, 5 insertions, 22 deletions
diff --git a/docs/style.css b/docs/style.css
index be19ad0..9f4adb1 100644
--- a/docs/style.css
+++ b/docs/style.css
@@ -27,7 +27,7 @@ body {
27} 27}
28 28
29html { 29html {
30 font-size: 20px; 30 font-size: 18px;
31} 31}
32 32
33table { 33table {
@@ -50,38 +50,21 @@ td {
50 50
51.posts { 51.posts {
52 width: 100%; 52 width: 100%;
53} 53 max-width: 100%;
54
55@media only screen and (min-width: 600px) {
56 .posts {
57 width: 100%;
58 }
59 html {
60 font-size: 18px;
61 }
62}
63
64@media only screen and (min-width: 768px) {
65 .posts {
66 width: 80%;
67 }
68 html {
69 font-size: 18px;
70 }
71} 54}
72 55
73@media only screen and (min-width: 1080px) { 56@media only screen and (min-width: 1080px) {
74 .posts { 57 .posts {
75 width: 70%; 58 max-width: 800px;
76 } 59 }
77 html { 60 html {
78 font-size: 18px; 61 font-size: 20px;
79 } 62 }
80} 63}
81 64
82@media only screen and (min-width: 1400px) { 65@media only screen and (min-width: 1400px) {
83 .posts { 66 .posts {
84 width: 40%; 67 max-width: 720px;
85 } 68 }
86 html { 69 html {
87 font-size: 18px; 70 font-size: 18px;