Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5917)

Unified Diff: chrome/renderer/resources/neterror.css

Issue 866723005: Revert of Update SSL/malware/net error interstitial design (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/resources/neterror.css
diff --git a/chrome/renderer/resources/neterror.css b/chrome/renderer/resources/neterror.css
index dae5f2b346837810ea52b1497dbdc2683498d3b8..4939d0e41d04396bf596aa84d1930853427712f0 100644
--- a/chrome/renderer/resources/neterror.css
+++ b/chrome/renderer/resources/neterror.css
@@ -37,7 +37,6 @@
.icon {
-webkit-user-select: none;
- content: '';
}
.icon-generic {
@@ -154,7 +153,6 @@
.error-code {
color: #A0A0A0;
- font-size: .825em;
margin-top: 15px;
}
@@ -167,8 +165,11 @@
/* Decrease padding at low sizes. */
@media (max-width: 640px), (max-height: 640px) {
+ body {
+ margin: 15px;
+ }
h1 {
- margin: 0 0 15px;
+ margin: 10px 0 15px;
}
#content-top {
margin: 15px;
@@ -281,9 +282,8 @@
color: #2b2b2b;
font-size: 1em;
line-height: 1.55;
- margin: 0 auto;
+ margin: 100px auto 0;
max-width: 600px;
- padding-top: 100px;
width: 100%;
}
@@ -320,10 +320,11 @@
display: none;
}
-@media (max-width: 420px) {
+@media (max-width: 400px) {
.suggested-left > #control-buttons,
.suggested-right > #control-buttons {
float: none;
+ margin: 50px 0 20px;
}
}
@@ -344,9 +345,3 @@
margin-top: 30px;
}
}
-
-@media (min-height: 240px) and (orientation: landscape) {
- .offline .interstitial-wrapper {
- margin-bottom: 20px;
- }
-}
« no previous file with comments | « chrome/browser/resources/security_warnings/safe_browsing.js ('k') | chrome/renderer/resources/neterror.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698