OLD | NEW |
---|---|
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 @import url('//fonts.googleapis.com/css?family=RobotoDraft:regular,bold,italic,t hin,light,bolditalic,black,medium'); | |
Dan Beam
2014/09/19 21:43:39
why is this a remote URL?
mmccoy
2014/09/21 13:32:34
Yeah, I wasn't sure about this -- the design calls
| |
6 | |
5 html { | 7 html { |
6 height: 100%; | 8 height: 100%; |
7 width: 100%; | 9 width: 100%; |
8 } | 10 } |
9 | 11 |
10 body { | 12 body { |
11 -webkit-align-items: center; | 13 -webkit-align-items: center; |
12 -webkit-flex-direction: column; | 14 -webkit-flex-direction: column; |
13 background-color: #f4f4f4; | 15 background-color: #fafafa; |
14 box-sizing: border-box; | 16 box-sizing: border-box; |
15 display: -webkit-flex; | 17 display: -webkit-flex; |
16 font-family: Droid Sans; | 18 font-family: 'RobotoDraft', sans-serif; |
17 height: 100%; | 19 height: 100%; |
18 margin: 0 auto; | 20 margin: 0 auto; |
19 max-width: 600px; | 21 max-width: 600px; |
20 padding: 20px; | 22 padding: 20px; |
21 width: 100%; | 23 width: 100%; |
22 } | 24 } |
23 | 25 |
24 a { | 26 a { |
25 color: rgb(51, 181, 229); | 27 color: rgb(51, 181, 229); |
26 } | 28 } |
27 | 29 |
28 .spacing { | 30 .spacing { |
29 -webkit-flex: 1; | 31 -webkit-flex: 1; |
30 } | 32 } |
31 | 33 |
32 #logo { | 34 #logo { |
33 -webkit-flex-shrink: 1; | 35 -webkit-flex-shrink: 1; |
34 background-position: center; | 36 background-position: center; |
35 background-repeat: no-repeat; | 37 background-repeat: no-repeat; |
36 background-size: contain; | 38 background-size: contain; |
37 min-height: 60px; | 39 min-height: 60px; |
38 width: 100%; | 40 width: 100%; |
39 } | 41 } |
40 | 42 |
41 #take-a-tour { | 43 #take-a-tour { |
42 -webkit-flex: none; | 44 -webkit-flex: none; |
43 background: linear-gradient(to bottom, #f5f5f5, #f1f1f1); | |
44 border: 1px solid #ccc; | |
45 border-radius: 2px; | 45 border-radius: 2px; |
46 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08), | 46 background-color: rgb(66, 133, 244); |
Dan Beam
2014/09/19 21:43:39
alphabetize
mmccoy
2014/09/21 13:32:34
Done.
| |
47 inset 0 0 2px rgba(255, 255, 255, 0.6); | 47 color: #fff; |
48 color: rgb(73, 73, 74); | |
49 display: block; | 48 display: block; |
50 font-size: 20px; | 49 font-size: 18px; |
51 font-weight: bold; | 50 font-weight: medium; |
52 margin: 20px auto 0; | 51 margin: 20px auto 0; |
53 max-width: 400px; | 52 max-width: 320px; |
54 padding: 11px 0; | 53 padding: 15px 0; |
55 text-align: center; | 54 text-align: center; |
56 text-decoration: none; | 55 text-decoration: none; |
56 text-transform: uppercase; | |
57 width: 100%; | 57 width: 100%; |
58 } | 58 } |
59 | 59 |
60 #take-a-tour:active { | |
61 border: 1px solid #a1a1a1; | |
62 box-shadow: inset 0 5px 15px rgba(100, 100, 100, 0.20); | |
63 } | |
64 | |
65 .footer { | 60 .footer { |
66 -webkit-flex: none; | 61 -webkit-flex: none; |
67 color: #646464; | 62 color: #646464; |
68 font-size: 1.3em; | 63 font-size: 1.3em; |
69 margin-top: 20px; | 64 margin-top: 20px; |
70 text-align: center; | 65 text-align: center; |
71 } | 66 } |
72 | 67 |
73 /* Logos */ | 68 /* Logos */ |
74 @media only screen { | 69 @media only screen { |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
107 @media only screen and (min-height: 601px) { | 102 @media only screen and (min-height: 601px) { |
108 body { | 103 body { |
109 padding: 100px 20px; | 104 padding: 100px 20px; |
110 } | 105 } |
111 | 106 |
112 #take-a-tour, | 107 #take-a-tour, |
113 #footer { | 108 #footer { |
114 margin-top: 60px; | 109 margin-top: 60px; |
115 } | 110 } |
116 } | 111 } |
OLD | NEW |