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

Side by Side Diff: chrome/browser/resources/ntp4/md_incognito_tab.css

Issue 2891983003: Fix white flash when opening incognito NTP (Closed)
Patch Set: . Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 /* Copyright 2017 The Chromium Authors. All rights reserved. 1 /* Copyright 2017 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 html.md {
6 background-color: #303030;
7 }
8
9 body { 5 body {
10 -webkit-font-smoothing: antialiased; 6 -webkit-font-smoothing: antialiased;
11 font-size: 100%; 7 font-size: 100%;
12 margin: 0; 8 margin: 0;
13 } 9 }
14 10
15 /** Typography -------------------------------------------------------------- */ 11 /** Typography -------------------------------------------------------------- */
16 12
17 .content { 13 .content {
14 /* This is identical to the default background color. It's necessary to set it
15 for the case when a theme with a background image is installed. */
18 background-color: #303030; 16 background-color: #303030;
19 color: rgba(255, 255, 255, 0.7); 17 color: rgba(255, 255, 255, 0.7);
20 font-size: calc(100% - 2px); 18 font-size: calc(100% - 2px);
21 line-height: calc(100% + 6px); 19 line-height: calc(100% + 6px);
22 min-width: 240px; 20 min-width: 240px;
23 } 21 }
24 22
25 h1 { 23 h1 {
26 color: rgba(255, 255, 255, 0.8); 24 color: rgba(255, 255, 255, 0.8);
27 font-size: calc(100% + 8px); 25 font-size: calc(100% + 8px);
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 } 292 }
295 293
296 /* Very narrow screens. */ 294 /* Very narrow screens. */
297 @media (max-width: 240px) { 295 @media (max-width: 240px) {
298 .content { 296 .content {
299 min-width: 192px; 297 min-width: 192px;
300 padding-left: 24px; 298 padding-left: 24px;
301 padding-right: 24px; 299 padding-right: 24px;
302 } 300 }
303 } 301 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/themes/theme_properties.cc » ('j') | chrome/browser/themes/theme_properties.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698