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

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

Issue 367103003: Don't turn all <code> tags into block elements. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | no next file » | 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 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 margin-left: 1.296rem; 203 margin-left: 1.296rem;
204 } 204 }
205 205
206 code, 206 code,
207 pre { 207 pre {
208 background-color: #f8f8f8; 208 background-color: #f8f8f8;
209 border: 1px solid #eee; 209 border: 1px solid #eee;
210 border-radius: 2px; 210 border-radius: 2px;
211 } 211 }
212 212
213 code {
214 display: block;
215 padding: .4444rem;
216 }
217
218 pre code { 213 pre code {
219 border: none; 214 border: none;
220 padding: 0; 215 padding: 0;
221 } 216 }
222 217
223 pre { 218 pre {
224 line-height: 1.296rem; 219 line-height: 1.296rem;
225 overflow-x: scroll; 220 overflow-x: scroll;
226 padding: .5em; 221 padding: .5em;
227 } 222 }
228 223
229 .hidden { 224 .hidden {
230 display: none; 225 display: none;
231 } 226 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698