Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Commit

Permalink
Update: Added markdown rules
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrodek committed Nov 11, 2016
1 parent 8d05dae commit 151d530
Showing 1 changed file with 140 additions and 0 deletions.
140 changes: 140 additions & 0 deletions markdown-styles.html
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,146 @@
content: normal
}

/**
* prism.js default theme for JavaScript, CSS and HTML
* Based on dabblet (http://dabblet.com)
* @author Lea Verou
*/
.markdown-html code,
.markdown-html pre {
color: black;
background: none;
text-shadow: 0 1px white;
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
word-wrap: normal;
line-height: 1.5;

-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;

-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}

.markdown-html pre::-moz-selection,
.markdown-html pre ::-moz-selection,
.markdown-html code::-moz-selection,
.markdown-html code ::-moz-selection {
text-shadow: none;
background: #b3d4fc;
}

.markdown-html pre::selection,
.markdown-html pre ::selection,
.markdown-html code::selection,
.markdown-html code ::selection {
text-shadow: none;
background: #b3d4fc;
}

@media print {
.markdown-html code,
.markdown-html pre {
text-shadow: none;
}
}

/* Code blocks */
.markdown-html pre {
padding: 1em;
margin: .5em 0;
overflow: auto;
}

.markdown-html :not(pre) > code,
.markdown-html pre {
background: #f5f2f0;
}

/* Inline code */
.markdown-html :not(pre) > code {
padding: .1em;
border-radius: .3em;
white-space: normal;
}

.markdown-html .token.comment,
.markdown-html .token.prolog,
.markdown-html .token.doctype,
.markdown-html .token.cdata {
color: slategray;
}

.markdown-html .token.punctuation {
color: #999;
}

.markdown-html .namespace {
opacity: .7;
}

.markdown-html .token.property,
.markdown-html .token.tag,
.markdown-html .token.boolean,
.markdown-html .token.number,
.markdown-html .token.constant,
.markdown-html .token.symbol,
.markdown-html .token.deleted {
color: #905;
}

.markdown-html .token.selector,
.markdown-html .token.attr-name,
.markdown-html .token.string,
.markdown-html .token.char,
.markdown-html .token.builtin,
.markdown-html .token.inserted {
color: #690;
}

.markdown-html .token.operator,
.markdown-html .token.entity,
.markdown-html .token.url,
.markdown-html .language-css .token.string,
.markdown-html .style .token.string {
color: #a67f59;
background: hsla(0, 0%, 100%, .5);
}

.markdown-html .token.atrule,
.markdown-html .token.attr-value,
.markdown-html .token.keyword {
color: #07a;
}

.markdown-html .token.function {
color: #DD4A68;
}

.markdown-html .token.regex,
.markdown-html .token.important,
.markdown-html .token.variable {
color: #e90;
}

.markdown-html .token.important,
.markdown-html .token.bold {
font-weight: bold;
}
.markdown-html .token.italic {
font-style: italic;
}

.markdown-html .token.entity {
cursor: help;
}
</style>
</template>
</dom-module>

0 comments on commit 151d530

Please sign in to comment.