Commit e40aee9c authored by Chris Rebert's avatar Chris Rebert Committed by Chris Rebert
Browse files

code.less: cleanup styles that get immediately overriden later in the file

parent 95655e72
4 merge requests!8415code.less: cleanup styles that get immediately overriden later in the file,!8635ignore Gruntfile.js in jekyll,!8656Added rel="stylesheet" to CDN-Examples,!8527Inner properties move 1
Showing with 4 additions and 8 deletions
+4 -8
...@@ -671,11 +671,7 @@ address { ...@@ -671,11 +671,7 @@ address {
code, code,
pre { pre {
padding: 0 3px 2px;
font-family: Monaco, Menlo, Consolas, "Courier New", monospace; font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
font-size: 12px;
color: #333333;
border-radius: 4px;
} }
code { code {
...@@ -684,6 +680,7 @@ code { ...@@ -684,6 +680,7 @@ code {
color: #c7254e; color: #c7254e;
white-space: nowrap; white-space: nowrap;
background-color: #f9f2f4; background-color: #f9f2f4;
border-radius: 4px;
} }
pre { pre {
...@@ -692,6 +689,7 @@ pre { ...@@ -692,6 +689,7 @@ pre {
margin: 0 0 10px; margin: 0 0 10px;
font-size: 13px; font-size: 13px;
line-height: 1.428571429; line-height: 1.428571429;
color: #333333;
word-break: break-all; word-break: break-all;
word-wrap: break-word; word-wrap: break-word;
background-color: #f5f5f5; background-color: #f5f5f5;
......
...@@ -6,11 +6,7 @@ ...@@ -6,11 +6,7 @@
// Inline and block code styles // Inline and block code styles
code, code,
pre { pre {
padding: 0 3px 2px;
font-family: @font-family-monospace; font-family: @font-family-monospace;
font-size: (@font-size-base - 2);
color: @gray-dark;
border-radius: 4px;
} }
// Inline code // Inline code
...@@ -20,6 +16,7 @@ code { ...@@ -20,6 +16,7 @@ code {
color: #c7254e; color: #c7254e;
background-color: #f9f2f4; background-color: #f9f2f4;
white-space: nowrap; white-space: nowrap;
border-radius: 4px;
} }
// Blocks of code // Blocks of code
...@@ -31,6 +28,7 @@ pre { ...@@ -31,6 +28,7 @@ pre {
line-height: @line-height-base; line-height: @line-height-base;
word-break: break-all; word-break: break-all;
word-wrap: break-word; word-wrap: break-word;
color: @gray-dark;
background-color: #f5f5f5; background-color: #f5f5f5;
border: 1px solid #ccc; // IE8 fallback border: 1px solid #ccc; // IE8 fallback
border: 1px solid rgba(0,0,0,.15); border: 1px solid rgba(0,0,0,.15);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment