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

Side by Side Diff: chrome/browser/resources/ntp_android/ntp_android.css

Issue 10831317: Upstream Android NTP resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved .png files to separate CL Created 8 years, 4 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */
4
5 html {
6 height: 100%;
7 width: 100%;
8 }
9
10 body {
11 -webkit-user-select: none;
12 background: #fff;
13 font-family: Droid Sans;
14 margin: 0;
15 padding: 0;
16 padding-bottom: 44px;
17 width: 100%;
18 }
19
20 .welcome-to-chrome {
21 background: url(images/welcome_thumb.png);
22 }
23
24 .center-empty-container {
25 -webkit-box-align: center;
26 -webkit-box-orient: horizontal;
27 -webkit-box-pack: center;
28 display: -webkit-box;
29 left: 0;
30 position: absolute;
31 top: 0;
32 width: 100%;
33 }
34
35 .center-empty-content {
36 font-size: 14pt;
37 width: 275px;
38 }
39
40 .promo-message {
41 font-family: Arial, sans-serif;
42 font-size: 14pt;
43 margin-bottom: 16px;
44 margin-top: 16px;
45 text-align: center;
46 }
47
48 .promo-sync-graphic {
49 background-image: url(images/syncfographic_mdpi.png);
50 background-repeat: no-repeat;
51 height: 130px;
52 }
53
54 @media screen and (-webkit-min-device-pixel-ratio: 1.5) {
55 .promo-sync-graphic {
56 background-image: url(images/syncfographic_hdpi.png);
57 height: 195px;
58 zoom: 0.66;
59 }
60 }
61
62 @media screen and (-webkit-min-device-pixel-ratio: 2.0) {
63 .promo-sync-graphic {
64 background-image: url(images/syncfographic_xhdpi.png);
65 height: 260px;
66 zoom: 0.5;
67 }
68 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/ntp_android/new_tab.html ('k') | chrome/browser/resources/ntp_android/ntp_android.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698