Permalink
Browse files

Added highlight

  • Loading branch information...
olvlvl committed Oct 18, 2013
1 parent 28d9630 commit 64de4d441bb4adae87214ba465f88cf23b9dee34
Showing with 188 additions and 27 deletions.
  1. +188 −27 plugin/source/code/satyagraha/gfm/support/impl/MDStyle.css
@@ -2,10 +2,10 @@ body {
color: #333;
font: 13px/1.4 Helvetica,arial,freesans,clean,sans-serif;
}
-
-.markdown-body {
- border: 1px solid #CACACA;
- padding: 30px;
+
+.markdown-body {
+ border: 1px solid #CACACA;
+ padding: 30px;
font-size: 15px;
line-height: 1.7;
word-wrap: break-word;
@@ -40,8 +40,8 @@ body {
margin: 1em 0 15px;
padding: 0;
position: relative;
-}
-
+}
+
.markdown-body h1 .octicon-link, .markdown-body h2 .octicon-link, .markdown-body h3 .octicon-link, .markdown-body h4 .octicon-link, .markdown-body h5 .octicon-link, .markdown-body h6 .octicon-link {
color: #000;
display: none;
@@ -63,13 +63,13 @@ body {
border-bottom: 1px solid #DDD;
font-size: 2.5em;
}
-.markdown-body h2 {
+.markdown-body h2 {
border-bottom: 1px solid #EEE;
font-size: 2em;
-}
+}
.markdown-body h3 {
font-size: 1.5em;
-}
+}
.markdown-body h4 {
font-size: 1.2em;
}
@@ -220,13 +220,13 @@ body {
overflow: hidden;
text-align: right;
}
-.markdown-body code, .markdown-body tt {
- background-color: #F8F8F8;
+.markdown-body code, .markdown-body tt {
+ background-color: #F8F8F8;
border: 1px solid #DDD;
border-radius: 3px;
- margin: 0 2px;
- padding: 0 5px;
-}
+ margin: 0 2px;
+ padding: 0 5px;
+}
.markdown-body code {
white-space: nowrap;
}
@@ -236,23 +236,184 @@ body {
padding: 0;
white-space: pre;
}
-.markdown-body .highlight pre, .markdown-body pre {
- background-color: #F8F8F8;
+.markdown-body .highlight pre, .markdown-body pre {
+ background-color: #F8F8F8;
border: 1px solid #DDD;
border-radius: 3px;
- font-size: 13px;
- line-height: 19px;
- overflow: auto;
- padding: 6px 10px;
-}
+ font-size: 13px;
+ line-height: 19px;
+ overflow: auto;
+ padding: 6px 10px;
+}
.markdown-body pre code, .markdown-body pre tt {
border: medium none;
margin: 0;
padding: 0;
word-wrap: normal;
-}
-
-pre, code, tt {
- font-family: Consolas,"Liberation Mono",Courier,monospace;
- font-size: 12px;
-}
+}
+
+pre, code, tt {
+ font-family: Consolas,"Liberation Mono",Courier,monospace;
+ font-size: 12px;
+}
+
+.highlight {
+ background: #FFF;
+}
+.highlight .k,
+.highlight .o,
+.highlight .cp,
+.highlight .cs,
+.highlight .gs,
+.highlight .gu,
+.highlight .kc,
+.highlight .kd,
+.highlight .kn,
+.highlight .kp,
+.highlight .kr,
+.highlight .kt,
+.highlight .nc,
+.highlight .ne,
+.highlight .nf,
+.highlight .ow {
+ font-weight: bold;
+}
+.highlight .gd,
+.highlight .gd .x,
+.highlight .gi,
+.highlight .gi .x,
+.type-csharp .highlight .nf,
+.type-csharp .highlight .nn {
+ color: #000;
+}
+.highlight .c,
+.highlight .cm,
+.highlight .c1 {
+ color: #998;
+ font-style: italic;
+}
+.highlight .err {
+ background-color: #E3D2D2;
+ color: #A61717;
+}
+.highlight .cp,
+.highlight .cs {
+ color: #999;
+}
+.highlight .cs,
+.highlight .ge {
+ font-style: italic;
+}
+.highlight .gd {
+ background-color: #FDD;
+}
+.highlight .gd .x {
+ background-color: #FAA;
+}
+.highlight .gr,
+.highlight .gt {
+ color: #A00;
+}
+.highlight .gh {
+ color: #999;
+}
+.highlight .gi {
+ background-color: #DFD;
+}
+.highlight .gi .x {
+ background-color: #AFA;
+}
+.highlight .go {
+ color: #888;
+}
+.highlight .gp,
+.highlight .nn {
+ color: #555;
+}
+.highlight .gu,
+.highlight .ni {
+ color: #800080;
+}
+.highlight .kt {
+ color: #458;
+}
+.highlight .m {
+ color: #099;
+}
+.highlight .s {
+ color: #D14;
+}
+.highlight .n {
+ color: #333;
+}
+.highlight .na,
+.highlight .no,
+.highlight .nv,
+.highlight .vc,
+.highlight .vg,
+.highlight .vi {
+ color: #008080;
+}
+.highlight .nb {
+ color: #0086B3;
+}
+.highlight .nc {
+ color: #458;
+}
+.highlight .ne,
+.highlight .nf {
+ color: #900;
+}
+.highlight .nt {
+ color: #000080;
+}
+.highlight .w {
+ color: #BBB;
+}
+.highlight .mf,
+.highlight .mh,
+.highlight .mi,
+.highlight .mo {
+ color: #099;
+}
+.highlight .sb,
+.highlight .sc,
+.highlight .sd,
+.highlight .s2,
+.highlight .se,
+.highlight .sh,
+.highlight .si,
+.highlight .sx,
+.highlight .s1 {
+ color: #D14;
+}
+.highlight .sr {
+ color: #009926;
+}
+.highlight .ss {
+ color: #990073;
+}
+.highlight .bp {
+ color: #999;
+}
+.highlight .il {
+ color: #099;
+}
+.highlight .gc {
+ background-color: #EAF2F5;
+ color: #999;
+}
+.type-csharp .highlight .k,
+.type-csharp .highlight .kt {
+ color: #00F;
+}
+.type-csharp .highlight .nf {
+ font-weight: normal;
+}
+.type-csharp .highlight .nc {
+ color: #2B91AF;
+}
+.type-csharp .highlight .s,
+.type-csharp .highlight .sc {
+ color: #A31515;
+}

0 comments on commit 64de4d4

Please sign in to comment.