Skip to content

Instantly share code, notes, and snippets.

@smarj
Last active March 2, 2017 01:47
Show Gist options
  • Save smarj/91794f055591be76e1a81753c9e4aae5 to your computer and use it in GitHub Desktop.
Save smarj/91794f055591be76e1a81753c9e4aae5 to your computer and use it in GitHub Desktop.
Marked preview CSS for ZenDesk comments
/*
* zendesk-marked.css - CSS to preview ZenDesk comments in Marked
* Copyright (C) 2016 Bill Smargiassi bill@smargiassi.us
*/
body {
font-family: proxima-nova, sans-serif;
font-size: 14px;
font-style: normal;
font-weight: normal;
line-height: 20px;
color: rgb(110, 110, 110);
background-color: rgba(0, 0, 0, 0);
}
code {
font-family: Consolas, 'Bitstream Vera Sans Mono', Courier, monospace;
font-size: 12px;
font-style: normal;
font-weight: normal;
color: rgb(85, 85, 85);
background-color: rgb(248, 248, 248);
border-bottom-color: rgb(234, 234, 234);
border-bottom-style: solid;
border-bottom-width: 1px;
border-left-color: rgb(234, 234, 234);
border-left-style: solid;
border-left-width: 1px;
border-right-color: rgb(234, 234, 234);
border-right-style: solid;
border-right-width: 1px;
border-top-color: rgb(234, 234, 234);
border-top-style: solid;
border-top-width: 1px; line-height: 20px;
margin-bottom: 0px;
margin-left: 2px;
margin-right: 2px;
margin-top: 0px;
padding-left: 5px;
padding-right: 5px;
}
pre {
background-attachment: scroll;
background-clip: border-box;
background-color: rgb(248, 248, 248);
background-image: none;
background-origin: padding-box;
background-size: auto;
border-bottom-color: rgb(204, 204, 204);
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
border-bottom-style: solid;
border-bottom-width: 1px;
border-image-outset: 0px;
border-image-repeat: stretch;
border-image-slice: 100%;
border-image-source: none;
border-image-width: 1;
border-left-color: rgb(204, 204, 204);
border-left-style: solid;
border-left-width: 1px;
border-right-color: rgb(204, 204, 204);
border-right-style: solid;
border-right-width: 1px;
border-top-color: rgb(204, 204, 204);
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-top-style: solid;
border-top-width: 1px;
color: rgb(51, 51, 51);
cursor: auto;
display: block;
font-family: Consolas, 'Bitstream Vera Sans Mono', Courier, monospace;
font-size: 12.024999618530273px;
font-style: normal;
font-variant-caps: normal;
font-weight: normal;
height: auto;
line-height: 19px;
margin-bottom: 15px;
margin-left: 0px;
margin-right: 0px;
margin-top: 15px;
outline-color: rgb(51, 51, 51);
outline-style: none;
outline-width: 0px;
overflow-x: auto;
overflow-y: auto;
padding-bottom: 3px;
padding-left: 10px;
padding-right: 10px;
padding-top: 3px;
vertical-align: baseline;
white-space: pre-line;
width: auto;
word-break: break-all;
word-wrap: break-word;
}
pre code {
background-attachment: scroll;
background-clip: border-box;
background-color: rgba(0, 0, 0, 0);
background-image: none;
background-origin: padding-box;
background-size: auto;
border-bottom-color: rgb((204, 204, 204));
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
border-bottom-style: none;
border-bottom-width: 0px;
border-image-outset: 0px;
border-image-repeat: stretch;
border-image-slice: 100%;
border-image-source: none;
border-image-width: 1;
border-left-color: rgb(204, 204, 204);
border-left-style: none;
border-left-width: 0px;
border-right-color: rgb(204, 204, 204);
border-right-style: none;
border-right-width: 0px;
border-top-color: rgb(204, 204, 204);
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-top-style: none;
border-top-width: 0px;
color: rgb(204, 204, 204);
cursor: auto;
display: inline;
font-family: Consolas, 'Bitstream Vera Sans Mono', Courier, monospace;
font-size: 12px;
font-style: normal;
font-variant-caps: normal;
font-weight: normal;
height: auto;
line-height: 19px;
margin-bottom: 0px;
margin-left: 0px;
margin-right: 0px;
margin-top: 0px;
outline-color: rgb(204, 204, 204);
outline-style: none;
outline-width: 0px;
padding-bottom: 0px;
padding-left: 0px;
padding-right: 0px;
padding-top: 0px;
vertical-align: baseline;
white-space: pre-wrap;
width: auto;
word-break: break-word;
word-wrap: break-word;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment