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

Side by Side Diff: components/dom_distiller/core/css/distilledpage.css

Issue 1060623002: Adds support for dynamically setting the title (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 8 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
« no previous file with comments | « no previous file | components/dom_distiller/core/html/dom_distiller_viewer.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 pseudo-elements not selectable by *. */ 6 * *::after and *::before used to select pseudo-elements not selectable by *. */
7 7
8 *, 8 *,
9 *::after, 9 *::after,
10 *::before { 10 *::before {
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 th, 135 th,
136 ul { 136 ul {
137 margin-bottom: 1rem; 137 margin-bottom: 1rem;
138 } 138 }
139 139
140 h2, 140 h2,
141 h3, 141 h3,
142 h4, 142 h4,
143 h5, 143 h5,
144 h6 { 144 h6 {
145 line-height: 1.296rem; 145 line-height: 1.296;
146 margin-bottom: 0.444rem; 146 margin-bottom: 0.444rem;
147 } 147 }
148 148
149 /* Content. */ 149 /* Content. */
150 150
151 /* Margins for Show Original link. */ 151 /* Margins for Show Original link. */
152 152
153 #showOriginal { 153 #showOriginal {
154 margin: auto 1.296rem 1.296rem 1.296rem; 154 margin: auto 1.296rem 1.296rem 1.296rem;
155 } 155 }
156 156
157 #content { 157 #content {
158 margin-top: 1.296rem; 158 margin: 0.2rem;
159 } 159 }
160 160
161 /* Main margins. */ 161 /* Main margins. */
162 162
163 body { 163 body {
164 max-width: 800px; 164 max-width: 800px;
165 margin: 0px auto; 165 margin: 0px;
166 } 166 }
167 167
168 #mainContent { 168 #mainContent {
169 margin: 1.296rem 1.296rem auto; 169 margin: auto 0px;
170 } 170 }
171 171
172 #articleHeader {
173 background-color: rgb(73, 73, 73);
174 color: white;
175 min-height: 90px;
176 width: 100%;
177 }
178
179 #titleCollapse {
180 display: block;
181 overflow: hidden;
182 }
183
184 #titleCollapse .verticalCenterOuter {
185 min-height: 90px;
186 }
187
188 #titleHolder {
189 padding: 10px 30px;
190 }
191
192 .verticalCenterOuter {
193 display: table;
194 height: 100%;
195 }
196
197 .verticalCenterInner {
198 display: table-cell;
199 vertical-align: middle;
200 }
201
202
172 /* Link colors for light, dark and sepia themes */ 203 /* Link colors for light, dark and sepia themes */
173 204
174 a:link { 205 a:link {
175 color: #55F; 206 color: #55F;
176 } 207 }
177 208
178 a:visited { 209 a:visited {
179 color: #902290; 210 color: #902290;
180 } 211 }
181 212
(...skipping 10 matching lines...) Expand all
192 hr { 223 hr {
193 background-color: #e4dfdf; 224 background-color: #e4dfdf;
194 border: none; 225 border: none;
195 height: 1px; 226 height: 1px;
196 margin: inherit auto; 227 margin: inherit auto;
197 width: 75%; 228 width: 75%;
198 } 229 }
199 230
200 h1 { 231 h1 {
201 font-size: 1.7rem; 232 font-size: 1.7rem;
202 line-height: 1.9rem; 233 line-height: 1.296;
203 margin-bottom: 0.444rem; 234 margin-bottom: 0.444rem;
204 } 235 }
205 236
206 q { 237 q {
207 color: #222; 238 color: #222;
208 display:block; 239 display:block;
209 font-size: 1.5rem; 240 font-size: 1.5rem;
210 font-style: italic; 241 font-style: italic;
211 font-weight: 600; 242 font-weight: 600;
212 line-height: 1.444; 243 line-height: 1.444;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 border: 1px solid #555; 291 border: 1px solid #555;
261 border-radius: 2px; 292 border-radius: 2px;
262 } 293 }
263 294
264 pre code { 295 pre code {
265 border: none; 296 border: none;
266 padding: 0; 297 padding: 0;
267 } 298 }
268 299
269 pre { 300 pre {
270 line-height: 1.296rem; 301 line-height: 1.296;
271 overflow-x: scroll; 302 overflow-x: scroll;
272 padding: .5em; 303 padding: .5em;
273 } 304 }
274 305
275 .hidden { 306 .hidden {
276 display: none; 307 display: none;
277 } 308 }
278 309
279 /* Footer feedback form. */ 310 /* Footer feedback form. */
280 .contentWrap { 311 .contentWrap {
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 border-color: rgb(250,36,36); 791 border-color: rgb(250,36,36);
761 } 792 }
762 793
763 #loader.red .circle.red .mask.first .mover { 794 #loader.red .circle.red .mask.first .mover {
764 background-color: rgb(33,89,189); 795 background-color: rgb(33,89,189);
765 } 796 }
766 797
767 #loader.red .circle.red .mask.second .mover { 798 #loader.red .circle.red .mask.second .mover {
768 background-color: rgb(250,36,36); 799 background-color: rgb(250,36,36);
769 } 800 }
OLDNEW
« no previous file with comments | « no previous file | components/dom_distiller/core/html/dom_distiller_viewer.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698