Skip to content

Instantly share code, notes, and snippets.

@jacenko
Last active September 24, 2022 13:27
Show Gist options
  • Save jacenko/134276b604d4a612720fff5a97f75030 to your computer and use it in GitHub Desktop.
Save jacenko/134276b604d4a612720fff5a97f75030 to your computer and use it in GitHub Desktop.
My JSONVue CSS Styles
#json {
background: #000;
}
* {
font-family: Inconsolata, monospace;
color: #FFC100;
}
.property {
color: #39db7d;
font-weight: bold;
}
li:first-of-type { border-radius: .5em .5em 0 0; }
li:last-of-type { border-radius: 0 0 .5em .5em; }
li:only-of-type { border-radius: .5em .5em .5em .5em; }
li {
background: rgba(255,255,255,.008);
position: relative;
overflow: hidden;
padding: .0em .4em;
transition: .1s;
}
li:hover {
background: rgba(255,255,255,.05);
padding-left: .5em;
}
li:hover:after {
content: "";
display: block;
position: absolute;
border-radius: 0 0 .5em 0;
top: 0;
left: 0;
height: 10px;
width: 10px;
background: rgba(220,220,255,.03);
}
span.type-string {
color: #FFF;
}
div {
color: #A594F9;
}
a {
color: #5EC2B7;
}
@jacenko
Copy link
Author

jacenko commented Sep 24, 2022

CleanShot 2022-09-24 at 09 24 49@2x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment