Skip to content

Instantly share code, notes, and snippets.

@algun
Forked from tyom/JSONView Custom Styles.css
Last active June 27, 2016 20:06
Show Gist options
  • Save algun/af6bced683d80d2e0312 to your computer and use it in GitHub Desktop.
Save algun/af6bced683d80d2e0312 to your computer and use it in GitHub Desktop.
body {
white-space: pre;
font-family: monospace;
background:#222;
color: wheat;
}
a {
color: goldenrod;
}
.property {
font-weight: bold;
color:gold;
}
.property:after {
content: '" ';
}
.property:before {
content: '"';
}
.type-null {
color: darkgray;
}
.type-boolean {
color: orange;
}
.type-number {
color: yellow;
}
.type-string {
color: PapayaWhip ;
}
.callback-function {
color: gray;
}
.collapser:after {
content: "-";
}
.collapsed > .collapser:after {
content: "+";
}
.ellipsis:after {
content: " … ";
}
.collapsible {
margin-left: 2em;
}
.hoverable {
padding-top: 1px;
padding-bottom: 1px;
padding-left: 2px;
padding-right: 2px;
border-radius: 2px;
}
.hovered {
background-color: rgba(90, 90, 90, 1);
}
.collapser {
padding-right: 6px;
padding-left: 6px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment