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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/static/sass/_html.scss
diff --git a/chrome/common/extensions/docs/static/sass/_html.scss b/chrome/common/extensions/docs/static/sass/_html.scss
index 82918bbfd778950963e0b7654d1ae82dbb9ee834..b02259e7cda3e4030bf98e053b8c41ac9fa27587 100644
--- a/chrome/common/extensions/docs/static/sass/_html.scss
+++ b/chrome/common/extensions/docs/static/sass/_html.scss
@@ -41,14 +41,33 @@ pre {
background-color: #f7f7f7;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15), 0 0 3px rgba(0, 0, 0, 0.15);
margin: 1em 0 0 0;
- overflow: auto;
padding: .99em;
position: relative;
+ overflow-x: auto;
+ word-wrap: normal;
+ white-space: pre;
+ font-size: 0.95em;
+ line-height: 1.8em;
a {
text-decoration: underline!important;
}
b {
background: yellow;
+ font-weight: normal;
+ }
+ strike {
+ text-decoration: none;
+ background-image: -webkit-linear-gradient(transparent 7px,#cc1f1f 7px,#cc1f1f 9px,transparent 9px);
+ background-image: -moz-linear-gradient(transparent 7px,#cc1f1f 7px,#cc1f1f 9px,transparent 9px);
+ background-image: -ms-linear-gradient(transparent 7px,#cc1f1f 7px,#cc1f1f 9px,transparent 9px);
+ background-image: -o-linear-gradient(transparent 7px,#cc1f1f 7px,#cc1f1f 9px,transparent 9px);
+ background-image: linear-gradient(transparent 7px,#cc1f1f 7px,#cc1f1f 9px,transparent 9px);
+ }
+ &[data-filename]::after {
+ visibility: hidden;
+ }
+ &[data-filename]:hover::after {
+ visibility: visible;
}
}
« 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