mirror of
https://github.com/evlic/typora_theme.git
synced 2024-11-24 13:32:10 +08:00
init
初始化提交
This commit is contained in:
parent
b77508d9f5
commit
00c9515de3
1024
cobalt.css
Normal file
1024
cobalt.css
Normal file
File diff suppressed because it is too large
Load Diff
BIN
cobalt/aurum.psd
Normal file
BIN
cobalt/aurum.psd
Normal file
Binary file not shown.
BIN
cobalt/hack/hack-regular.woff
Normal file
BIN
cobalt/hack/hack-regular.woff
Normal file
Binary file not shown.
BIN
cobalt/nunito/NunitoSans-ExtraBold.woff
Normal file
BIN
cobalt/nunito/NunitoSans-ExtraBold.woff
Normal file
Binary file not shown.
BIN
cobalt/nunito/NunitoSans-ExtraBoldItalic.woff
Normal file
BIN
cobalt/nunito/NunitoSans-ExtraBoldItalic.woff
Normal file
Binary file not shown.
BIN
cobalt/nunito/NunitoSans-Italic.woff
Normal file
BIN
cobalt/nunito/NunitoSans-Italic.woff
Normal file
Binary file not shown.
BIN
cobalt/nunito/NunitoSans-Regular.woff
Normal file
BIN
cobalt/nunito/NunitoSans-Regular.woff
Normal file
Binary file not shown.
BIN
cobalt/splash.png
Normal file
BIN
cobalt/splash.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 242 KiB |
1133
drake-ayu.css
Normal file
1133
drake-ayu.css
Normal file
File diff suppressed because it is too large
Load Diff
1127
drake-black.css
Normal file
1127
drake-black.css
Normal file
File diff suppressed because it is too large
Load Diff
1136
drake-juejin.css
Normal file
1136
drake-juejin.css
Normal file
File diff suppressed because it is too large
Load Diff
BIN
drake/JetBrainsMono-Bold.woff2
Normal file
BIN
drake/JetBrainsMono-Bold.woff2
Normal file
Binary file not shown.
BIN
drake/JetBrainsMono-BoldItalic.woff2
Normal file
BIN
drake/JetBrainsMono-BoldItalic.woff2
Normal file
Binary file not shown.
BIN
drake/JetBrainsMono-Italic.woff2
Normal file
BIN
drake/JetBrainsMono-Italic.woff2
Normal file
Binary file not shown.
BIN
drake/JetBrainsMono-Regular.woff2
Normal file
BIN
drake/JetBrainsMono-Regular.woff2
Normal file
Binary file not shown.
32
drake/font.css
Normal file
32
drake/font.css
Normal file
@ -0,0 +1,32 @@
|
||||
@font-face{
|
||||
font-family: 'JetBrains Mono';
|
||||
src: local('JetBrains Mono'),
|
||||
url('./JetBrainsMono-Regular.woff2') format('woff2');
|
||||
font-display: swap;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face{
|
||||
font-family: 'JetBrains Mono';
|
||||
src: local('JetBrains Mono'),
|
||||
url('./JetBrainsMono-Italic.woff2') format('woff2');
|
||||
font-display: swap;
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
@font-face{
|
||||
font-family: 'JetBrains Mono';
|
||||
src: local('JetBrains Mono'),
|
||||
url('./JetBrainsMono-Bold.woff2') format('woff2');
|
||||
font-display: swap;
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face{
|
||||
font-family: 'JetBrains Mono';
|
||||
src: local('JetBrains Mono'),
|
||||
url('./JetBrainsMono-BoldItalic.woff2') format('woff2');
|
||||
font-display: swap;
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
}
|
626
eva.css
Normal file
626
eva.css
Normal file
@ -0,0 +1,626 @@
|
||||
/*
|
||||
author: jyzhu;
|
||||
|
||||
I take the color palette of Evangelion.
|
||||
|
||||
And this code is inspired by both `bear-dracula` and `mint-dark`.
|
||||
*/
|
||||
|
||||
:root {
|
||||
|
||||
--bg-color: #353846;
|
||||
--text-color: white;
|
||||
--blur-text-color: #818286;
|
||||
--side-bar-bg-color: #353846;
|
||||
--control-text-color: white;
|
||||
--active-file-bg-color: #353846;
|
||||
--active-file-border-color: #9d56ae;
|
||||
--active-file-text-color: #8ce360;
|
||||
--table-head-color:#7173e0;
|
||||
--mint-light-color:#d9ede5;
|
||||
--deep-theme-color: #9d56ae;
|
||||
--code-block-bg-color: #0F111A;
|
||||
--rawblock-edit-panel-bd: #1f202a;
|
||||
--footer-box:#6a6b6e;
|
||||
--select-text-bg-color:#7a88a3;
|
||||
--item-hover-bg-color: #9d56ae;
|
||||
--highlight-color:#9d56ae;
|
||||
--primary-color: #9d56ae;
|
||||
--primary-btn-border-color: #9d56ae;
|
||||
--primary-btn-text-color: #9d56ae;
|
||||
--meta-content-color: #9d56ae;
|
||||
--search-select-text-color: #9d56ae;
|
||||
--heading-char-color: #9d56ae;
|
||||
}
|
||||
|
||||
|
||||
html{
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
body {
|
||||
font-weight: normal;
|
||||
line-height: 1.8rem;
|
||||
letter-spacing: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#write {
|
||||
max-width: 900px;
|
||||
padding: 30px 50px 20px;
|
||||
}
|
||||
|
||||
#write p{
|
||||
text-align:left;
|
||||
}
|
||||
|
||||
#write pre.md-meta-block {
|
||||
padding: 1rem;
|
||||
font-size: 85%;
|
||||
line-height: 1.45;
|
||||
background-color: #f7f7f7;
|
||||
border: 0;
|
||||
border-radius: 3px;
|
||||
color: #777777;
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
.md-image>.md-meta {
|
||||
color: var(--active-file-text-color);
|
||||
}
|
||||
|
||||
|
||||
@media print {
|
||||
html,body {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
table,
|
||||
pre {
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
|
||||
pre {
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
}
|
||||
@page {
|
||||
size: A4;
|
||||
margin: 8mm 0mm;
|
||||
}
|
||||
|
||||
/*toc*/
|
||||
.md-toc {
|
||||
margin-top:20px;
|
||||
padding-bottom:20px;
|
||||
color: var(--deep-theme-color);
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--deep-theme-color);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/*headers*/
|
||||
h1,h2,h3,h4,h5,h6 {
|
||||
display: block;
|
||||
font-weight:bold;
|
||||
color: #8ce360;
|
||||
}
|
||||
|
||||
h1 {
|
||||
text-align: center;
|
||||
font-size: 2em;
|
||||
line-height: 110%;
|
||||
margin-top: 0.67em;
|
||||
margin-bottom: 0.67em;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.5em;
|
||||
margin-top: 0.83em;
|
||||
margin-bottom: 0.83em;
|
||||
border-bottom: 1px solid #8ce360;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.17em;
|
||||
margin-top: 1em;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1em;
|
||||
margin-top: 1.33em;
|
||||
margin-bottom: 1.33em;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 1em;
|
||||
margin-top: 1.33em;
|
||||
margin-bottom: 1.33em;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 1em;
|
||||
margin-top: 1.33em;
|
||||
margin-bottom: 1.33em;
|
||||
}
|
||||
|
||||
p,
|
||||
blockquote,
|
||||
ul,
|
||||
ol,
|
||||
dl,
|
||||
table {
|
||||
margin: 0.5rem 0;
|
||||
}
|
||||
|
||||
/*table*/
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
padding: 0;
|
||||
word-break: initial;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table tr:nth-child(even){
|
||||
background-color: var(--bg-color);
|
||||
}
|
||||
|
||||
thead{
|
||||
background-color: var(--table-head-color);
|
||||
}
|
||||
|
||||
table th{
|
||||
text-align: center;
|
||||
padding:6px 13px;
|
||||
border: 1px solid var(--mint-light-color);
|
||||
}
|
||||
|
||||
table td{
|
||||
padding:6px 13px;
|
||||
border: 1px solid var(--mint-light-color);
|
||||
}
|
||||
table tr{
|
||||
padding:6px 13px;
|
||||
border: 1px solid var(--mint-light-color);
|
||||
}
|
||||
#write th, #write td {
|
||||
border-color: rgba(187, 145, 248, 0.4);
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
}
|
||||
/*blockquote*/
|
||||
blockquote {
|
||||
border-left: 0.2rem solid var(--deep-theme-color);
|
||||
color: #cccccc;
|
||||
font-size: 1rem;
|
||||
padding-left: 2rem;
|
||||
}
|
||||
|
||||
|
||||
/*list*/
|
||||
|
||||
li p.first {
|
||||
display: inline-block;
|
||||
}
|
||||
ul,
|
||||
ol {
|
||||
padding-left: 30px;
|
||||
}
|
||||
ul:first-child,
|
||||
ol:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
ul:last-child,
|
||||
ol:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#write ul {
|
||||
margin-left: 0;
|
||||
padding-left: 22px;
|
||||
list-style: none;
|
||||
}
|
||||
#write ul > li:not([class*=task-list-item]) {
|
||||
word-wrap: break-all;
|
||||
padding-left: 0px;
|
||||
}
|
||||
#write ul > li:not([class*=task-list-item]):before {
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
content: "•";
|
||||
color: #9d56ae;
|
||||
display: inline-block;
|
||||
margin-left: -20px;
|
||||
margin-right: 20px;
|
||||
width: 0px;
|
||||
font-size: 0.8em;
|
||||
transform: scale(1.25);
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
}
|
||||
#write ul > li:not([class*=task-list-item]) li:not([class*=task-list-item])::before {
|
||||
content: "◦";
|
||||
transform: scale(1);
|
||||
font-weight: 700;
|
||||
}
|
||||
#write ul > li:not([class*=task-list-item]) li:not([class*=task-list-item]) li:not([class*=task-list-item])::before {
|
||||
content: "▪";
|
||||
transform: scale(1.25);
|
||||
font-weight: normal;
|
||||
}
|
||||
#write ol {
|
||||
counter-reset: ol_counter;
|
||||
margin-left: 0;
|
||||
padding-left: 22px;
|
||||
list-style: none;
|
||||
}
|
||||
#write ol > li:not([class*=task-list-item]) {
|
||||
word-wrap: break-all;
|
||||
padding-left: 0px;
|
||||
position: relative;
|
||||
}
|
||||
#write ol > li:not([class*=task-list-item]):before {
|
||||
content: counter(ol_counter) ".";
|
||||
counter-increment: ol_counter;
|
||||
color: #9d56ae;
|
||||
position: absolute;
|
||||
margin-left: -22px;
|
||||
margin-right: 4px;
|
||||
padding-left: 2px;
|
||||
padding-right: 2px;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
overflow: visible;
|
||||
min-width: 18px;
|
||||
border-radius: 2px;
|
||||
transform: translateX(-2px);
|
||||
font-family: Helvetica Neue, Consolas;
|
||||
}
|
||||
|
||||
/*checkbox*/
|
||||
.md-task-list-item:hover > input:before,
|
||||
input[type='checkbox']:hover:before {
|
||||
opacity: 1;
|
||||
transition: 0.5s;
|
||||
background-color: #505052;
|
||||
}
|
||||
|
||||
|
||||
.task-list-item input::before {
|
||||
background-color:var(--bg-color);
|
||||
width: 1.2rem;
|
||||
height: 1.2rem;
|
||||
margin-left: -0.15rem;
|
||||
margin-right: 0.1rem;
|
||||
margin-top: -0.48rem;
|
||||
content: "";
|
||||
display: inline-block;
|
||||
border-radius: 1.1rem;
|
||||
vertical-align: middle;
|
||||
border: 1.2px solid var(--deep-theme-color);
|
||||
}
|
||||
|
||||
.task-list-item input:checked::before {
|
||||
color:var(--bg-color);
|
||||
font-weight: 600;
|
||||
font-size: 1.2rem;
|
||||
line-height: 0.95rem;
|
||||
margin-top: -0.48rem;
|
||||
padding-left: 0.125em;
|
||||
content: '✔';
|
||||
background-color: var(--deep-theme-color);
|
||||
transition: background-color 200ms ease-in-out;
|
||||
}
|
||||
|
||||
.task-list-done {
|
||||
text-decoration: line-through;
|
||||
color: #777777;
|
||||
}
|
||||
|
||||
|
||||
|
||||
hr {
|
||||
border-style: none;
|
||||
border-top-style: solid;
|
||||
border-color: #e7e7e7;
|
||||
border-width: 1px;
|
||||
margin: 13px 0 12px;
|
||||
border: 0px;
|
||||
height: 1px;
|
||||
background-origin: content-box;
|
||||
background-image: linear-gradient(90deg, rgba(187, 145, 248, 0.4), rgba(187, 145, 248, 0.4));
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
/*highlight*/
|
||||
#write mark {
|
||||
background-color: var(--highlight-color);
|
||||
border-radius: 2px;
|
||||
color:#fff;
|
||||
padding: 0 4px;
|
||||
margin: 0 2px;
|
||||
}
|
||||
|
||||
/*inline code*/
|
||||
#write code,tt {
|
||||
padding: 2px 4px;
|
||||
border: 1px solid rgba(187, 145, 248, 0.4);
|
||||
background-color: var(--code-block-bg-color);
|
||||
color: var(--text-color);
|
||||
font-size: 1rem;
|
||||
border-radius: 2px;
|
||||
margin: 0 2px;
|
||||
}
|
||||
|
||||
/*footnote*/
|
||||
#write .md-footnote {
|
||||
color: #777777;
|
||||
background-color: var(--code-block-bg-color);
|
||||
}
|
||||
|
||||
|
||||
/*source code mode*/
|
||||
.cm-s-typora-default .cm-header {
|
||||
color:var(--mint-light-color);
|
||||
}
|
||||
.cm-s-typora-default .cm-link {
|
||||
color:var(--deep-theme-color);
|
||||
|
||||
}
|
||||
/*code block*/
|
||||
#write .md-fences {
|
||||
font-size: 1rem;
|
||||
margin: 0.2em 0;
|
||||
padding: 0.5em;
|
||||
border-radius: 3px;
|
||||
font-size: 1em;
|
||||
background-color: var(--code-block-bg-color);
|
||||
color: #A9B7C6;
|
||||
border: none;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.md-fences .code-tooltip {
|
||||
background-color: var(--code-block-bg-color);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/*scroll bar*/
|
||||
::-webkit-scrollbar-thumb
|
||||
{
|
||||
border-radius: 8px;
|
||||
background-color: var(--control-text-color);
|
||||
}
|
||||
|
||||
#write pre.md-meta-block {
|
||||
background-color: var(--item-hover-bg-color);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
|
||||
/* footer */
|
||||
footer.ty-footer {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.footer-item:hover {
|
||||
background-color: var(--footer-box);
|
||||
}
|
||||
|
||||
/*megamenu*/
|
||||
.megamenu-menu {
|
||||
box-shadow: none;
|
||||
background-color:var(--side-bar-bg-color);
|
||||
}
|
||||
|
||||
.megamenu-content,
|
||||
.megamenu-opened header {
|
||||
background: var(--bg-color);
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
.megamenu-menu-panel table td:nth-child(1) {
|
||||
background-color: var(--bg-color);
|
||||
}
|
||||
|
||||
.megamenu-menu-panel table td:nth-child(2) {
|
||||
background-color: var(--bg-color);
|
||||
}
|
||||
|
||||
#recent-file-panel-action-btn {
|
||||
background-color: var(--bg-color);
|
||||
}
|
||||
|
||||
/* preferences */
|
||||
.ty-preferences .window-header{
|
||||
background-color: var(--active-file-bg-color);
|
||||
}
|
||||
|
||||
.ty-preferences .nav-group-item:hover {
|
||||
background-color: var(--item-hover-bg-color);
|
||||
}
|
||||
|
||||
.btn:hover,
|
||||
.button-hover,
|
||||
.md-image-btn:hover {
|
||||
background-color:#39393a !important;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.menu-style-btn:hover {
|
||||
background-color: var(--item-hover-bg-color);
|
||||
border: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#write del, #write s {
|
||||
color: #b2b8a3;
|
||||
}
|
||||
#write a {
|
||||
color: #c16124;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
|
||||
|
||||
#write code {
|
||||
border-radius: 4px;
|
||||
margin-left: 2px;
|
||||
margin-right: 2px;
|
||||
border: 1px solid rgba(187, 145, 248, 0.4);
|
||||
background-color: #1f202a;
|
||||
word-spacing: normal;
|
||||
line-height: 1.6;
|
||||
padding: 0 2px;
|
||||
color: #f9f9f5;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
Name: material-ocean
|
||||
Author: Mattia Astorino (http://github.com/equinusocio)
|
||||
Website: https://material-theme.site/
|
||||
*/
|
||||
|
||||
.cm-s-inner.CodeMirror {
|
||||
background-color: #0F111A;
|
||||
color: #8F93A2;
|
||||
}
|
||||
|
||||
.cm-s-inner .CodeMirror-gutters {
|
||||
background: #0F111A;
|
||||
color: #464B5D;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.cm-s-inner .CodeMirror-linenumber {color: #464B5D;}
|
||||
.cm-s-inner .CodeMirror-guttermarker { color: #FFEE80; }
|
||||
.cm-s-inner .CodeMirror-guttermarker-subtle { color: #D0D0D0; }
|
||||
|
||||
|
||||
.cm-s-inner .CodeMirror-cursor { border-left: 1px solid #A9B7C6; }
|
||||
.cm-s-inner div.CodeMirror-cursor { border-left: 1px solid #ffffff; }
|
||||
.cm-s-inner div.CodeMirror-selected {
|
||||
background: rgba(113, 124, 180, 0.2);
|
||||
}
|
||||
|
||||
.cm-s-inner.CodeMirror-focused div.CodeMirror-selected {
|
||||
background: rgba(113, 124, 180, 0.2);
|
||||
}
|
||||
|
||||
.cm-s-inner .CodeMirror-selected{ background: #214283 !important; }
|
||||
.cm-s-inner .CodeMirror-selectedtext { background: #214283 !important; }
|
||||
.cm-overlay.CodeMirror-selectedtext { background: #B5D6FC !important; }
|
||||
|
||||
.cm-s-inner .CodeMirror-line::selection,
|
||||
.cm-s-inner .CodeMirror-line>span::selection,
|
||||
.cm-s-inner .CodeMirror-line>span>span::selection {
|
||||
background: rgba(128, 203, 196, 0.2);
|
||||
}
|
||||
|
||||
.cm-s-inner .CodeMirror-line::-moz-selection,
|
||||
.cm-s-inner .CodeMirror-line>span::-moz-selection,
|
||||
.cm-s-inner .CodeMirror-line>span>span::-moz-selection {
|
||||
background: rgba(128, 203, 196, 0.2);
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-keyword {
|
||||
color: #C792EA;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-operator {
|
||||
color: #89DDFF;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-variable-2 {
|
||||
color: #EEFFFF;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-variable-3,
|
||||
.cm-s-inner .cm-type {
|
||||
color: #f07178;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-builtin {
|
||||
color: #FFCB6B;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-atom {
|
||||
color: #F78C6C;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-number {
|
||||
color: #FF5370;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-def {
|
||||
color: #82AAFF;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-string {
|
||||
color: #C3E88D;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-string-2 {
|
||||
color: #f07178;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-comment {
|
||||
color: #585d6d;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-variable {
|
||||
color: #f07178;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-tag {
|
||||
color: #FF5370;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-meta {
|
||||
color: #FFCB6B;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-attribute {
|
||||
color: #C792EA;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-property {
|
||||
color: #C792EA;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-qualifier {
|
||||
color: #DECB6B;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-variable-3,
|
||||
.cm-s-inner .cm-type {
|
||||
color: #DECB6B;
|
||||
}
|
||||
|
||||
|
||||
.cm-s-inner .cm-error {
|
||||
color: rgba(255, 255, 255, 1.0);
|
||||
background-color: #FF5370;
|
||||
}
|
||||
|
||||
.cm-s-inner .CodeMirror-matchingbracket {
|
||||
text-decoration: underline;
|
||||
color: white !important;
|
||||
}
|
415
github.css
Normal file
415
github.css
Normal file
@ -0,0 +1,415 @@
|
||||
:root {
|
||||
--side-bar-bg-color: #fafafa;
|
||||
--control-text-color: #777;
|
||||
}
|
||||
|
||||
@include-when-export url(https://fonts.loli.net/css?family=Open+Sans:400italic,700italic,700,400&subset=latin,latin-ext);
|
||||
|
||||
/* open-sans-regular - latin-ext_latin */
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
src: local('Open Sans Regular'), local('OpenSans-Regular'), url('./github/open-sans-v17-latin-ext_latin-regular.woff2') format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
/* open-sans-italic - latin-ext_latin */
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
font-style: italic;
|
||||
font-weight: normal;
|
||||
src: local('Open Sans Italic'), local('OpenSans-Italic'), url('./github/open-sans-v17-latin-ext_latin-italic.woff2') format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
/* open-sans-700 - latin-ext_latin */
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
font-style: normal;
|
||||
font-weight: bold;
|
||||
src: local('Open Sans Bold'), local('OpenSans-Bold'), url('./github/open-sans-v17-latin-ext_latin-700.woff2') format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
/* open-sans-700italic - latin-ext_latin */
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
font-style: italic;
|
||||
font-weight: bold;
|
||||
src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), url('./github/open-sans-v17-latin-ext_latin-700italic.woff2') format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 16px;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: "Open Sans","Clear Sans", "Helvetica Neue", Helvetica, Arial, 'Segoe UI Emoji', sans-serif;
|
||||
color: rgb(51, 51, 51);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
#write {
|
||||
max-width: 860px;
|
||||
margin: 0 auto;
|
||||
padding: 30px;
|
||||
padding-bottom: 100px;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 1400px) {
|
||||
#write {
|
||||
max-width: 1024px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 1800px) {
|
||||
#write {
|
||||
max-width: 1200px;
|
||||
}
|
||||
}
|
||||
|
||||
#write > ul:first-child,
|
||||
#write > ol:first-child{
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #4183C4;
|
||||
}
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
position: relative;
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
font-weight: bold;
|
||||
line-height: 1.4;
|
||||
cursor: text;
|
||||
}
|
||||
h1:hover a.anchor,
|
||||
h2:hover a.anchor,
|
||||
h3:hover a.anchor,
|
||||
h4:hover a.anchor,
|
||||
h5:hover a.anchor,
|
||||
h6:hover a.anchor {
|
||||
text-decoration: none;
|
||||
}
|
||||
h1 tt,
|
||||
h1 code {
|
||||
font-size: inherit;
|
||||
}
|
||||
h2 tt,
|
||||
h2 code {
|
||||
font-size: inherit;
|
||||
}
|
||||
h3 tt,
|
||||
h3 code {
|
||||
font-size: inherit;
|
||||
}
|
||||
h4 tt,
|
||||
h4 code {
|
||||
font-size: inherit;
|
||||
}
|
||||
h5 tt,
|
||||
h5 code {
|
||||
font-size: inherit;
|
||||
}
|
||||
h6 tt,
|
||||
h6 code {
|
||||
font-size: inherit;
|
||||
}
|
||||
h1 {
|
||||
font-size: 2.25em;
|
||||
line-height: 1.2;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
h2 {
|
||||
font-size: 1.75em;
|
||||
line-height: 1.225;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
/*@media print {
|
||||
.typora-export h1,
|
||||
.typora-export h2 {
|
||||
border-bottom: none;
|
||||
padding-bottom: initial;
|
||||
}
|
||||
|
||||
.typora-export h1::after,
|
||||
.typora-export h2::after {
|
||||
content: "";
|
||||
display: block;
|
||||
height: 100px;
|
||||
margin-top: -96px;
|
||||
border-top: 1px solid #eee;
|
||||
}
|
||||
}*/
|
||||
|
||||
h3 {
|
||||
font-size: 1.5em;
|
||||
line-height: 1.43;
|
||||
}
|
||||
h4 {
|
||||
font-size: 1.25em;
|
||||
}
|
||||
h5 {
|
||||
font-size: 1em;
|
||||
}
|
||||
h6 {
|
||||
font-size: 1em;
|
||||
color: #777;
|
||||
}
|
||||
p,
|
||||
blockquote,
|
||||
ul,
|
||||
ol,
|
||||
dl,
|
||||
table{
|
||||
margin: 0.8em 0;
|
||||
}
|
||||
li>ol,
|
||||
li>ul {
|
||||
margin: 0 0;
|
||||
}
|
||||
hr {
|
||||
height: 2px;
|
||||
padding: 0;
|
||||
margin: 16px 0;
|
||||
background-color: #e7e7e7;
|
||||
border: 0 none;
|
||||
overflow: hidden;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
li p.first {
|
||||
display: inline-block;
|
||||
}
|
||||
ul,
|
||||
ol {
|
||||
padding-left: 30px;
|
||||
}
|
||||
ul:first-child,
|
||||
ol:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
ul:last-child,
|
||||
ol:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
blockquote {
|
||||
border-left: 4px solid #dfe2e5;
|
||||
padding: 0 15px;
|
||||
color: #777777;
|
||||
}
|
||||
blockquote blockquote {
|
||||
padding-right: 0;
|
||||
}
|
||||
table {
|
||||
padding: 0;
|
||||
word-break: initial;
|
||||
}
|
||||
table tr {
|
||||
border: 1px solid #dfe2e5;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
table tr:nth-child(2n),
|
||||
thead {
|
||||
background-color: #f8f8f8;
|
||||
}
|
||||
table th {
|
||||
font-weight: bold;
|
||||
border: 1px solid #dfe2e5;
|
||||
border-bottom: 0;
|
||||
margin: 0;
|
||||
padding: 6px 13px;
|
||||
}
|
||||
table td {
|
||||
border: 1px solid #dfe2e5;
|
||||
margin: 0;
|
||||
padding: 6px 13px;
|
||||
}
|
||||
table th:first-child,
|
||||
table td:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
table th:last-child,
|
||||
table td:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.CodeMirror-lines {
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
.code-tooltip {
|
||||
box-shadow: 0 1px 1px 0 rgba(0,28,36,.3);
|
||||
border-top: 1px solid #eef2f2;
|
||||
}
|
||||
|
||||
.md-fences,
|
||||
code,
|
||||
tt {
|
||||
border: 1px solid #e7eaed;
|
||||
background-color: #f8f8f8;
|
||||
border-radius: 3px;
|
||||
padding: 0;
|
||||
padding: 2px 4px 0px 4px;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
code {
|
||||
background-color: #f3f4f4;
|
||||
padding: 0 2px 0 2px;
|
||||
}
|
||||
|
||||
.md-fences {
|
||||
margin-bottom: 15px;
|
||||
margin-top: 15px;
|
||||
padding-top: 8px;
|
||||
padding-bottom: 6px;
|
||||
}
|
||||
|
||||
|
||||
.md-task-list-item > input {
|
||||
margin-left: -1.3em;
|
||||
}
|
||||
|
||||
@media print {
|
||||
html {
|
||||
font-size: 13px;
|
||||
}
|
||||
table,
|
||||
pre {
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
pre {
|
||||
word-wrap: break-word;
|
||||
}
|
||||
}
|
||||
|
||||
.md-fences {
|
||||
background-color: #f8f8f8;
|
||||
}
|
||||
#write pre.md-meta-block {
|
||||
padding: 1rem;
|
||||
font-size: 85%;
|
||||
line-height: 1.45;
|
||||
background-color: #f7f7f7;
|
||||
border: 0;
|
||||
border-radius: 3px;
|
||||
color: #777777;
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
.mathjax-block>.code-tooltip {
|
||||
bottom: .375rem;
|
||||
}
|
||||
|
||||
.md-mathjax-midline {
|
||||
background: #fafafa;
|
||||
}
|
||||
|
||||
#write>h3.md-focus:before{
|
||||
left: -1.5625rem;
|
||||
top: .375rem;
|
||||
}
|
||||
#write>h4.md-focus:before{
|
||||
left: -1.5625rem;
|
||||
top: .285714286rem;
|
||||
}
|
||||
#write>h5.md-focus:before{
|
||||
left: -1.5625rem;
|
||||
top: .285714286rem;
|
||||
}
|
||||
#write>h6.md-focus:before{
|
||||
left: -1.5625rem;
|
||||
top: .285714286rem;
|
||||
}
|
||||
.md-image>.md-meta {
|
||||
/*border: 1px solid #ddd;*/
|
||||
border-radius: 3px;
|
||||
padding: 2px 0px 0px 4px;
|
||||
font-size: 0.9em;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.md-tag {
|
||||
color: #a7a7a7;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.md-toc {
|
||||
margin-top:20px;
|
||||
padding-bottom:20px;
|
||||
}
|
||||
|
||||
.sidebar-tabs {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
#typora-quick-open {
|
||||
border: 1px solid #ddd;
|
||||
background-color: #f8f8f8;
|
||||
}
|
||||
|
||||
#typora-quick-open-item {
|
||||
background-color: #FAFAFA;
|
||||
border-color: #FEFEFE #e5e5e5 #e5e5e5 #eee;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
}
|
||||
|
||||
/** focus mode */
|
||||
.on-focus-mode blockquote {
|
||||
border-left-color: rgba(85, 85, 85, 0.12);
|
||||
}
|
||||
|
||||
header, .context-menu, .megamenu-content, footer{
|
||||
font-family: "Segoe UI", "Arial", sans-serif;
|
||||
}
|
||||
|
||||
.file-node-content:hover .file-node-icon,
|
||||
.file-node-content:hover .file-node-open-state{
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.mac-seamless-mode #typora-sidebar {
|
||||
background-color: #fafafa;
|
||||
background-color: var(--side-bar-bg-color);
|
||||
}
|
||||
|
||||
.md-lang {
|
||||
color: #b4654d;
|
||||
}
|
||||
|
||||
/*.html-for-mac {
|
||||
--item-hover-bg-color: #E6F0FE;
|
||||
}*/
|
||||
|
||||
#md-notification .btn {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.dropdown-menu .divider {
|
||||
border-color: #e5e5e5;
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
.ty-preferences .window-content {
|
||||
background-color: #fafafa;
|
||||
}
|
||||
|
||||
.ty-preferences .nav-group-item.active {
|
||||
color: white;
|
||||
background: #999;
|
||||
}
|
||||
|
||||
.menu-item-container a.menu-style-btn {
|
||||
background-color: #f5f8fa;
|
||||
background-image: linear-gradient( 180deg , hsla(0, 0%, 100%, 0.8), hsla(0, 0%, 100%, 0));
|
||||
}
|
BIN
github/open-sans-v17-latin-ext_latin-700.woff2
Normal file
BIN
github/open-sans-v17-latin-ext_latin-700.woff2
Normal file
Binary file not shown.
BIN
github/open-sans-v17-latin-ext_latin-700italic.woff2
Normal file
BIN
github/open-sans-v17-latin-ext_latin-700italic.woff2
Normal file
Binary file not shown.
BIN
github/open-sans-v17-latin-ext_latin-italic.woff2
Normal file
BIN
github/open-sans-v17-latin-ext_latin-italic.woff2
Normal file
Binary file not shown.
BIN
github/open-sans-v17-latin-ext_latin-regular.woff2
Normal file
BIN
github/open-sans-v17-latin-ext_latin-regular.woff2
Normal file
Binary file not shown.
113
night/codeblock.dark.css
Normal file
113
night/codeblock.dark.css
Normal file
@ -0,0 +1,113 @@
|
||||
@charset "UTF-8";
|
||||
/* CSS Document */
|
||||
|
||||
/** code highlight */
|
||||
|
||||
.cm-s-inner .cm-variable,
|
||||
.cm-s-inner .cm-operator,
|
||||
.cm-s-inner .cm-property {
|
||||
color: #b8bfc6;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-keyword {
|
||||
color: #C88FD0;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-tag {
|
||||
color: #7DF46A;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-attribute {
|
||||
color: #7575E4;
|
||||
}
|
||||
|
||||
.CodeMirror div.CodeMirror-cursor {
|
||||
border-left: 1px solid #b8bfc6;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-string {
|
||||
color: #D26B6B;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-comment,
|
||||
.cm-s-inner.cm-comment {
|
||||
color: #DA924A;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-header,
|
||||
.cm-s-inner .cm-def,
|
||||
.cm-s-inner.cm-header,
|
||||
.cm-s-inner.cm-def {
|
||||
color: #8d8df0;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-quote,
|
||||
.cm-s-inner.cm-quote {
|
||||
color: #57ac57;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-hr {
|
||||
color: #d8d5d5;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-link {
|
||||
color: #d3d3ef;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-negative {
|
||||
color: #d95050;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-positive {
|
||||
color: #50e650;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-string-2 {
|
||||
color: #f50;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-meta,
|
||||
.cm-s-inner .cm-qualifier {
|
||||
color: #b7b3b3;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-builtin {
|
||||
color: #f3b3f8;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-bracket {
|
||||
color: #997;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-atom,
|
||||
.cm-s-inner.cm-atom {
|
||||
color: #84B6CB;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-number {
|
||||
color: #64AB8F;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-variable {
|
||||
color: #b8bfc6;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-variable-2 {
|
||||
color: #9FBAD5;
|
||||
}
|
||||
|
||||
.cm-s-inner .cm-variable-3 {
|
||||
color: #1cc685;
|
||||
}
|
||||
|
||||
.CodeMirror-selectedtext,
|
||||
.CodeMirror-selected {
|
||||
background: #4a89dc;
|
||||
color: #fff !important;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.CodeMirror-gutters {
|
||||
border-right: none;
|
||||
}
|
1
night/credit.html
Normal file
1
night/credit.html
Normal file
@ -0,0 +1 @@
|
||||
<div>Icons made by <a href="http://www.freepik.com" title="Freepik">Freepik</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a> is licensed by <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a></div>
|
BIN
night/cursor.png
Normal file
BIN
night/cursor.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 372 B |
BIN
night/cursor@2x.png
Normal file
BIN
night/cursor@2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 407 B |
7
night/mermaid.dark.css
Normal file
7
night/mermaid.dark.css
Normal file
@ -0,0 +1,7 @@
|
||||
:root {
|
||||
--mermaid-theme: night;
|
||||
}
|
||||
|
||||
[lang='mermaid'] .label {
|
||||
color: #333;
|
||||
}
|
38
night/sourcemode.dark.css
Normal file
38
night/sourcemode.dark.css
Normal file
@ -0,0 +1,38 @@
|
||||
@charset "UTF-8";
|
||||
/* CSS Document */
|
||||
|
||||
/** markdown source **/
|
||||
.cm-s-typora-default .cm-header,
|
||||
.cm-s-typora-default .cm-property
|
||||
{
|
||||
color: #cebcca;
|
||||
}
|
||||
|
||||
.CodeMirror.cm-s-typora-default div.CodeMirror-cursor{
|
||||
border-left: 3px solid #b8bfc6;
|
||||
}
|
||||
|
||||
.cm-s-typora-default .cm-comment {
|
||||
color: #9FB1FF;
|
||||
}
|
||||
|
||||
.cm-s-typora-default .cm-string {
|
||||
color: #A7A7D9
|
||||
}
|
||||
|
||||
.cm-s-typora-default .cm-atom, .cm-s-typora-default .cm-number {
|
||||
color: #848695;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.cm-s-typora-default .cm-link {
|
||||
color: #95B94B;
|
||||
}
|
||||
|
||||
.cm-s-typora-default .CodeMirror-activeline-background {
|
||||
background: rgba(51, 51, 51, 0.72);
|
||||
}
|
||||
|
||||
.cm-s-typora-default .cm-comment, .cm-s-typora-default .cm-code {
|
||||
color: #8aa1e1;
|
||||
}
|
Loading…
Reference in New Issue
Block a user