diff --git a/.config/Typora/themes/Readme.md b/.config/Typora/themes/Readme.md new file mode 100644 index 00000000..d662036c --- /dev/null +++ b/.config/Typora/themes/Readme.md @@ -0,0 +1,4 @@ +The built-in CSS will be replaced after update / reinstall, DO NOT MODIFY THEM. + +Refer https://support.typora.io/Add-Custom-CSS/ when you want to modify those CSS. +Refer https://support.typora.io/About-Themes/ if you want to create / install new themes. \ No newline at end of file diff --git a/.config/Typora/themes/github.css b/.config/Typora/themes/github.css new file mode 100644 index 00000000..a77ec26b --- /dev/null +++ b/.config/Typora/themes/github.css @@ -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)); +} diff --git a/.config/Typora/themes/github/open-sans-v17-latin-ext_latin-700.woff2 b/.config/Typora/themes/github/open-sans-v17-latin-ext_latin-700.woff2 new file mode 100644 index 00000000..c824c315 Binary files /dev/null and b/.config/Typora/themes/github/open-sans-v17-latin-ext_latin-700.woff2 differ diff --git a/.config/Typora/themes/github/open-sans-v17-latin-ext_latin-700italic.woff2 b/.config/Typora/themes/github/open-sans-v17-latin-ext_latin-700italic.woff2 new file mode 100644 index 00000000..4115f249 Binary files /dev/null and b/.config/Typora/themes/github/open-sans-v17-latin-ext_latin-700italic.woff2 differ diff --git a/.config/Typora/themes/github/open-sans-v17-latin-ext_latin-italic.woff2 b/.config/Typora/themes/github/open-sans-v17-latin-ext_latin-italic.woff2 new file mode 100644 index 00000000..7584008a Binary files /dev/null and b/.config/Typora/themes/github/open-sans-v17-latin-ext_latin-italic.woff2 differ diff --git a/.config/Typora/themes/github/open-sans-v17-latin-ext_latin-regular.woff2 b/.config/Typora/themes/github/open-sans-v17-latin-ext_latin-regular.woff2 new file mode 100644 index 00000000..9b582203 Binary files /dev/null and b/.config/Typora/themes/github/open-sans-v17-latin-ext_latin-regular.woff2 differ diff --git a/.config/Typora/themes/newsprint.css b/.config/Typora/themes/newsprint.css new file mode 100644 index 00000000..8ebf8a3d --- /dev/null +++ b/.config/Typora/themes/newsprint.css @@ -0,0 +1,612 @@ +/* meyer reset -- http://meyerweb.com/eric/tools/css/reset/ , v2.0 | 20110126 | License: none (public domain) */ + +@include-when-export url(https://fonts.loli.net/css?family=PT+Serif:400,400italic,700,700italic&subset=latin,cyrillic-ext,cyrillic,latin-ext); + +/* =========== */ + +/* pt-serif-regular - latin */ +@font-face { + font-family: 'PT Serif'; + font-style: normal; + font-weight: normal; + src: local('PT Serif'), local('PTSerif-Regular'), url('./newsprint/pt-serif-v11-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; +} +/* pt-serif-italic - latin */ +@font-face { + font-family: 'PT Serif'; + font-style: italic; + font-weight: normal; + src: local('PT Serif Italic'), local('PTSerif-Italic'), url('./newsprint/pt-serif-v11-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; +} +/* pt-serif-700 - latin */ +@font-face { + font-family: 'PT Serif'; + font-style: normal; + font-weight: bold; + src: local('PT Serif Bold'), local('PTSerif-Bold'), url('./newsprint/pt-serif-v11-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; +} +/* pt-serif-700italic - latin */ +@font-face { + font-family: 'PT Serif'; + font-style: italic; + font-weight: bold; + src: local('PT Serif Bold Italic'), local('PTSerif-BoldItalic'), url('./newsprint/pt-serif-v11-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; +} + +:root { + --active-file-bg-color: #dadada; + --active-file-bg-color: rgba(32, 43, 51, 0.63); + --active-file-text-color: white; + --bg-color: #f3f2ee; + --text-color: #1f0909; + --control-text-color: #444; + --rawblock-edit-panel-bd: #e5e5e5; + + --select-text-bg-color: rgba(32, 43, 51, 0.63); + --select-text-font-color: white; +} + +pre { + --select-text-bg-color: #36284e; + --select-text-font-color: #fff; +} + +html { + font-size: 16px; + -webkit-font-smoothing: antialiased; +} + +html, body { + background-color: #f3f2ee; + font-family: "PT Serif", 'Times New Roman', Times, serif; + color: #1f0909; + line-height: 1.5em; +} + +/*#write { + overflow-x: auto; + max-width: initial; + padding-left: calc(50% - 17em); + padding-right: calc(50% - 17em); +} + +@media (max-width: 36em) { + #write { + padding-left: 1em; + padding-right: 1em; + } +}*/ + +#write { + max-width: 40em; +} + +@media only screen and (min-width: 1400px) { + #write { + max-width: 914px; + } +} + +ol li { + list-style-type: decimal; + list-style-position: outside; +} +ul li { + list-style-type: disc; + list-style-position: outside; +} + +ol, +ul { + list-style: none; +} + +blockquote, +q { + quotes: none; +} +blockquote:before, +blockquote:after, +q:before, +q:after { + content: ''; + content: none; +} +table { + border-collapse: collapse; + border-spacing: 0; +} +/* styles */ + +/* ====== */ + +/* headings */ + +h1, +h2, +h3, +h4, +h5, +h6 { + font-weight: bold; +} +h1 { + font-size: 1.875em; + /*30 / 16*/ + line-height: 1.6em; + /* 48 / 30*/ + margin-top: 2em; +} +h2, +h3 { + font-size: 1.3125em; + /*21 / 16*/ + line-height: 1.15; + /*24 / 21*/ + margin-top: 2.285714em; + /*48 / 21*/ + margin-bottom: 1.15em; + /*24 / 21*/ +} +h3 { + font-weight: normal; +} +h4 { + font-size: 1.125em; + /*18 / 16*/ + margin-top: 2.67em; + /*48 / 18*/ +} +h5, +h6 { + font-size: 1em; + /*16*/ +} +h1 { + border-bottom: 1px solid; + margin-bottom: 1.875em; + padding-bottom: 0.8125em; +} +/* links */ + +a { + text-decoration: none; + color: #065588; +} +a:hover, +a:active { + text-decoration: underline; +} +/* block spacing */ + +p, +blockquote, +.md-fences { + margin-bottom: 1.5em; +} +h1, +h2, +h3, +h4, +h5, +h6 { + margin-bottom: 1.5em; +} +/* blockquote */ + +blockquote { + font-style: italic; + border-left: 5px solid; + margin-left: 2em; + padding-left: 1em; +} +/* lists */ + +ul, +ol { + margin: 0 0 1.5em 1.5em; +} +/* tables */ +.md-meta,.md-before, .md-after { + color:#999; +} + +table { + margin-bottom: 1.5em; + /*24 / 16*/ + font-size: 1em; + /* width: 100%; */ +} +thead th, +tfoot th { + padding: .25em .25em .25em .4em; + text-transform: uppercase; +} +th { + text-align: left; +} +td { + vertical-align: top; + padding: .25em .25em .25em .4em; +} + +code, +.md-fences { + background-color: #dadada; +} + +code { + padding-left: 2px; + padding-right: 2px; +} + +.md-fences { + margin-left: 2em; + margin-bottom: 3em; + padding-left: 1ch; + padding-right: 1ch; +} + +pre, +code, +tt { + font-size: .875em; + line-height: 1.714285em; +} +/* some fixes */ + +h1 { + line-height: 1.3em; + font-weight: normal; + margin-bottom: 0.5em; +} + +p + ul, +p + ol{ + margin-top: .5em; +} + +h3 + ul, +h4 + ul, +h5 + ul, +h6 + ul, +h3 + ol, +h4 + ol, +h5 + ol, +h6 + ol { + margin-top: .5em; +} + +li > ul, +li > ol { + margin-top: inherit; + margin-bottom: 0; +} + +li ol>li { + list-style-type: lower-alpha; +} + +li li ol>li{ + list-style-type: lower-roman; +} + +h2, +h3 { + margin-bottom: .75em; +} +hr { + border-top: none; + border-right: none; + border-bottom: 1px solid; + border-left: none; +} +h1 { + border-color: #c5c5c5; +} +blockquote { + border-color: #bababa; + color: #656565; +} + +blockquote ul, +blockquote ol { + margin-left:0; +} + +.ty-table-edit { + background-color: transparent; +} +thead { + background-color: #dadada; +} +tr:nth-child(even) { + background: #e8e7e7; +} +hr { + border-color: #c5c5c5; +} +.task-list{ + padding-left: 1rem; +} + +.md-task-list-item { + padding-left: 1.5rem; + list-style-type: none; +} + +.md-task-list-item > input:before { + content: '\221A'; + display: inline-block; + width: 1.25rem; + height: 1.6rem; + vertical-align: middle; + text-align: center; + color: #ddd; + background-color: #F3F2EE; +} + +.md-task-list-item > input:checked:before, +.md-task-list-item > input[checked]:before{ + color: inherit; +} + +#write pre.md-meta-block { + min-height: 1.875rem; + color: #555; + border: 0px; + background: transparent; + margin-top: -4px; + margin-left: 1em; + margin-top: 1em; +} + +.md-image>.md-meta { + color: #9B5146; +} + +.md-image>.md-meta{ + font-family: Menlo, 'Ubuntu Mono', Consolas, 'Courier New', 'Microsoft Yahei', 'Hiragino Sans GB', 'WenQuanYi Micro Hei', serif; +} + + +#write>h3.md-focus:before{ + left: -1.5rem; + color:#999; + border-color:#999; +} +#write>h4.md-focus:before{ + left: -1.5rem; + top: .25rem; + color:#999; + border-color:#999; +} +#write>h5.md-focus:before{ + left: -1.5rem; + top: .0.3125rem; + color:#999; + border-color:#999; +} +#write>h6.md-focus:before{ + left: -1.5rem; + top: 0.3125rem; + color:#999; + border-color:#999; +} + +.md-toc:focus .md-toc-content{ + margin-top: 19px; +} + +.md-toc-content:empty:before{ + color: #065588; +} +.md-toc-item { + color: #065588; +} +#write div.md-toc-tooltip { + background-color: #f3f2ee; +} + +#typora-sidebar { + background-color: #f3f2ee; + -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.375); + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.375); +} + +.pin-outline #typora-sidebar { + background: inherit; + box-shadow: none; + border-right: 1px dashed; +} + +.pin-outline #typora-sidebar:hover .outline-title-wrapper { + border-left:1px dashed; +} + +.outline-item:hover { + background-color: #dadada; + border-left: 28px solid #dadada; + border-right: 18px solid #dadada; +} + +.typora-node .outline-item:hover { + border-right: 28px solid #dadada; +} + +.outline-expander:before { + content: "\f0da"; + font-family: FontAwesome; + font-size:14px; + top: 1px; +} + +.outline-expander:hover:before, +.outline-item-open>.outline-item>.outline-expander:before { + content: "\f0d7"; +} + +.modal-content { + background-color: #f3f2ee; +} + +.auto-suggest-container ul li { + list-style-type: none; +} + +/** UI for electron */ + +.megamenu-menu, +#top-titlebar, #top-titlebar *, +.megamenu-content { + background: #f3f2ee; + color: #1f0909; +} + +.megamenu-menu-header { + border-bottom: 1px dashed #202B33; +} + +.megamenu-menu { + box-shadow: none; + border-right: 1px dashed; +} + +header, .context-menu, .megamenu-content, footer { + font-family: "PT Serif", 'Times New Roman', Times, serif; + color: #1f0909; +} + +#megamenu-back-btn { + color: #1f0909; + border-color: #1f0909; +} + +.megamenu-menu-header #megamenu-menu-header-title:before { + color: #1f0909; +} + +.megamenu-menu-list li a:hover, .megamenu-menu-list li a.active { + color: inherit; + background-color: #e8e7df; +} + +.long-btn:hover { + background-color: #e8e7df; +} + +#recent-file-panel tbody tr:nth-child(2n-1) { + background-color: transparent !important; +} + +.megamenu-menu-panel tbody tr:hover td:nth-child(2) { + color: inherit; +} + +.megamenu-menu-panel .btn { + background-color: #D2D1D1; +} + +.btn-default { + background-color: transparent; +} + +.typora-sourceview-on #toggle-sourceview-btn, +.ty-show-word-count #footer-word-count { + background: #c7c5c5; +} + +#typora-quick-open { + background-color: inherit; +} + +.md-diagram-panel { + margin-top: 8px; +} + +.file-list-item-file-name { + font-weight: initial; +} + +.file-list-item-summary { + opacity: 1; +} + +.file-list-item { + color: #777; +} + +.file-list-item.active { + background-color: inherit; + color: black; +} + +.ty-side-sort-btn.active { + background-color: inherit; +} + +.file-list-item.active .file-list-item-file-name { + font-weight: bold; +} + +.file-list-item{ + opacity:1 !important; +} + +.file-library-node.active>.file-node-background{ + background-color: rgba(32, 43, 51, 0.63); + background-color: var(--active-file-bg-color); +} + +.file-tree-node.active>.file-node-content{ + color: white; + color: var(--active-file-text-color); +} + +.md-task-list-item>input { + margin-left: -1.7em; + margin-top: calc(1rem - 12px); +} + +input { + border: 1px solid #aaa; +} + +.megamenu-menu-header #megamenu-menu-header-title, +.megamenu-menu-header:hover, +.megamenu-menu-header:focus { + color: inherit; +} + +.dropdown-menu .divider { + border-color: #e5e5e5; + opacity: 1; +} + +/* https://github.com/typora/typora-issues/issues/2046 */ +.os-windows-7 strong, +.os-windows-7 strong { + font-weight: 760; +} + +.ty-preferences .btn-default { + background: transparent; +} + +.ty-preferences .window-header { + border-bottom: 1px dashed #202B33; + box-shadow: none; +} + +#sidebar-loading-template, #sidebar-loading-template.file-list-item { + color: #777; +} + +.searchpanel-search-option-btn.active { + background: #777; + color: white; +} \ No newline at end of file diff --git a/.config/Typora/themes/newsprint/pt-serif-v11-latin-700.woff2 b/.config/Typora/themes/newsprint/pt-serif-v11-latin-700.woff2 new file mode 100644 index 00000000..6f6553d5 Binary files /dev/null and b/.config/Typora/themes/newsprint/pt-serif-v11-latin-700.woff2 differ diff --git a/.config/Typora/themes/newsprint/pt-serif-v11-latin-700italic.woff2 b/.config/Typora/themes/newsprint/pt-serif-v11-latin-700italic.woff2 new file mode 100644 index 00000000..010abc98 Binary files /dev/null and b/.config/Typora/themes/newsprint/pt-serif-v11-latin-700italic.woff2 differ diff --git a/.config/Typora/themes/newsprint/pt-serif-v11-latin-italic.woff2 b/.config/Typora/themes/newsprint/pt-serif-v11-latin-italic.woff2 new file mode 100644 index 00000000..79c6becd Binary files /dev/null and b/.config/Typora/themes/newsprint/pt-serif-v11-latin-italic.woff2 differ diff --git a/.config/Typora/themes/newsprint/pt-serif-v11-latin-regular.woff2 b/.config/Typora/themes/newsprint/pt-serif-v11-latin-regular.woff2 new file mode 100644 index 00000000..6e045213 Binary files /dev/null and b/.config/Typora/themes/newsprint/pt-serif-v11-latin-regular.woff2 differ diff --git a/.config/Typora/themes/night.css b/.config/Typora/themes/night.css new file mode 100644 index 00000000..e84b1464 --- /dev/null +++ b/.config/Typora/themes/night.css @@ -0,0 +1,1017 @@ +@import "night/mermaid.dark.css"; +@import "night/codeblock.dark.css"; +@import "night/sourcemode.dark.css"; + +:root { + --bg-color: #363B40; + --side-bar-bg-color: #2E3033; + --text-color: #b8bfc6; + + --select-text-bg-color:#4a89dc; + + --item-hover-bg-color: #0a0d16; + --control-text-color: #b7b7b7; + --control-text-hover-color: #eee; + --window-border: 1px solid #555; + + --active-file-bg-color: rgb(34, 34, 34); + --active-file-border-color: #8d8df0; + + --primary-color: #a3d5fe; + + --active-file-text-color: white; + --item-hover-bg-color: #70717d; + --item-hover-text-color: white; + --primary-color: #6dc1e7; + + --rawblock-edit-panel-bd: #333; + + --search-select-bg-color: #428bca; +} + +html { + font-size: 16px; + -webkit-font-smoothing: antialiased; +} + +html, +body { + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; + background: #363B40; + background: var(--bg-color); + fill: currentColor; + line-height: 1.625rem; +} + +#write { + max-width: 914px; +} + + +@media only screen and (min-width: 1400px) { + #write { + max-width: 1024px; + } +} + +@media only screen and (min-width: 1800px) { + #write { + max-width: 1200px; + } +} + +html, +body, +button, +input, +select, +textarea, +div.code-tooltip-content { + color: #b8bfc6; + border-color: transparent; +} + +div.code-tooltip, +.md-hover-tip .md-arrow:after { + background: #333; +} + +.native-window #md-notification { + border: 1px solid #70717d; +} + +.popover.bottom > .arrow:after { + border-bottom-color: #333; +} + +html, +body, +button, +input, +select, +textarea { + font-family: "Helvetica Neue", Helvetica, Arial, 'Segoe UI Emoji', sans-serif; +} + +hr { + height: 2px; + border: 0; + margin: 24px 0 !important; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + font-family: "Lucida Grande", "Corbel", sans-serif; + font-weight: normal; + clear: both; + -ms-word-wrap: break-word; + word-wrap: break-word; + margin: 0; + padding: 0; + color: #DEDEDE +} + +h1 { + font-size: 2.5rem; + /* 36px */ + line-height: 2.75rem; + /* 40px */ + margin-bottom: 1.5rem; + /* 24px */ + letter-spacing: -1.5px; +} + +h2 { + font-size: 1.63rem; + /* 24px */ + line-height: 1.875rem; + /* 30px */ + margin-bottom: 1.5rem; + /* 24px */ + letter-spacing: -1px; + font-weight: bold; +} + +h3 { + font-size: 1.17rem; + /* 18px */ + line-height: 1.5rem; + /* 24px */ + margin-bottom: 1.5rem; + /* 24px */ + letter-spacing: -1px; + font-weight: bold; +} + +h4 { + font-size: 1.12rem; + /* 16px */ + line-height: 1.375rem; + /* 22px */ + margin-bottom: 1.5rem; + /* 24px */ + color: white; +} + +h5 { + font-size: 0.97rem; + /* 16px */ + line-height: 1.25rem; + /* 22px */ + margin-bottom: 1.5rem; + /* 24px */ + font-weight: bold; +} + +h6 { + font-size: 0.93rem; + /* 16px */ + line-height: 1rem; + /* 16px */ + margin-bottom: 0.75rem; + color: white; +} + +@media (min-width: 980px) { + h3.md-focus:before, + h4.md-focus:before, + h5.md-focus:before, + h6.md-focus:before { + color: #ddd; + border: 1px solid #ddd; + border-radius: 3px; + position: absolute; + left: -1.642857143rem; + top: .357142857rem; + float: left; + font-size: 9px; + padding-left: 2px; + padding-right: 2px; + vertical-align: bottom; + font-weight: normal; + line-height: normal; + } + + h3.md-focus:before { + content: 'h3'; + } + + h4.md-focus:before { + content: 'h4'; + } + + h5.md-focus:before { + content: 'h5'; + top: 0px; + } + + h6.md-focus:before { + content: 'h6'; + top: 0px; + } +} + +a { + text-decoration: none; + outline: 0; +} + +a:hover { + outline: 0; +} + +a:focus { + outline: thin dotted; +} + +sup.md-footnote { + background-color: #555; + color: #ddd; +} + +p { + -ms-word-wrap: break-word; + word-wrap: break-word; +} + +p, +ul, +dd, +ol, +hr, +address, +pre, +table, +iframe, +.wp-caption, +.wp-audio-shortcode, +.wp-video-shortcode { + margin-top: 0; + margin-bottom: 1.5rem; + /* 24px */ +} + +audio:not([controls]) { + display: none; +} + +[hidden] { + display: none; +} + +::-moz-selection { + background: #4a89dc; + color: #fff; + text-shadow: none; +} + +*.in-text-selection, +::selection { + background: #4a89dc; + color: #fff; + text-shadow: none; +} + +ul, +ol { + padding: 0 0 0 1.875rem; + /* 30px */ +} + +ul { + list-style: square; +} + +ol { + list-style: decimal; +} + +ul ul, +ol ol, +ul ol, +ol ul { + margin: 0; +} + +b, +th, +dt, +strong { + font-weight: bold; +} + +i, +em, +dfn, +cite { + font-style: italic; +} + +blockquote { + padding-left: 1.875rem; + margin: 0 0 1.875rem 1.875rem; + border-left: solid 2px #474d54; + padding-left: 30px; + margin-top: 35px; +} + +pre, +code, +kbd, +tt, +var { + font-size: 0.875em; + font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; +} + +code, +tt, +var { + background: rgba(0, 0, 0, 0.05); +} + +kbd { + padding: 2px 4px; + font-size: 90%; + color: #fff; + background-color: #333; + border-radius: 3px; + box-shadow: inset 0 -1px 0 rgba(0,0,0,.25); +} + +pre.md-fences { + padding: 10px 10px 10px 30px; + margin-bottom: 20px; + background: #333; +} + +.CodeMirror-gutters { + background: #333; + border-right: 1px solid transparent; +} + +.enable-diagrams pre.md-fences[lang="sequence"] .code-tooltip, +.enable-diagrams pre.md-fences[lang="flow"] .code-tooltip, +.enable-diagrams pre.md-fences[lang="mermaid"] .code-tooltip { + bottom: -2.2em; + right: 4px; +} + +code, +kbd, +tt, +var { + padding: 2px 5px; +} + +table { + max-width: 100%; + width: 100%; + border-collapse: collapse; + border-spacing: 0; +} + +th, +td { + padding: 5px 10px; + vertical-align: top; +} + +a { + -webkit-transition: all .2s ease-in-out; + transition: all .2s ease-in-out; +} + +hr { + background: #474d54; + /* variable */ +} + +h1 { + margin-top: 2em; +} + +a { + color: #e0e0e0; + text-decoration: underline; +} + +a:hover { + color: #fff; +} + +.md-inline-math script { + color: #81b1db; +} + +b, +th, +dt, +strong { + color: #DEDEDE; + /* variable */ +} + +mark { + background: #D3D40E; +} + +blockquote { + color: #9DA2A6; +} + +table a { + color: #DEDEDE; + /* variable */ +} + +th, +td { + border: solid 1px #474d54; + /* variable */ +} + +.task-list { + padding-left: 0; +} + +.md-task-list-item { + padding-left: 1.25rem; +} + +.md-task-list-item > input { + top: auto; +} + +.md-task-list-item > input:before { + content: ""; + display: inline-block; + width: 0.875rem; + height: 0.875rem; + vertical-align: middle; + text-align: center; + border: 1px solid #b8bfc6; + background-color: #363B40; + margin-top: -0.4rem; +} + +.md-task-list-item > input:checked:before, +.md-task-list-item > input[checked]:before { + content: '\221A'; + /*◘*/ + font-size: 0.625rem; + line-height: 0.625rem; + color: #DEDEDE; +} + +/** quick open **/ +.auto-suggest-container { + border: 0px; + background-color: #525C65; +} + +#typora-quick-open { + background-color: #525C65; +} + +#typora-quick-open input{ + background-color: #525C65; + border: 0; + border-bottom: 1px solid grey; +} + +.typora-quick-open-item { + background-color: inherit; + color: inherit; +} + +.typora-quick-open-item.active, +.typora-quick-open-item:hover { + background-color: #4D8BDB; + color: white; +} + +.typora-quick-open-item:hover { + background-color: rgba(77, 139, 219, 0.8); +} + +.typora-search-spinner > div { + background-color: #fff; +} + +#write pre.md-meta-block { + border-bottom: 1px dashed #ccc; + background: transparent; + padding-bottom: 0.6em; + line-height: 1.6em; +} + +.btn, +.btn .btn-default { + background: transparent; + color: #b8bfc6; +} + +.ty-table-edit { + border-top: 1px solid gray; + background-color: #363B40; +} + +.popover-title { + background: transparent; +} + +.md-image>.md-meta { + color: #BBBBBB; + background: transparent; +} + +.md-expand.md-image>.md-meta { + color: #DDD; +} + +#write>h3:before, +#write>h4:before, +#write>h5:before, +#write>h6:before { + border: none; + border-radius: 0px; + color: #888; + text-decoration: underline; + left: -1.4rem; + top: 0.2rem; +} + +#write>h3.md-focus:before { + top: 2px; +} + +#write>h4.md-focus:before { + top: 2px; +} + +.md-toc-item { + color: #A8C2DC; +} + +#write div.md-toc-tooltip { + background-color: #363B40; +} + +.dropdown-menu .btn:hover, +.dropdown-menu .btn:focus, +.md-toc .btn:hover, +.md-toc .btn:focus { + color: white; + background: black; +} + +#toc-dropmenu { + background: rgba(50, 54, 59, 0.93); + border: 1px solid rgba(253, 253, 253, 0.15); +} + +#toc-dropmenu .divider { + background-color: #9b9b9b; +} + +.outline-expander:before { + top: 2px; +} + +#typora-sidebar { + box-shadow: none; + border-right: 1px dashed; + border-right: none; +} + +.sidebar-tabs { + border-bottom:0; +} + +#typora-sidebar:hover .outline-title-wrapper { + border-left: 1px dashed; +} + +.outline-title-wrapper .btn { + color: inherit; +} + +.outline-item:hover { + border-color: #363B40; + background-color: #363B40; + color: white; +} + +h1.md-focus .md-attr, +h2.md-focus .md-attr, +h3.md-focus .md-attr, +h4.md-focus .md-attr, +h5.md-focus .md-attr, +h6.md-focus .md-attr, +.md-header-span .md-attr { + color: #8C8E92; + display: inline; +} + +.md-comment { + color: #5a95e3; + opacity: 0.8; +} + +.md-inline-math svg { + color: #b8bfc6; +} + +#math-inline-preview .md-arrow:after { + background: black; +} + +.modal-content { + background: var(--bg-color); + border: 0; +} + +.modal-title { + font-size: 1.5em; +} + +.modal-content input { + background-color: rgba(26, 21, 21, 0.51); + color: white; +} + +.modal-content .input-group-addon { + color: white; +} + +.modal-backdrop { + background-color: rgba(174, 174, 174, 0.7); +} + +.modal-content .btn-primary { + border-color: var(--primary-color); +} + +.md-table-resize-popover { + background-color: #333; +} + +.form-inline .input-group .input-group-addon { + color: white; +} + +#md-searchpanel { + border-bottom: 1px dashed grey; +} + +/** UI for electron */ + +.context-menu, +#spell-check-panel, +#footer-word-count-info { + background-color: #42464A; +} + +.context-menu.dropdown-menu .divider, +.dropdown-menu .divider { + background-color: #777777; + opacity: 1; +} + +footer { + color: inherit; +} + +@media (max-width: 1000px) { + footer { + border-top: none; + } + footer:hover { + color: inherit; + } +} + +#file-info-file-path .file-info-field-value:hover { + background-color: #555; + color: #dedede; +} + +.megamenu-content, +.megamenu-opened header { + background: var(--bg-color); +} + +.megamenu-menu-panel h2, +.megamenu-menu-panel h1, +.long-btn { + color: inherit; +} + +.megamenu-menu-panel input[type='text'] { + background: inherit; + border: 0; + border-bottom: 1px solid; +} + +#recent-file-panel-action-btn { + background: inherit; + border: 1px grey solid; +} + +.megamenu-menu-panel .dropdown-menu > li > a { + color: inherit; + background-color: #2F353A; + text-decoration: none; +} + +.megamenu-menu-panel table td:nth-child(1) { + color: inherit; + font-weight: bold; +} + +.megamenu-menu-panel tbody tr:hover td:nth-child(1) { + color: white; +} + +.modal-footer .btn-default, +.modal-footer .btn-primary, +.modal-footer .btn-default:not(:hover) { + border: 1px solid; + border-color: transparent; +} + +.btn-primary { + color: white; +} + +.btn-default:hover, .btn-default:focus, .btn-default.focus, .btn-default:active, .btn-default.active, .open > .dropdown-toggle.btn-default { + color: white; + border: 1px solid #ddd; + background-color: inherit; +} + +.modal-header { + border-bottom: 0; +} + +.modal-footer { + border-top: 0; +} + +#recent-file-panel tbody tr:nth-child(2n-1) { + background-color: transparent !important; +} + +.megamenu-menu-panel tbody tr:hover td:nth-child(2) { + color: inherit; +} + +.megamenu-menu-panel .btn { + border: 1px solid #eee; + background: transparent; +} + +.mouse-hover .toolbar-icon.btn:hover, +#w-full.mouse-hover, +#w-pin.mouse-hover { + background-color: inherit; +} + +.typora-node::-webkit-scrollbar { + width: 5px; +} + +.typora-node::-webkit-scrollbar-thumb:vertical { + background: rgba(250, 250, 250, 0.3); +} + +.typora-node::-webkit-scrollbar-thumb:vertical:active { + background: rgba(250, 250, 250, 0.5); +} + +#w-unpin { + background-color: #4182c4; +} + +#top-titlebar, #top-titlebar * { + color: var(--item-hover-text-color); +} + +.typora-sourceview-on #toggle-sourceview-btn, +#footer-word-count:hover, +.ty-show-word-count #footer-word-count { + background: #333333; +} + +#toggle-sourceview-btn:hover { + color: #eee; + background: #333333; +} + +/** focus mode */ +.on-focus-mode .md-end-block:not(.md-focus):not(.md-focus-container) * { + color: #686868 !important; +} + +.on-focus-mode .md-end-block:not(.md-focus) img, +.on-focus-mode .md-task-list-item:not(.md-focus-container)>input { + opacity: #686868 !important; +} + +.on-focus-mode li[cid]:not(.md-focus-container){ + color: #686868; +} + +.on-focus-mode .md-fences.md-focus .CodeMirror-code>*:not(.CodeMirror-activeline) *, +.on-focus-mode .CodeMirror.cm-s-inner:not(.CodeMirror-focused) * { + color: #686868 !important; +} + +.on-focus-mode .md-focus, +.on-focus-mode .md-focus-container { + color: #fff; +} + +.on-focus-mode #typora-source .CodeMirror-code>*:not(.CodeMirror-activeline) * { + color: #686868 !important; +} + + +/*diagrams*/ +#write .md-focus .md-diagram-panel { + border: 1px solid #ddd; + margin-left: -1px; + width: calc(100% + 2px); +} + +/*diagrams*/ +#write .md-focus.md-fences-with-lineno .md-diagram-panel { + margin-left: auto; +} + +.md-diagram-panel-error { + color: #f1908e; +} + +.active-tab-files #info-panel-tab-file, +.active-tab-files #info-panel-tab-file:hover, +.active-tab-outline #info-panel-tab-outline, +.active-tab-outline #info-panel-tab-outline:hover { + color: #eee; +} + +.sidebar-footer-item:hover, +.footer-item:hover { + background: inherit; + color: white; +} + +.ty-side-sort-btn.active, +.ty-side-sort-btn:hover, +.selected-folder-menu-item a:after { + color: white; +} + +#sidebar-files-menu { + border:solid 1px; + box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.79); + background-color: var(--bg-color); +} + +.file-list-item { + border-bottom:none; +} + +.file-list-item-summary { + opacity: 1; +} + +.file-list-item.active:first-child { + border-top: none; +} + +.file-node-background { + height: 32px; +} + +.file-library-node.active>.file-node-content, +.file-list-item.active { + color: white; + color: var(--active-file-text-color); +} + +.file-library-node.active>.file-node-background{ + background-color: rgb(34, 34, 34); + background-color: var(--active-file-bg-color); +} +.file-list-item.active { + background-color: rgb(34, 34, 34); + background-color: var(--active-file-bg-color); +} + +#ty-tooltip { + background-color: black; + color: #eee; +} + +.md-task-list-item>input { + margin-left: -1.3em; + margin-top: 0.3rem; + -webkit-appearance: none; +} + +.md-mathjax-midline { + background-color: #57616b; + border-bottom: none; +} + +footer.ty-footer { + border-color: #656565; +} + +.ty-preferences .btn-default { + background: transparent; +} +.ty-preferences .btn-default:hover { + background: #57616b; +} + +.ty-preferences select { + border: 1px solid #989698; + height: 21px; +} + +.ty-preferences .nav-group-item.active, +.export-item.active, +.export-items-list-control, +.export-detail { + background: var(--item-hover-bg-color); +} + +.ty-preferences input[type="search"] { + border-color: #333; + background: #333; + line-height: 22px; + border-radius: 6px; + color: white; +} + +.ty-preferences input[type="search"]:focus { + box-shadow: none; +} + +[data-is-directory="true"] .file-node-content { + margin-bottom: 0; +} + +.file-node-title { + line-height: 22px; +} + +.html-for-mac .file-node-open-state, .html-for-mac .file-node-icon { + line-height: 26px; +} + +::-webkit-scrollbar-thumb { + background: rgba(230, 230, 230, 0.30); +} + +::-webkit-scrollbar-thumb:active { + background: rgba(230, 230, 230, 0.50); +} + +#typora-sidebar:hover div.sidebar-content-content::-webkit-scrollbar-thumb:horizontal { + background: rgba(230, 230, 230, 0.30); +} + +.nav-group-item:active { + background-color: #474d54 !important; +} + +.md-search-hit { + background: rgba(199, 140, 60, 0.81); + color: #eee; +} + +.md-search-hit * { + color: #eee; +} + +#md-searchpanel input { + color: white; +} + +.modal-backdrop.in { + opacity: 1; + backdrop-filter: blur(1px); +} + +.clear-btn-icon { + top: 8px; +} \ No newline at end of file diff --git a/.config/Typora/themes/night/codeblock.dark.css b/.config/Typora/themes/night/codeblock.dark.css new file mode 100644 index 00000000..a1b1bb3a --- /dev/null +++ b/.config/Typora/themes/night/codeblock.dark.css @@ -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; +} \ No newline at end of file diff --git a/.config/Typora/themes/night/credit.html b/.config/Typora/themes/night/credit.html new file mode 100644 index 00000000..00bc43c0 --- /dev/null +++ b/.config/Typora/themes/night/credit.html @@ -0,0 +1 @@ +
Icons made by Freepik from www.flaticon.com is licensed by CC 3.0 BY
\ No newline at end of file diff --git a/.config/Typora/themes/night/cursor.png b/.config/Typora/themes/night/cursor.png new file mode 100644 index 00000000..1cc36292 Binary files /dev/null and b/.config/Typora/themes/night/cursor.png differ diff --git a/.config/Typora/themes/night/cursor@2x.png b/.config/Typora/themes/night/cursor@2x.png new file mode 100644 index 00000000..b8fca0b4 Binary files /dev/null and b/.config/Typora/themes/night/cursor@2x.png differ diff --git a/.config/Typora/themes/night/mermaid.dark.css b/.config/Typora/themes/night/mermaid.dark.css new file mode 100644 index 00000000..a412b301 --- /dev/null +++ b/.config/Typora/themes/night/mermaid.dark.css @@ -0,0 +1,7 @@ +:root { + --mermaid-theme: night; +} + +[lang='mermaid'] .label { + color: #333; +} \ No newline at end of file diff --git a/.config/Typora/themes/night/sourcemode.dark.css b/.config/Typora/themes/night/sourcemode.dark.css new file mode 100644 index 00000000..6de223da --- /dev/null +++ b/.config/Typora/themes/night/sourcemode.dark.css @@ -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; +} \ No newline at end of file diff --git a/.config/Typora/themes/old-themes/github.css b/.config/Typora/themes/old-themes/github.css new file mode 100644 index 00000000..a77ec26b --- /dev/null +++ b/.config/Typora/themes/old-themes/github.css @@ -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)); +} diff --git a/.config/Typora/themes/pixyll.css b/.config/Typora/themes/pixyll.css new file mode 100644 index 00000000..3d0b112c --- /dev/null +++ b/.config/Typora/themes/pixyll.css @@ -0,0 +1,520 @@ +@include-when-export url(https://fonts.loli.net/css?family=Merriweather:900,900italic,300,300italic&subset=latin-ext); +@include-when-export url(https://fonts.loli.net/css?family=Lato:900,300&subset=latin-ext); + +:root { + --control-text-color: #777; +} + +/** + * forked from pixyll.com + * MIT license + */ + +@font-face { + font-family: 'Merriweather'; + font-style: normal; + font-weight: normal; + src: local('Merriweather Light'), local('Merriweather-Light'), url('./pixyll/merriweather-v19-latin-300.woff') format('woff'); + 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; +} +@font-face { + font-family: 'Merriweather'; + font-style: normal; + font-weight: bold; + src: local('Merriweather Heavy'), local('Merriweather-Heavy'), url('./pixyll/merriweather-v19-latin-700.woff') format('woff'); + 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; +} +@font-face { + font-family: 'Merriweather'; + font-style: italic; + font-weight: normal; + src: local('Merriweather Light Italic'), local('Merriweather-LightItalic'), url('./pixyll/merriweather-v19-latin-300italic.woff') format('woff'); + 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; +} +@font-face { + font-family: 'Merriweather'; + font-style: italic; + font-weight: bold; + src: local('Merriweather Heavy Italic'), local('Merriweather-HeavyItalic'), url('./pixyll/merriweather-v19-latin-700italic.woff') format('woff'); + 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; +} + +@font-face { + font-family: 'Lato'; + font-style: normal; + font-weight: normal; + src: local('Lato Light'), local('Lato-Light'), url('./pixyll/lato-v14-latin-300.woff') format('woff'); + 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; +} +@font-face { + font-family: 'Lato'; + font-style: normal; + font-weight: bold; + src: local('Lato Black'), local('Lato-Blcak'), url('./pixyll/lato-v14-latin-900.woff') format('woff'); + 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; +} +@font-face { + font-family: 'Lato'; + font-style: italic; + font-weight: normal; + src: local('Lato LightItalic'), local('Lato-LightItalic'), url('./pixyll/lato-v14-latin-300italic.woff') format('woff'); + 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; +} +@font-face { + font-family: 'Lato'; + font-style: italic; + font-weight: bold; + src: local('Lato BlackItalic'), local('Lato-BlackItalic'), url('./pixyll/lato-v14-latin-900italic.woff') format('woff'); + 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; +} + +h1, +.h1, +.f1 { + font-size: 2rem; + line-height: 2.5rem; +} +h2, +.h2, +.f2 { + font-size: 1.5rem; + line-height: 2rem; +} +h3, +.h3, +.f3 { + font-size: 1.25rem; + line-height: 1.5rem; +} +p, +.p, +.f4, +h4, +h5, +h6, +dl, +ol, +ul, +pre[cid], +div[cid], +#typora-source { + font-size: 1.125rem; + line-height: 1.5rem; +} + +h4 { + font-size: 1.13rem; +} +/* + Pixyll + A simple, beautiful theme for Jekyll that emphasizes content rather than aesthetic fluff. + Best served with BASSCSS (http://jxnblk.github.io/basscss) + Crafted with <3 by John Otander (@4lpine) - ©2015 John Otander MIT License http://opensource.org/licenses/MIT + +*/ + +body { + font-family: "Merriweather", "PT Serif", Georgia, "Times New Roman", "STSong", 'Segoe UI Emoji', Serif; + line-height: 1.5rem; + font-weight: 400; +} + +#write { + max-width: 914px; + color: #333; +} + +@media only screen and (min-width: 1400px) { + #write { + max-width: 1100px; + } +} + +@media only screen and (min-width: 1700px) { + #write { + max-width: 1200px; + } +} + +img { + width: auto; + max-width: 100%; +} +body { + font-size: 1.5rem; + box-sizing: border-box; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; +} + +.ty-table-edit { + background: #ededed; +} + +table { + width: 100%; + font-size: 1.125rem; +} +table > thead > tr > th, +table > thead > tr > td, +table > tbody > tr > th, +table > tbody > tr > td, +table > tfoot > tr > th, +table > tfoot > tr > td { + padding: 12px; + line-height: 1.2; + vertical-align: top; + border-top: 1px solid #333; +} +table > thead > tr > th { + vertical-align: bottom; + border-bottom: 2px solid #333; +} +table > caption + thead > tr:first-child > th, +table > caption + thead > tr:first-child > td, +table > colgroup + thead > tr:first-child > th, +table > colgroup + thead > tr:first-child > td, +table > thead:first-child > tr:first-child > th, +table > thead:first-child > tr:first-child > td { + border-top: 0; +} +table > tbody + tbody { + border-top: 2px solid #333; +} +p { + font-weight: 300; + line-height: 1.5; +} +abbr { + border-bottom: 1px black dotted; + cursor: help; +} +pre, +code { + font-family: Menlo, Monaco, "Courier New", monospace; +} + +code, +.md-fences { + color: #7a7a7a; +} + +.md-fences { + padding: 1.125em; + margin-bottom: 0.88em; + font-size: 1rem; + border: 1px solid #7a7a7a; + padding-bottom: 0.5rem; + padding-top: 0.5rem; +} + +blockquote { + padding: 1.33em; + font-style: italic; + border-left: 5px solid #7a7a7a; + color: #555; +} +blockquote em { + color: #000; +} +blockquote footer { + font-size: .85rem; + font-style: normal; + background-color: #fff; + color: #7a7a7a; + border-color: transparent; +} +h1, +.h1, +h2, +.h2, +h3, +.h3, +h4, +.h4, +h5, +.h5, +h6, +.h6 { + font-family: "Lato", 'Helvetica Neue', Helvetica, sans-serif; + font-weight: bold; + line-height: 1.2; + margin: 1em 0 0.5em; +} +@media screen and (min-width: 48em) { + .h1, + h1 { + font-size: 3.250rem; + } + .h2, + h2 { + font-size: 2.298rem; + } + .h3, + h3 { + font-size: 1.625rem; + } + .h4, + h4 { + font-size: 1.3rem; + } + #write>h4.md-focus:before, + #write>h5.md-focus:before, + #write>h6.md-focus:before{ + top: 1px; + } + .p, + p, + li { + font-size: 1.25rem; + line-height: 1.8; + } + table { + font-size: 1.25rem; + } +} +@media (max-width: 48em) { + blockquote { + margin-left: 1rem; + margin-right: 0; + padding: 0.5em; + } + .h1, + h1 { + font-size: 2.827rem; + } + .h2, + h2 { + font-size: 1.999rem; + } + .h3, + h3 { + font-size: 1.413rem; + } + .h4, + h4 { + font-size: 1.3rem; + } +} +@media screen and (min-width: 64em) { + .h1, + h1 { + font-size: 4.498rem; + } + .h2, + h2 { + font-size: 2.29rem; + } + .h3, + h3 { + font-size: 1.9rem; + } + .h4, + h4 { + font-size: 1.591rem; + } + #write>h4.md-focus:before{ + top:4px; + } +} +a { + color: #463F5C; + text-decoration: underline; +} + +#write { + padding-top: 2rem; +} + +#write pre.md-meta-block { + min-height: 35px; + padding: 0.5em 1em; + white-space: pre; + border: 0px; + + border-left: 30px #f8f8f8 solid; + border-right: 30px #f8f8f8 solid; + width: 100vw; + max-width: calc(100% + 60px); + + margin-left: -30px; + margin-bottom: 2em; + margin-top: -2010px; + padding-top: 2000px; + padding-bottom: 10px; + line-height: 1.5em; + color: #7a7a7a; + background-color: #fafafa; + font-family: 'Lato', 'Helvetica Neue', Helvetica, sans-serif; + font-weight: 300; + clear: both; + padding-left: 0; + font-size:1.125rem; +} +.md-image>.md-meta { + color: #463F5C +} +.footnotes { + font-size:1.1rem; +} +.md-tag { + font-family: 'Lato', 'Helvetica Neue', Helvetica, sans-serif; +} +.code-tooltip { + background: white; +} +.code-tooltip-content { + font-size: 1.1rem; +} + +.task-list{ + padding-left: 0; +} + +.md-task-list-item { + padding-left:34px; +} + +.md-task-list-item > input{ + width: 1.25rem; + height: 1.25rem; + display: block; + -webkit-appearance: initial; + top: -0.2rem; + margin-left: -1.6em; + margin-top: calc(1rem - 7px); + border: none; +} + +.md-task-list-item > input:focus{ + outline: none; + box-shadow: none; +} + +.md-task-list-item > input:before{ + border: 1px solid #555; + border-radius: 1.5rem; + width: 1.5rem; + height: 1.5rem; + background: #fff; + content: ' '; + transition: background-color 200ms ease-in-out; + display: block; +} + +.md-task-list-item > input:checked:before, +.md-task-list-item > input[checked]:before{ + background: #333; + border-width: 2px; + display:inline-block; + transition: background-color 200ms ease-in-out; +} + +.md-task-list-item > input:checked:after, +.md-task-list-item > input[checked]:after { + opacity: 1; +} + +.md-task-list-item > input:after { + opacity: 1; + -webkit-transition: opacity 0.05s ease-in-out; + -moz-transition: opacity 0.05s ease-in-out; + transition: opacity 0.05s ease-in-out; + -webkit-transform: rotate(-45deg); + -moz-transform: rotate(-45deg); + transform: rotate(-45deg); + position: absolute; + top: 0.4375rem; + left: 0.28125rem; + width: 0.9375rem; + height: 0.5rem; + border: 3px solid #fff; + border-top: 0; + border-right: 0; + content: ' '; + opacity: 0; +} + +.md-tag { + color:inherit; +} + +.md-toc:focus .md-toc-content{ + margin-top: 19px; +} + +#typora-sidebar { + font-size:1rem !important; +} + +.html-for-mac #typora-sidebar { + background-color:white; +} + +.outline-content li, .outline-content ul { + font-size:1rem !important; +} + +.outline-title { + line-height: inherit; + margin-top: 10px; +} + +.outline-expander { + width: 18px; +} + +.outline-expander:before { + content: "+"; + font-family: inherit; + color: rgb(108, 108, 108); + font-size: 1.5rem; + top: -0.1rem; +} + +.outline-expander:hover:before { + content: "+"; +} + +.outline-item-open>.outline-item>.outline-expander:before{ + content: "-"; +} + +/** source code mode */ +#typora-source { + font-family: Courier, monospace; + color: #6A6A6A; +} + +.os-windows #typora-source { + font-family: inherit; +} + +.cm-s-typora-default .cm-header, +.cm-s-typora-default .cm-property, +.CodeMirror.cm-s-typora-default div.CodeMirror-cursor { + color: #428bca; +} + +.cm-s-typora-default .cm-atom, .cm-s-typora-default .cm-number { + color: #777777; +} + +.md-diagram-panel { + margin-top: 24px; + margin-left: -1.2em; +} + +.md-mathjax-midline { + background: #fafafa; +} + +.enable-diagrams pre.md-fences[lang="sequence"] .code-tooltip, +.enable-diagrams pre.md-fences[lang="flow"] .code-tooltip, +.enable-diagrams pre.md-fences[lang="mermaid"] .code-tooltip { + bottom: -3.4em; +} + +.dropdown-menu .divider { + border-color: #e5e5e5; +} \ No newline at end of file diff --git a/.config/Typora/themes/pixyll/lato-v14-latin-300.woff b/.config/Typora/themes/pixyll/lato-v14-latin-300.woff new file mode 100644 index 00000000..ab45ab76 Binary files /dev/null and b/.config/Typora/themes/pixyll/lato-v14-latin-300.woff differ diff --git a/.config/Typora/themes/pixyll/lato-v14-latin-300italic.woff b/.config/Typora/themes/pixyll/lato-v14-latin-300italic.woff new file mode 100644 index 00000000..0287996f Binary files /dev/null and b/.config/Typora/themes/pixyll/lato-v14-latin-300italic.woff differ diff --git a/.config/Typora/themes/pixyll/lato-v14-latin-900.woff b/.config/Typora/themes/pixyll/lato-v14-latin-900.woff new file mode 100644 index 00000000..6f251d9e Binary files /dev/null and b/.config/Typora/themes/pixyll/lato-v14-latin-900.woff differ diff --git a/.config/Typora/themes/pixyll/lato-v14-latin-900italic.woff b/.config/Typora/themes/pixyll/lato-v14-latin-900italic.woff new file mode 100644 index 00000000..6922b8fe Binary files /dev/null and b/.config/Typora/themes/pixyll/lato-v14-latin-900italic.woff differ diff --git a/.config/Typora/themes/pixyll/merriweather-v19-latin-300.woff b/.config/Typora/themes/pixyll/merriweather-v19-latin-300.woff new file mode 100644 index 00000000..bd499f2b Binary files /dev/null and b/.config/Typora/themes/pixyll/merriweather-v19-latin-300.woff differ diff --git a/.config/Typora/themes/pixyll/merriweather-v19-latin-300italic.woff b/.config/Typora/themes/pixyll/merriweather-v19-latin-300italic.woff new file mode 100644 index 00000000..e7d52096 Binary files /dev/null and b/.config/Typora/themes/pixyll/merriweather-v19-latin-300italic.woff differ diff --git a/.config/Typora/themes/pixyll/merriweather-v19-latin-700.woff b/.config/Typora/themes/pixyll/merriweather-v19-latin-700.woff new file mode 100644 index 00000000..54fd386e Binary files /dev/null and b/.config/Typora/themes/pixyll/merriweather-v19-latin-700.woff differ diff --git a/.config/Typora/themes/pixyll/merriweather-v19-latin-700italic.woff b/.config/Typora/themes/pixyll/merriweather-v19-latin-700italic.woff new file mode 100644 index 00000000..a390989c Binary files /dev/null and b/.config/Typora/themes/pixyll/merriweather-v19-latin-700italic.woff differ diff --git a/.config/Typora/themes/whitey.css b/.config/Typora/themes/whitey.css new file mode 100644 index 00000000..b354bda1 --- /dev/null +++ b/.config/Typora/themes/whitey.css @@ -0,0 +1,292 @@ +html { + font-size: 19px; +} + +html, body { + margin: auto; + background: #fefefe; + -webkit-font-smoothing: antialiased; +} +body { + font-family: "Vollkorn", Palatino, Times; + color: #333; + line-height: 1.4; + text-align: justify; +} + +#write { + max-width: 960px; + margin: 0 auto; + margin-bottom: 2em; + line-height: 1.53; + padding-top: 40px; +} + +@media only screen and (min-width: 1400px) { + #write { + max-width: 1100px; + } +} + +@media print { + html { + font-size: 13px; + } +} + +/* Typography +-------------------------------------------------------- */ + +#write>h1:first-child, +h1 { + margin-top: 1.6em; + font-weight: normal; +} + +h1 { + font-size:3em; +} + +h2 { + margin-top:2em; + font-weight: normal; +} + +h3 { + font-weight: normal; + font-style: italic; + margin-top: 3em; +} + +h1, +h2, +h3{ + text-align: center; +} + +h2:after{ + border-bottom: 1px solid #2f2f2f; + content: ''; + width: 100px; + display: block; + margin: 0 auto; + height: 1px; +} + +h1+h2, h2+h3 { + margin-top: 0.83em; +} + +p, +.mathjax-block { + margin-top: 0; + -webkit-hypens: auto; + -moz-hypens: auto; + hyphens: auto; +} +ul { + list-style: square; + padding-left: 1.2em; +} +ol { + padding-left: 1.2em; +} +blockquote { + margin-left: 1em; + padding-left: 1em; + border-left: 1px solid #ddd; +} +code, +pre { + font-family: "Consolas", "Menlo", "Monaco", monospace, serif; + font-size: .9em; + background: white; +} +.md-fences{ + margin-left: 1em; + padding-left: 1em; + border: 1px solid #ddd; + padding-bottom: 8px; + padding-top: 6px; + margin-bottom: 1.5em; +} + +a { + color: #2484c1; + text-decoration: none; +} +a:hover { + text-decoration: underline; +} +a img { + border: none; +} +h1 a, +h1 a:hover { + color: #333; + text-decoration: none; +} +hr { + color: #ddd; + height: 1px; + margin: 2em 0; + border-top: solid 1px #ddd; + border-bottom: none; + border-left: 0; + border-right: 0; +} +.ty-table-edit { + background: #ededed; + padding-top: 4px; +} +table { + margin-bottom: 1.333333rem +} +table th, +table td { + padding: 8px; + line-height: 1.333333rem; + vertical-align: top; + border-top: 1px solid #ddd +} +table th { + font-weight: bold +} +table thead th { + vertical-align: bottom +} +table caption+thead tr:first-child th, +table caption+thead tr:first-child td, +table colgroup+thead tr:first-child th, +table colgroup+thead tr:first-child td, +table thead:first-child tr:first-child th, +table thead:first-child tr:first-child td { + border-top: 0 +} +table tbody+tbody { + border-top: 2px solid #ddd +} + +.task-list{ + padding:0; +} + +.md-task-list-item { + padding-left: 1.6rem; +} + +.md-task-list-item > input:before { + content: '\221A'; + display: inline-block; + width: 1.33333333rem; + height: 1.6rem; + vertical-align: middle; + text-align: center; + color: #ddd; + background-color: #fefefe; +} + +.md-task-list-item > input:checked:before, +.md-task-list-item > input[checked]:before{ + color: inherit; +} +.md-tag { + color: inherit; + font: inherit; +} +#write pre.md-meta-block { + min-height: 35px; + padding: 0.5em 1em; +} +#write pre.md-meta-block { + white-space: pre; + background: #f8f8f8; + border: 0px; + color: #999; + + width: 100vw; + max-width: calc(100% + 60px); + margin-left: -30px; + border-left: 30px #f8f8f8 solid; + border-right: 30px #f8f8f8 solid; + + margin-bottom: 2em; + margin-top: -1.3333333333333rem; + padding-top: 26px; + padding-bottom: 10px; + line-height: 1.8em; + font-size: 0.9em; + font-size: 0.76em; + padding-left: 0; +} +.md-img-error.md-image>.md-meta{ + vertical-align: bottom; +} +#write>h5.md-focus:before { + top: 2px; +} + +.md-toc { + margin-top: 40px; +} + +.md-toc-content { + padding-bottom: 20px; +} + +.outline-expander:before { + color: inherit; + font-size: 14px; + top: auto; + content: "\f0da"; + font-family: FontAwesome; +} + +.outline-expander:hover:before, +.outline-item-open>.outline-item>.outline-expander:before { + content: "\f0d7"; +} + +/** source code mode */ +#typora-source { + font-family: Courier, monospace; + color: #6A6A6A; +} + +.html-for-mac #typora-sidebar { + -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175); + box-shadow: 0 6px 12px rgba(0, 0, 0, .175); +} + +.cm-s-typora-default .cm-header, +.cm-s-typora-default .cm-property, +.CodeMirror.cm-s-typora-default div.CodeMirror-cursor { + color: #428bca; +} + +.cm-s-typora-default .cm-atom, .cm-s-typora-default .cm-number { + color: #777777; +} + +.typora-node .file-list-item-parent-loc, +.typora-node .file-list-item-time, +.typora-node .file-list-item-summary { + font-family: arial, sans-serif; +} + +.md-task-list-item>input { + margin-left: -1.3em; + margin-top: calc(1rem - 12px); +} + +.md-mathjax-midline { + background: #fafafa; +} + +.md-fences .code-tooltip { + bottom: -2em !important; +} + +.dropdown-menu .divider { + border-color: #e5e5e5; +} \ No newline at end of file diff --git a/.config/autostart/onedriver.desktop b/.config/autostart/onedriver.desktop new file mode 100644 index 00000000..9a206ca1 --- /dev/null +++ b/.config/autostart/onedriver.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=0.9.4 +Type=Application +Name=onedriver +Comment= +Exec=onedriver +OnlyShowIn=XFCE; +RunHook=0 +StartupNotify=false +Terminal=false +Hidden=false + diff --git a/.config/autostart/superkey.desktop b/.config/autostart/superkey.desktop new file mode 100644 index 00000000..b3960490 --- /dev/null +++ b/.config/autostart/superkey.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=0.9.4 +Type=Application +Name=superkey +Comment= +Exec=xfce-superkey +OnlyShowIn=XFCE; +RunHook=0 +StartupNotify=false +Terminal=false +Hidden=false + diff --git a/.config/autostart/xfce4-notes-autostart.desktop b/.config/autostart/xfce4-notes-autostart.desktop new file mode 100644 index 00000000..7fc69374 --- /dev/null +++ b/.config/autostart/xfce4-notes-autostart.desktop @@ -0,0 +1,103 @@ +[Desktop Entry] +Type=Application +Name=Notes +Name[ar]=ملاجظات +Name[ast]=Notes +Name[bg]=Бележки +Name[ca]=Notes +Name[cs]=Poznámky +Name[da]=Noter +Name[de]=Notizen +Name[el]=Σημειώσεις +Name[en_AU]=Notes +Name[en_GB]=Notes +Name[es]=Notas +Name[eu]=Oharrak +Name[fi]=Muistiinpanot +Name[fr]=Notes +Name[gl]=Notas +Name[hr]=Bilješke +Name[hu]=Jegyzetek +Name[id]=Catatan +Name[is]=Minnispunktar +Name[it]=Nota +Name[ja]=Notes +Name[kk]=Жазбалар +Name[ko]=노트 +Name[lt]=Pastabos +Name[lv]=Piezīmes +Name[ms]=Nota +Name[nb]=Notater +Name[nl]=Notities +Name[oc]=Nòtas +Name[pl]=Notatki +Name[pt]=Notas +Name[pt_BR]=Notas +Name[ro]=Notițe +Name[ru]=Заметки +Name[sk]=Poznámky +Name[sl]=Zabeležki +Name[sq]=Shënime +Name[sr]=Бележница +Name[sv]=Anteckningar +Name[th]=บันทึกข้อความ +Name[tr]=Notlar +Name[ug]=ئىزاھ +Name[uk]=Записки +Name[ur]=نوٹ +Name[ur_PK]=نوٹ +Name[zh_CN]=便笺 +Name[zh_TW]=小筆記 +Comment=Ideal for your quick notes +Comment[ar]=مثالي لملاحظاتك السريعة +Comment[ast]=Xenial pa les sos notes rápides +Comment[bg]=Перфектно за Вашите бързи бележки +Comment[ca]=Ideal per notes ràpides +Comment[cs]=Ideální pro rychlé poznámky +Comment[da]=Ideel til dine hurtignoter +Comment[de]=Ideal für kurze Notizen +Comment[el]=Ιδανικό για τις σημειώσεις σας +Comment[en_AU]=Ideal for your quick notes +Comment[en_GB]=Ideal for your quick notes +Comment[es]=Ideal para sus notas rápidas +Comment[eu]=Zure ohar azkarrentzat erabilgarria +Comment[fi]=Kätevä muistiinpanoväline +Comment[fr]=Idéal pour vos petites notes +Comment[gl]=Ideal para notas rápidas +Comment[hr]=Idealno za brze bilješke +Comment[hu]=Ideális gyors jegyzeteléshez +Comment[id]=Ideal untuk catatan cepat anda +Comment[it]=Ideale per le proprie annotazioni +Comment[ja]=ちょっとしたメモに最適な付箋紙プラグインです +Comment[kk]=Жылдам жазбаларыңыз үшін жарайды +Comment[ko]=이상적인 여러분의 간편한 노트 +Comment[lt]=Idealu trumpalaikiams užrašams +Comment[lv]=Ideāls ātrām piezīmēm +Comment[ms]=Sesuai sebagai nota pantas anda +Comment[nb]=Ideell for hurtignotater +Comment[nl]=Ideaal voor snelle notities +Comment[oc]=Ideal per vòstras pichonas nòtas +Comment[pl]=Przechowuje szybkie notatki +Comment[pt]=Ideal para as suas notas rápidas +Comment[pt_BR]=Ideal para uma nota rápida +Comment[ro]=Ideal pentru notițe rapide +Comment[ru]=Средство создания текстовых заметок +Comment[sk]=Ideálny pre rýchle poznámky +Comment[sl]=Idealno za vaše hitre zabeležke +Comment[sr]=Идеално за ваше брзе белешке +Comment[sv]=Perfekt för dina snabba anteckningar +Comment[th]=เหมาะสำหรับจดบันทึกอย่างเร็ว +Comment[tr]=Hızlı not almak için idealdir +Comment[ug]=كىچىككىنە ئىزاھ ئۈچۈن بەكمۇ قۇلاي +Comment[uk]=Ідеально для Ваших швидких заміток +Comment[ur]=آپ کے فوری نوٹس کے لیے بہترین ہے +Comment[ur_PK]=آپ کے فوری نوٹس کے لیے بہترین ہے +Comment[vi]=Ý tưởng cho chú thích nhanh của bạn +Comment[zh_CN]=理想的快速便笺 +Comment[zh_TW]=快速筆記的好幫手 +TryExec=xfce4-notes +Exec=xfce4-notes +Icon=xfce4-notes-plugin +OnlyShowIn=XFCE;GNOME; +Terminal=false +Hidden=false diff --git a/.config/xfce4/panel/systemload-16.rc b/.config/xfce4/panel/systemload-16.rc new file mode 100644 index 00000000..e9bacbf6 --- /dev/null +++ b/.config/xfce4/panel/systemload-16.rc @@ -0,0 +1,26 @@ +[Main] +Timeout=500 +Timeout_Seconds=1 +Click_Command=xfce4-taskmanager + +[SL_Cpu] +Enabled=true +Use_Label=false +Color=rgb(0,0,192) +Text=cpu + +[SL_Mem] +Enabled=true +Use_Label=false +Color=rgb(0,192,0) +Text=mem + +[SL_Swap] +Enabled=false +Use_Label=true +Color=rgb(240,240,0) +Text=swap + +[SL_Uptime] +Enabled=false + diff --git a/.config/xfce4/panel/whiskermenu-1.rc b/.config/xfce4/panel/whiskermenu-1.rc new file mode 100644 index 00000000..d9c1c61c --- /dev/null +++ b/.config/xfce4/panel/whiskermenu-1.rc @@ -0,0 +1,81 @@ +favorites=exo-web-browser.desktop,exo-mail-reader.desktop,exo-file-manager.desktop,libreoffice-writer.desktop,libreoffice-calc.desktop,pidgin.desktop,org.gnome.Software.desktop,exo-terminal-emulator.desktop,xfhelp4.desktop +recent=org.musicbrainz.Picard.desktop,panel-preferences.desktop,xfce-settings-manager.desktop,synaptic.desktop,org.gnome.Software.desktop,whatsapp-for-linux_whatsapp-for-linux.desktop,bitwarden_bitwarden.desktop,exo-file-manager.desktop,gitkraken_gitkraken.desktop,xfce4-settings-editor.desktop +button-title=Applications Menu +button-icon=/home/botch/Pictures/icons/luckyblock.png +button-single-row=false +show-button-title=false +show-button-icon=true +launcher-show-name=true +launcher-show-description=false +launcher-show-tooltip=true +item-icon-size=1 +hover-switch-category=false +category-show-name=true +category-icon-size=0 +load-hierarchy=true +view-as-icons=false +recent-items-max=10 +favorites-in-recent=true +display-recent-default=false +position-search-alternate=true +position-commands-alternate=false +position-categories-alternate=true +stay-on-focus-out=false +confirm-session-command=true +menu-width=375 +menu-height=495 +menu-opacity=100 +command-settings=xfce4-settings-manager +show-command-settings=true +command-lockscreen=xflock4 +show-command-lockscreen=true +command-switchuser=dm-tool switch-to-greeter +show-command-switchuser=false +command-logoutuser=xfce4-session-logout --logout --fast +show-command-logoutuser=false +command-restart=xfce4-session-logout --reboot --fast +show-command-restart=false +command-shutdown=xfce4-session-logout --halt --fast +show-command-shutdown=false +command-suspend=xfce4-session-logout --suspend +show-command-suspend=false +command-hibernate=xfce4-session-logout --hibernate +show-command-hibernate=false +command-logout=xfce4-session-logout +show-command-logout=true +command-menueditor=menulibre +show-command-menueditor=true +command-profile=mugshot +show-command-profile=true +search-actions=5 + +[action0] +name=Man Pages +pattern=# +command=exo-open --launch TerminalEmulator man %s +regex=false + +[action1] +name=Wikipedia +pattern=!w +command=exo-open --launch WebBrowser https://en.wikipedia.org/wiki/%u +regex=false + +[action2] +name=Run in Terminal +pattern=! +command=exo-open --launch TerminalEmulator %s +regex=false + +[action3] +name=Open URI +pattern=^(file|http|https):\\/\\/(.*)$ +command=exo-open \\0 +regex=true + +[action4] +name=Search for files +pattern=- +command=catfish --path=~ --start %s +regex=false + diff --git a/.config/xfce4/terminal/accels.scm b/.config/xfce4/terminal/accels.scm new file mode 100644 index 00000000..673bbea0 --- /dev/null +++ b/.config/xfce4/terminal/accels.scm @@ -0,0 +1,58 @@ +; xfce4-terminal GtkAccelMap rc-file -*- scheme -*- +; this file is an automated accelerator map dump +; +(gtk_accel_path "/terminal-window/goto-tab-2" "2") +(gtk_accel_path "/terminal-window/goto-tab-6" "6") +; (gtk_accel_path "/terminal-window/copy-input" "") +; (gtk_accel_path "/terminal-window/close-other-tabs" "") +; (gtk_accel_path "/terminal-window/move-tab-right" "Page_Down") +(gtk_accel_path "/terminal-window/goto-tab-7" "7") +; (gtk_accel_path "/terminal-window/set-title-color" "") +; (gtk_accel_path "/terminal-window/edit-menu" "") +; (gtk_accel_path "/terminal-window/zoom-menu" "") +(gtk_accel_path "/terminal-window/goto-tab-1" "1") +; (gtk_accel_path "/terminal-window/fullscreen" "F11") +; (gtk_accel_path "/terminal-window/read-only" "") +(gtk_accel_path "/terminal-window/goto-tab-5" "5") +; (gtk_accel_path "/terminal-window/preferences" "") +; (gtk_accel_path "/terminal-window/reset-and-clear" "") +; (gtk_accel_path "/terminal-window/about" "") +(gtk_accel_path "/terminal-window/goto-tab-4" "4") +; (gtk_accel_path "/terminal-window/close-window" "q") +; (gtk_accel_path "/terminal-window/reset" "") +; (gtk_accel_path "/terminal-window/save-contents" "") +(gtk_accel_path "/terminal-window/toggle-menubar" "F10") +; (gtk_accel_path "/terminal-window/copy" "c") +; (gtk_accel_path "/terminal-window/copy-html" "") +; (gtk_accel_path "/terminal-window/last-active-tab" "") +; (gtk_accel_path "/terminal-window/show-borders" "") +; (gtk_accel_path "/terminal-window/view-menu" "") +; (gtk_accel_path "/terminal-window/detach-tab" "d") +; (gtk_accel_path "/terminal-window/scroll-on-output" "") +; (gtk_accel_path "/terminal-window/show-toolbar" "") +; (gtk_accel_path "/terminal-window/next-tab" "Page_Down") +; (gtk_accel_path "/terminal-window/tabs-menu" "") +; (gtk_accel_path "/terminal-window/search-next" "") +; (gtk_accel_path "/terminal-window/search-prev" "") +; (gtk_accel_path "/terminal-window/undo-close-tab" "") +; (gtk_accel_path "/terminal-window/set-title" "s") +; (gtk_accel_path "/terminal-window/contents" "F1") +; (gtk_accel_path "/terminal-window/zoom-reset" "0") +; (gtk_accel_path "/terminal-window/close-tab" "w") +; (gtk_accel_path "/terminal-window/new-tab" "t") +; (gtk_accel_path "/terminal-window/new-window" "n") +; (gtk_accel_path "/terminal-window/terminal-menu" "") +; (gtk_accel_path "/terminal-window/show-menubar" "") +; (gtk_accel_path "/terminal-window/select-all" "a") +; (gtk_accel_path "/terminal-window/paste" "v") +(gtk_accel_path "/terminal-window/goto-tab-9" "9") +; (gtk_accel_path "/terminal-window/move-tab-left" "Page_Up") +; (gtk_accel_path "/terminal-window/search" "f") +; (gtk_accel_path "/terminal-window/file-menu" "") +; (gtk_accel_path "/terminal-window/prev-tab" "Page_Up") +; (gtk_accel_path "/terminal-window/paste-selection" "") +; (gtk_accel_path "/terminal-window/zoom-in" "plus") +; (gtk_accel_path "/terminal-window/zoom-out" "minus") +(gtk_accel_path "/terminal-window/goto-tab-8" "8") +; (gtk_accel_path "/terminal-window/help-menu" "") +(gtk_accel_path "/terminal-window/goto-tab-3" "3") diff --git a/.config/xfce4/terminal/terminalrc b/.config/xfce4/terminal/terminalrc new file mode 100644 index 00000000..b3ddd696 --- /dev/null +++ b/.config/xfce4/terminal/terminalrc @@ -0,0 +1,32 @@ +[Configuration] +FontName=CozetteVector 9 +MiscAlwaysShowTabs=FALSE +MiscBell=FALSE +MiscBellUrgent=FALSE +MiscBordersDefault=TRUE +MiscCursorBlinks=FALSE +MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK +MiscDefaultGeometry=80x24 +MiscInheritGeometry=FALSE +MiscMenubarDefault=TRUE +MiscMouseAutohide=FALSE +MiscMouseWheelZoom=TRUE +MiscToolbarDefault=FALSE +MiscConfirmClose=TRUE +MiscCycleTabs=TRUE +MiscTabCloseButtons=TRUE +MiscTabCloseMiddleClick=TRUE +MiscTabPosition=GTK_POS_TOP +MiscHighlightUrls=TRUE +MiscMiddleClickOpensUri=FALSE +MiscCopyOnSelect=FALSE +MiscShowRelaunchDialog=TRUE +MiscRewrapOnResize=TRUE +MiscUseShiftArrowsToScroll=FALSE +MiscSlimTabs=FALSE +MiscNewTabAdjacent=FALSE +MiscSearchDialogOpacity=100 +MiscShowUnsafePasteDialog=TRUE +ColorPalette=#000000;#cc0000;#4e9a06;#c4a000;#3465a4;#75507b;#06989a;#d3d7cf;#555753;#ef2929;#8ae234;#fce94f;#739fcf;#ad7fa8;#34e2e2;#eeeeec +ColorBackground=#3b3b3e3e3f3f + diff --git a/repo/dotfiles/.gitignore b/repo/dotfiles/.gitignore new file mode 100644 index 00000000..1c3d2fd7 --- /dev/null +++ b/repo/dotfiles/.gitignore @@ -0,0 +1,38 @@ +# cloned git repos +.config/emacs +.config/nvim/pack/minpac/opt/minpac +.config/nvim/pack/minpac/start +.config/xfce4/clipman + +# package-manager installed files +.config/gcloud +.config/helm +.config/octant +.config/gh/hosts.yml + +# user-local bins +bin/* + +# temp/generated files +.config/beets/*.pickle +.config/direnv/allow +.config/pgcli/log +.vim/init.vim +.netrwhist + +# shell-specific generated files +# fish +.config/fish/fish_history +.config/fish/fishd.* +.config/fish/fish_variables +.local/share/fish/generated_completions + +# zsh +.config/zsh/.zsh_history +.config/zsh/.zsh_sessions +.config/zsh/.directory_history +.config/zsh/.zcompdump +.config/zsh/.zcompcache + +# secrets +.config/brew/API_TOKEN diff --git a/repo/dotfiles/README.md b/repo/dotfiles/README.md new file mode 100644 index 00000000..e69de29b diff --git a/repo/dotfiles/install.sh b/repo/dotfiles/install.sh new file mode 100644 index 00000000..8088e0de --- /dev/null +++ b/repo/dotfiles/install.sh @@ -0,0 +1,21 @@ +#!/bin/sh + +if [ $# -eq 0 ]; then + # Save Password + read -sp "Password: " password +else + password=$1 +fi + +# Refresh +echo "$password" | sudo -S apt-get -y update +echo "$password" | sudo -S apt-get -y upgrade + +# Basic dependencies +echo "$password" | sudo -S apt-get install -y zsh vim + +# Update DemonCloud's Vim config +echo $password | source <(curl -L https://raw.githubusercontent.com/DemonCloud/dotfile/master/install.sh) + +# Set theme +xfconf-query -c xsettings -p /Net/ThemeName -s "ceres-pro@2" \ No newline at end of file