Index: chrome/renderer/resources/neterror.css |
diff --git a/chrome/renderer/resources/neterror.css b/chrome/renderer/resources/neterror.css |
index 4939d0e41d04396bf596aa84d1930853427712f0..16874cdb3e0cc95f060adde24966633d288961bd 100644 |
--- a/chrome/renderer/resources/neterror.css |
+++ b/chrome/renderer/resources/neterror.css |
@@ -37,6 +37,7 @@ a { |
.icon { |
-webkit-user-select: none; |
+ content: ''; |
} |
.icon-generic { |
@@ -165,9 +166,6 @@ a { |
/* Decrease padding at low sizes. */ |
@media (max-width: 640px), (max-height: 640px) { |
- body { |
- margin: 15px; |
- } |
h1 { |
margin: 10px 0 15px; |
} |
@@ -282,8 +280,9 @@ html[subframe] body { |
color: #2b2b2b; |
font-size: 1em; |
line-height: 1.55; |
- margin: 100px auto 0; |
+ margin: 0 auto; |
max-width: 600px; |
+ padding-top: 100px; |
width: 100%; |
} |
@@ -320,11 +319,10 @@ html[subframe] body { |
display: none; |
} |
-@media (max-width: 400px) { |
+@media (max-width: 420px) { |
.suggested-left > #control-buttons, |
.suggested-right > #control-buttons { |
float: none; |
- margin: 50px 0 20px; |
} |
} |
@@ -345,3 +343,9 @@ html[subframe] body { |
margin-top: 30px; |
} |
} |
+ |
+@media (min-height: 240px) and (orientation: landscape) { |
+ .offline .interstitial-wrapper { |
+ margin-bottom: 20px; |
+ } |
+} |