Skip to content

Instantly share code, notes, and snippets.

@magicznyleszek
Created September 5, 2016 07:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save magicznyleszek/ee160c771dda73e34ca8f4e93d9d1ada to your computer and use it in GitHub Desktop.
Save magicznyleszek/ee160c771dda73e34ca8f4e93d9d1ada to your computer and use it in GitHub Desktop.
body {
white-space: pre;
font-family: monospace;
font-size: 14px;
line-height: 1.5;
background: hsl(212, 25%, 12%);
color: hsl(213, 18%, 66%);
margin: 1rem;
}
::selection {
background-color: hsla(211, 24%, 27%, 0.99);
}
a {
color: hsl(212, 88%, 77%);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.property {
font-weight: bold;
}
.type-null {
color: hsl(160, 72%, 48%);
}
.type-boolean {
color: hsl(160, 99%, 70%);
}
.type-number {
color: hsl(160, 99%, 70%);
}
.type-string {
color: hsl(212, 88%, 77%);
}
.callback-function {
color: hsl(160, 99%, 70%);
}
.collapser {
cursor: pointer;
font-weight: bold;
width: 1rem;
height: 1rem;
margin: 0.25rem;
line-height: 1rem;
text-align: center;
transform: translateY(1px);
opacity: 0.5;
}
.collapser:hover {
color: hsl(212, 25%, 12%);
background-color: hsl(213, 18%, 66%);
border-radius: 50%;
opacity: 1;
}
.collapser:active {
color: hsl(212, 25%, 12%);
background-color: white;
}
.collapser:after {
content: "-";
}
.collapsed>.collapser:after {
content: "+";
}
.ellipsis:after {
content: "…";
}
.collapsible {
margin-left: 2rem;
}
.hoverable {
padding: 0.125rem;
border-radius: 0.125rem;
}
.hovered {
background-color: hsla(211, 24%, 27%, 0.33);
}
.selected {
outline: 0;
box-shadow: 0 0 0 0.125rem hsla(211, 24%, 27%, 0.75);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment