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

Side by Side Diff: chrome/common/extensions/docs/static/sass/_html.scss

Issue 269983002: CSS tweaks for typography and rendering of code-related text. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
1 //----------------------------------------------------------------------- 1 //-----------------------------------------------------------------------
2 // General Elements 2 // General Elements
3 //----------------------------------------------------------------------- 3 //-----------------------------------------------------------------------
4 4
5 figure { 5 figure {
6 margin: $default-padding 0; 6 margin: $default-padding 0;
7 img { 7 img {
8 border: $default-border; 8 border: $default-border;
9 } 9 }
10 } 10 }
(...skipping 23 matching lines...) Expand all
34 td, th { 34 td, th {
35 padding: 1em 1.5em; 35 padding: 1em 1.5em;
36 text-align: left; 36 text-align: left;
37 border: $default-border; 37 border: $default-border;
38 } 38 }
39 39
40 pre { 40 pre {
41 background-color: #f7f7f7; 41 background-color: #f7f7f7;
42 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15), 0 0 3px rgba(0, 0, 0, 0.15); 42 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15), 0 0 3px rgba(0, 0, 0, 0.15);
43 margin: 1em 0 0 0; 43 margin: 1em 0 0 0;
44 overflow: auto;
45 padding: .99em; 44 padding: .99em;
46 position: relative; 45 position: relative;
46 overflow-x: auto;
47 word-wrap: normal;
48 white-space: pre;
49 font-size: 0.95em;
50 line-height: 1.8em;
47 a { 51 a {
48 text-decoration: underline!important; 52 text-decoration: underline!important;
49 } 53 }
50 b { 54 b {
51 background: yellow; 55 background: yellow;
56 font-weight: normal;
57 }
58 strike {
59 text-decoration: none;
60 background-image: -webkit-linear-gradient(transparent 7px,#cc1f1f 7px,#cc1f1 f 9px,transparent 9px);
61 background-image: -moz-linear-gradient(transparent 7px,#cc1f1f 7px,#cc1f1 f 9px,transparent 9px);
62 background-image: -ms-linear-gradient(transparent 7px,#cc1f1f 7px,#cc1f1 f 9px,transparent 9px);
63 background-image: -o-linear-gradient(transparent 7px,#cc1f1f 7px,#cc1f1 f 9px,transparent 9px);
64 background-image: linear-gradient(transparent 7px,#cc1f1f 7px,#cc1f1 f 9px,transparent 9px);
65 }
66 &[data-filename]::after {
67 visibility: hidden;
68 }
69 &[data-filename]:hover::after {
70 visibility: visible;
52 } 71 }
53 } 72 }
54 73
55 74
56 //----------------------------------------------------------------------- 75 //-----------------------------------------------------------------------
57 // General Classes 76 // General Classes
58 //----------------------------------------------------------------------- 77 //-----------------------------------------------------------------------
59 78
60 .element-invisible { 79 .element-invisible {
61 @include element-invisible; 80 @include element-invisible;
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 608
590 .capitalize:first-letter { 609 .capitalize:first-letter {
591 text-transform: uppercase; 610 text-transform: uppercase;
592 } 611 }
593 } 612 }
594 613
595 .optional { 614 .optional {
596 color: #7D7D7D; 615 color: #7D7D7D;
597 } 616 }
598 */ 617 */
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/static/css/out/site.css ('k') | chrome/common/extensions/docs/static/sass/_typography.scss » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698