Skip to content

Instantly share code, notes, and snippets.

@tusharf5
Created August 30, 2020 06:15
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 tusharf5/17495725b928de0e7fc288643795b3aa to your computer and use it in GitHub Desktop.
Save tusharf5/17495725b928de0e7fc288643795b3aa to your computer and use it in GitHub Desktop.
Typora cobalt theme overwrites
.file-node-content {
padding: 9px 4px;
margin: 0;
display: flex;
align-items: center;
}
.file-tree-node > .file-node-children {
padding-left: 12px;
}
.file-tree-node[data-is-directory="true"] > .file-node-background {
background-color: rgb(15, 22, 34);
padding: 20px 10px;
}
.file-tree-node[data-is-directory="false"] > .file-node-background {
padding: 20px 10px;
}
.file-tree-node[data-is-directory="true"] > .file-node-content > .file-node-icon {
display: none;
}
.file-tree-node[data-is-directory="false"] > .file-node-content > .file-node-icon {
width: 16px;
margin: 0 6px 0 0;
height: 16px;
line-height: 16px;
min-height: 16px;
}
.file-tree-node[data-is-directory="false"] > .file-node-content > .file-node-icon::before {
height: 16px;
width: 16px;
}
.file-tree-node[data-is-directory="false"]:hover > .file-node-content > .file-node-icon::before {
height: 16px !important;
width: 16px !important;
}
.file-tree-node[data-is-directory="true"] > .file-node-content > .file-node-title {
padding-left: 4px;
}
.file-tree-node[data-is-directory="false"] > .file-node-content > .file-node-title {
line-height: 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment