OLD | NEW |
---|---|
1 /* Copyright 2014 The Chromium Authors. All rights reserved. | 1 /* Copyright 2014 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 /* Set the global 'box-sizing' state to 'border-box'. | 5 /* Set the global 'box-sizing' state to 'border-box'. |
6 * *::after and *::before used to select psuedo-elements not selectable by *. */ | 6 * *::after and *::before used to select psuedo-elements not selectable by *. */ |
7 | 7 |
8 *, | 8 *, |
9 *::after, | 9 *::after, |
10 *::before { | 10 *::before { |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
68 | 68 |
69 td, | 69 td, |
70 th { | 70 th { |
71 padding: 0; | 71 padding: 0; |
72 } | 72 } |
73 | 73 |
74 /* Base typography. */ | 74 /* Base typography. */ |
75 | 75 |
76 body, | 76 body, |
77 html { | 77 html { |
78 color: #333; | |
79 font-family: 'Open Sans', sans-serif; | 78 font-family: 'Open Sans', sans-serif; |
80 font-size: 14px; | 79 font-size: 14px; |
81 line-height: 1.4; | 80 line-height: 1.4; |
82 text-rendering: optimizeLegibility; | 81 text-rendering: optimizeLegibility; |
83 overflow-x: hidden; | 82 overflow-x: hidden; |
84 } | 83 } |
85 | 84 |
85 /* Classes for light, dark and sepia. */ | |
nyquist
2014/06/30 21:35:41
Maybe add the concept of "theme" to this comment?
smaslo
2014/07/07 17:14:14
Done.
| |
86 .light { | |
87 color: #333; | |
88 background-color: #FFF; | |
89 } | |
90 | |
91 .dark { | |
92 color: #FFF; | |
93 background-color: #000; | |
94 } | |
95 | |
96 .sepia { | |
97 color: #000; | |
98 background-color: rgb(203, 173, 141); | |
99 } | |
100 | |
86 /* Define vertical rhythm (baseline grid of 4px). */ | 101 /* Define vertical rhythm (baseline grid of 4px). */ |
87 | 102 |
88 blockquote, | 103 blockquote, |
89 caption, | 104 caption, |
90 code, | 105 code, |
91 dd, | 106 dd, |
92 dl, | 107 dl, |
93 fieldset, | 108 fieldset, |
94 figure, | 109 figure, |
95 form, | 110 form, |
(...skipping 30 matching lines...) Expand all Loading... | |
126 #content { | 141 #content { |
127 margin-top: 1.296rem; | 142 margin-top: 1.296rem; |
128 } | 143 } |
129 | 144 |
130 /* Main margins. */ | 145 /* Main margins. */ |
131 | 146 |
132 #mainContent { | 147 #mainContent { |
133 margin: 1.296rem 1.296rem auto; | 148 margin: 1.296rem 1.296rem auto; |
134 } | 149 } |
135 | 150 |
136 a { | 151 /* Link colors for light, dark and sepia themes */ |
152 | |
153 .light a, | |
154 .sepia a { | |
137 color: #222; | 155 color: #222; |
138 } | 156 } |
139 | 157 |
158 .dark a { | |
159 color: blue; | |
160 } | |
161 | |
140 blockquote { | 162 blockquote { |
141 border-left: 4px solid #eee; | 163 border-left: 4px solid #eee; |
142 padding-left: 1em; | 164 padding-left: 1em; |
143 } | 165 } |
144 | 166 |
145 cite { | 167 cite { |
146 color: rgba(0, 0, 0, .54); | 168 color: rgba(0, 0, 0, .54); |
147 font-style: italic; | 169 font-style: italic; |
148 } | 170 } |
149 | 171 |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
228 | 250 |
229 /* TODO(sunangel): Create loading indicator graphic to replace "Loading...". */ | 251 /* TODO(sunangel): Create loading indicator graphic to replace "Loading...". */ |
230 #loadingIndicator { | 252 #loadingIndicator { |
231 display: table; | 253 display: table; |
232 margin: 0 auto; | 254 margin: 0 auto; |
233 } | 255 } |
234 | 256 |
235 .hidden { | 257 .hidden { |
236 display: hidden; | 258 display: hidden; |
237 } | 259 } |
OLD | NEW |