Initial commit
This commit is contained in:
4
Readme.md
Normal file
4
Readme.md
Normal file
@@ -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.
|
||||
14
base.user.css
Normal file
14
base.user.css
Normal file
@@ -0,0 +1,14 @@
|
||||
img .pborder {
|
||||
border: 1px solid #fff;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
img .border {
|
||||
border: 1px solid #fff;
|
||||
}
|
||||
|
||||
td {
|
||||
vertical-align: top;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
379
github-fh.css
Normal file
379
github-fh.css
Normal file
@@ -0,0 +1,379 @@
|
||||
:root {
|
||||
--side-bar-bg-color: #fafafa;
|
||||
--control-text-color: #777;
|
||||
|
||||
--monospace: "Consolas", "Courier New", "Arial", monospace;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 16px;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: "Times New Roman", "Calibri", 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;
|
||||
}
|
||||
pre {
|
||||
page-break-inside: avoid;
|
||||
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));
|
||||
}
|
||||
412
github.css
Normal file
412
github.css
Normal file
@@ -0,0 +1,412 @@
|
||||
: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;
|
||||
}
|
||||
pre {
|
||||
page-break-inside: avoid;
|
||||
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.
622
newsprint.css
Normal file
622
newsprint.css
Normal file
@@ -0,0 +1,622 @@
|
||||
/* 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);
|
||||
-webkit-appearance: button;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
.export-detail, .light .export-detail,
|
||||
.light .export-item.active,
|
||||
.light .export-items-list-control {
|
||||
background: #e0e0e0;
|
||||
border-radius: 2px;
|
||||
font-weight: 700;
|
||||
color: inherit
|
||||
}
|
||||
BIN
newsprint/pt-serif-v11-latin-700.woff2
Normal file
BIN
newsprint/pt-serif-v11-latin-700.woff2
Normal file
Binary file not shown.
BIN
newsprint/pt-serif-v11-latin-700italic.woff2
Normal file
BIN
newsprint/pt-serif-v11-latin-700italic.woff2
Normal file
Binary file not shown.
BIN
newsprint/pt-serif-v11-latin-italic.woff2
Normal file
BIN
newsprint/pt-serif-v11-latin-italic.woff2
Normal file
Binary file not shown.
BIN
newsprint/pt-serif-v11-latin-regular.woff2
Normal file
BIN
newsprint/pt-serif-v11-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;
|
||||
}
|
||||
704
notion-dark-classic.css
Normal file
704
notion-dark-classic.css
Normal file
@@ -0,0 +1,704 @@
|
||||
:root {
|
||||
--primary-color: #ebebeb;
|
||||
--bg-color: #2f3437;
|
||||
--bg-color-dark: #3f4447;
|
||||
--dark-trait: #393c3f;
|
||||
--light-trait-100: #3d4145;
|
||||
--light-trait-200: #3d4145;
|
||||
--light-trait-300: #72706b;
|
||||
--light-trait-400: #37352f;
|
||||
--text-color: #ebebeb;
|
||||
--text-color-secondary: #73726e;
|
||||
--text-highlight-color: #fff;
|
||||
--text-highlight-bg: rgba(var(--primary-color-rgb), 0.3);
|
||||
--select-text-bg-color: #2e5767;
|
||||
--search-select-text-color:#eaedec;
|
||||
--search-select-bg-color: #2e443a;
|
||||
--code-color: #9a6e3a;
|
||||
--border-radius: 4px;
|
||||
--font-size: 16px;
|
||||
--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
|
||||
--monospace: 'SF Mono Medium', 'Fira Code', 'Cousine', 'Consolas', monospace;
|
||||
--heading-char-color: var(--light-trait-400);
|
||||
--color-popover-bg-color: var(--text-color);
|
||||
--rawblock-edit-panel-bd: var(--bg-color-dark);
|
||||
--control-text-color: #afb1b2;
|
||||
--meta-content-color: var(--primary-color);
|
||||
--primary-btn-border-color: var(--primary-color);
|
||||
--side-bar-bg-color: var(--bg-color-dark);
|
||||
--item-hover-bg-color: #4b5053;
|
||||
--active-file-bg-color: #4b5053;
|
||||
--active-file-border-color: var(--bg-color);
|
||||
--window-border: 1px solid var(--bg-color);
|
||||
--focus-ring-color: transparent;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: var(--font-size);
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: var(--font-family);
|
||||
-webkit-font-smoothing: antialiased;
|
||||
color: var(--text-color);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
code {
|
||||
color: #ec5757;
|
||||
background-color: #3d4041;
|
||||
padding: 0 2px 0 2px;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
position: relative;
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 1rem;
|
||||
font-weight: 700;
|
||||
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, h2 tt, h2 code, h3 tt, h3 code, h4 tt, h4 code, h5 tt, h5 code, h6 tt, h6 code {
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
h1 {
|
||||
padding-bottom: 0.3em;
|
||||
font-size: 2.2em;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
h2 {
|
||||
padding-bottom: 0.3em;
|
||||
font-size: 1.75em;
|
||||
line-height: 1.225;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.4em;
|
||||
line-height: 1.43;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 1em;
|
||||
color: var(--light-trait-300);
|
||||
}
|
||||
|
||||
p, blockquote, ul, ol, dl, table {
|
||||
margin: 0.8em 0;
|
||||
}
|
||||
|
||||
li>ol, li>ul {
|
||||
margin: 0 0;
|
||||
}
|
||||
|
||||
hr {
|
||||
background-color: var(--light-trait-100);
|
||||
height: 1.5px;
|
||||
border: none
|
||||
}
|
||||
|
||||
a,
|
||||
.md-def-url {
|
||||
color: var(--text-color);
|
||||
text-decoration: none;
|
||||
border-bottom:0.05em solid;
|
||||
border-color: #37352f;
|
||||
opacity:0.6;
|
||||
transition: all .1s ease-in;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
opacity:1;
|
||||
}
|
||||
|
||||
sup.md-footnote {
|
||||
background-color: var(--dark-trait);
|
||||
color: #b1b3b4;
|
||||
}
|
||||
|
||||
li p.first {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
ul, ol {
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
ul:first-child, ol:first-child {
|
||||
margin-top: 0.35%;
|
||||
}
|
||||
|
||||
ul:last-child, ol:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
mark, .ty-file-search-match-text, .md-search-hit {
|
||||
background: #5e3436;
|
||||
color: #eceded;
|
||||
}
|
||||
|
||||
mark {
|
||||
border-radius: 4px;
|
||||
color: #edecea;
|
||||
font-weight: inherit;
|
||||
background-color: #4f4029;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
margin-left: 2px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
|
||||
#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;
|
||||
}
|
||||
|
||||
.md-search-hit * {
|
||||
color: var(--search-select-text-color);
|
||||
}
|
||||
|
||||
/* Search highlight */
|
||||
.cm-search-hit.CodeMirror-selectedtext, .md-search-hit.md-search-select, .md-search-select {
|
||||
outline: 0px solid var(--search-select-text-color);
|
||||
}
|
||||
|
||||
.outline-item.select, .ty-search-item-line.select, .ty-search-item.select {
|
||||
outline-width: 2px;
|
||||
}
|
||||
|
||||
.outline-item.select {
|
||||
outline-offset: 0px;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin-left: 1.75px;
|
||||
margin-right: 0px;
|
||||
border-left: 4px solid var(--text-color);
|
||||
padding: 10px 14px 7px 22px;
|
||||
}
|
||||
|
||||
blockquote blockquote {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
table {
|
||||
padding: 0;
|
||||
word-break: initial;
|
||||
}
|
||||
|
||||
table tr {
|
||||
border-top: 1px solid var(--dark-trait);
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
table tr th {
|
||||
font-weight: bold;
|
||||
border: 1px solid var(--dark-trait);
|
||||
border-bottom: 0;
|
||||
margin: 0;
|
||||
padding: 6px 13px;
|
||||
}
|
||||
|
||||
table tr td {
|
||||
border: 1px solid var(--dark-trait);
|
||||
margin: 0;
|
||||
padding: 6px 13px;
|
||||
}
|
||||
|
||||
table tr th:first-child, table tr td:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
table tr th:last-child, table tr td:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
kbd {
|
||||
font-size: 0.875rem;
|
||||
background: var(--bg-color-dark);
|
||||
border: 1px solid var(--dark-trait);
|
||||
box-shadow: 0 2px 0 var(--dark-trait);
|
||||
color: #acaeaf;
|
||||
}
|
||||
|
||||
.md-fences, code, tt {
|
||||
border: none;
|
||||
background-color: #3f4447;
|
||||
border-radius: var(--border-radius);
|
||||
padding: 2px 4px 0px 4px;
|
||||
font-size: 0.975em;
|
||||
font-weight: medium;
|
||||
font-family: var(--monospace);
|
||||
}
|
||||
|
||||
.md-fences {
|
||||
margin-bottom: 15px;
|
||||
margin-top: 15px;
|
||||
padding-top: 8px;
|
||||
padding-bottom: 6px;
|
||||
}
|
||||
|
||||
#write pre.md-meta-block {
|
||||
padding: 1rem;
|
||||
font-size: 85%;
|
||||
line-height: 1.45;
|
||||
background-color: var(--bg-color-dark);
|
||||
border: 0;
|
||||
border-radius: var(--border-radius);
|
||||
color: var(--text-color-secondary);
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
#write .mathjax-block .md-rawblock-tooltip {
|
||||
border-top-left-radius: var(--border-radius);
|
||||
border-top-right-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
#write .mathjax-block .md-math-container {
|
||||
border-top-left-radius: var(--border-radius);
|
||||
border-bottom-right-radius: var(--border-radius);
|
||||
border-bottom-left-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
#write .md-mathblock-panel .md-rawblock-control:first-of-type {
|
||||
border-top-left-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
.md-mathjax-midline {
|
||||
background-color: var(--bg-color);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.md-inline-math script {
|
||||
color: var(--code-color);
|
||||
}
|
||||
|
||||
.CodeMirror-lines {
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
.code-tooltip {
|
||||
box-shadow: none;
|
||||
border-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
#write .code-tooltip {
|
||||
bottom: initial;
|
||||
top: 100%;
|
||||
left: initial;
|
||||
right: -1px;
|
||||
background: var(--bg-color-dark);
|
||||
border: 1px solid var(--dark-trait);
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
border-top: 0;
|
||||
font-family: var(--monospace);
|
||||
}
|
||||
|
||||
#write .md-mathblock-panel .code-tooltip {
|
||||
right: 0;
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* TODO */
|
||||
#write .md-task-list-item>input {
|
||||
-webkit-appearance: initial;
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
position: absolute;
|
||||
border: 1px solid var(--text-color);
|
||||
margin-left: -1.45rem;
|
||||
height: 0.95rem;
|
||||
width: 0.95rem;
|
||||
transition: all 0.35s;
|
||||
}
|
||||
|
||||
#write .md-task-list-item>input:focus {
|
||||
outline: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#write .md-task-list-item>input[checked] {
|
||||
background: #2eaadc;
|
||||
border: 1px solid #2eaadc;
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
#write .md-task-list-item>input[checked]::before {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
content: '✓';
|
||||
position: absolute;
|
||||
margin-top: 0.05rem;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
text-align: absolute;
|
||||
color: #ffffff;
|
||||
font-size: 0.75em;
|
||||
font-weight: 750;
|
||||
}
|
||||
#write .md-task-list-item>input[checked]::after {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
/* TODO */
|
||||
|
||||
.md-image>.md-meta {
|
||||
border-radius: var(--border-radius);
|
||||
padding: 2px 0px 0px 4px;
|
||||
font-size: 0.9em;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.md-toc {
|
||||
margin-top: 20px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
/* Source mode */
|
||||
.CodeMirror.cm-s-typora-default *, .cm-s-typora-default * {
|
||||
background: inherit;
|
||||
color: var(--text-color);
|
||||
font-family: var(--monospace);
|
||||
font-size: var(--font-size) !important;
|
||||
font-style: normal;
|
||||
font-weight: medium;
|
||||
}
|
||||
|
||||
.CodeMirror.cm-s-typora-default div.CodeMirror-cursor {
|
||||
border-left: 2px solid var(--text-color);
|
||||
}
|
||||
|
||||
.sidebar-tabs {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.outline-expander {
|
||||
width: 1.5rem;
|
||||
vertical-align: initial;
|
||||
}
|
||||
|
||||
.outline-expander:before, .outline-expander:hover:before, .outline-item-open>.outline-item>.outline-expander:before, .outline-item-open>.outline-item>.outline-expander:hover:before {
|
||||
content: "\f125";
|
||||
transition: transform 125ms ease-in-out;
|
||||
}
|
||||
|
||||
.outline-item-open>.outline-item>.outline-expander:hover:before, .outline-item-open>.outline-item>.outline-expander:before {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
.outline-label:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#toc-dropmenu {
|
||||
background: var(--bg-color-dark);
|
||||
}
|
||||
|
||||
#toc-dropmenu .outline-title {
|
||||
font-size: 1rem;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.dropdown-menu .divider {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.context-menu {
|
||||
border: none!important;
|
||||
backdrop-filter: saturate(180%) blur(20px) brightness(1.1);
|
||||
background-color: var(--bg-color-dark);
|
||||
box-shadow: 0 25.6px 57.6px 0 rgba(0, 0, 0, .22), 0 4.8px 14.4px 0 rgba(0, 0, 0, .18)!important;
|
||||
}
|
||||
|
||||
.file-node-background {
|
||||
height: 31px;
|
||||
}
|
||||
|
||||
.file-node-content:hover .file-node-icon, .file-node-content:hover .file-node-open-state {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.file-node-icon {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.file-library-node:not(.file-node-root):focus>.file-node-content {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* New file animation */
|
||||
.blink-area {
|
||||
animation: none;
|
||||
}
|
||||
|
||||
.file-list-item-summary {
|
||||
font-size: var(--font-size);
|
||||
font-family: var(--font-family);
|
||||
}
|
||||
|
||||
#md-searchpanel input {
|
||||
border-radius: var(--border-radius);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#md-searchpanel input:focus {
|
||||
box-shadow: none;
|
||||
border-color: var(--meta-content-color);
|
||||
}
|
||||
|
||||
#md-searchpanel .search-type-selection {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
#md-searchpanel .btn:not(.close-btn):hover {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.mac-seamless-mode #typora-sidebar {
|
||||
background-color: var(--side-bar-bg-color);
|
||||
}
|
||||
|
||||
#md-notification .btn {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/* CODE */
|
||||
pre.CodeMirror-line {
|
||||
color: #b8babb!important
|
||||
}
|
||||
|
||||
.cm-variable {
|
||||
color: var(--text-color)!important;
|
||||
}
|
||||
|
||||
.cm-keyword {
|
||||
color: #d1949e !important
|
||||
}
|
||||
|
||||
.cm-tag {
|
||||
color: #d1949e!important
|
||||
}
|
||||
|
||||
.cm-variable-3 {
|
||||
color: #bde052!important;
|
||||
}
|
||||
|
||||
.cm-bracket, .cm-error {
|
||||
color: #d1949e!important
|
||||
}
|
||||
|
||||
|
||||
.cm-attribute {
|
||||
color: #d1949e!important;
|
||||
/* font-style: italic!important; */
|
||||
}
|
||||
|
||||
.cm-def {
|
||||
color: #eceded!important;
|
||||
}
|
||||
|
||||
.cm-comment {
|
||||
color: #998066!important;
|
||||
}
|
||||
|
||||
.cm-string {
|
||||
color: #bde052!important;
|
||||
font-variant-ligatures: common-ligatures!important;
|
||||
}
|
||||
|
||||
.cm-tag:not() {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.cm-operator {
|
||||
color: #f5b83d!important;
|
||||
}
|
||||
|
||||
.cm-number {
|
||||
color: #d1949e!important;
|
||||
}
|
||||
|
||||
.cm-meta {
|
||||
color: var(--text-color) !important;
|
||||
font-weight: 700!important;
|
||||
}
|
||||
|
||||
.cm-atom { color: #845dc4; }
|
||||
|
||||
|
||||
.cm-builtin {
|
||||
color: #bde052 !important;
|
||||
}
|
||||
|
||||
.cm-property {
|
||||
color: var(--text-color) !important;
|
||||
}
|
||||
|
||||
.cm-variable-2 {
|
||||
color: var(--text-color) !important;
|
||||
}
|
||||
|
||||
.cm-variable-3 {
|
||||
color: #845dc4;
|
||||
}
|
||||
|
||||
.file-tree-node.active>.file-node-background {
|
||||
background-color: var(--active-file-bg-color);
|
||||
border-left: 0px solid #4b5053!important;
|
||||
border-color: #4b5053!important;
|
||||
background-color: #4b5053!important;
|
||||
}
|
||||
|
||||
.CodeMirror-gutters {
|
||||
border-right: 1px solid #f1f3f450;
|
||||
background: inherit;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.ty-footer, .sidebar-footer, footer {
|
||||
backdrop-filter: saturate(120%) blur(20px) brightness(0.85);
|
||||
border: none!important;
|
||||
background: none;
|
||||
background-color: #373c3f;
|
||||
}
|
||||
|
||||
.code-tooltip {
|
||||
border-radius: 4px;
|
||||
background-color: #313334;
|
||||
box-shadow: 0 25.6px 57.6px 0 rgba(0, 0, 0, .52), 0 4.8px 14.4px 0 rgba(0, 0, 0, .28)!important;
|
||||
}
|
||||
|
||||
#sidebar-files-menu {
|
||||
border-radius: 4px;
|
||||
border: none!important;
|
||||
}
|
||||
|
||||
.code-tooltip.md-tooltip-hide.md-hover-tip {
|
||||
box-shadow: 0 25.6px 57.6px 0 rgba(0, 0, 0, .52), 0 4.8px 14.4px 0 rgba(0, 0, 0, .28);
|
||||
}
|
||||
|
||||
#typora-sidebar {
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
#footer-word-count-info, #spell-check-panel {
|
||||
border: none!important;
|
||||
backdrop-filter: saturate(120%) blur(20px) brightness(0.85)!important;
|
||||
box-shadow: 0 25.6px 57.6px 0 rgba(0, 0, 0, .32), 0 4.8px 14.4px 0 rgba(0, 0, 0, .28)!important;
|
||||
}
|
||||
/* Windows/Linux unibody mode */
|
||||
.megamenu-content,
|
||||
.megamenu-opened header {
|
||||
color: var(--primary-color);
|
||||
background: var(--bg-color-dark);
|
||||
}
|
||||
|
||||
#recent-file-panel-action-btn {
|
||||
background: inherit;
|
||||
border: 1px var(--light-trait-300) solid;
|
||||
}
|
||||
|
||||
.megamenu-menu-panel table td:nth-child(1) {
|
||||
color: var(--text-color);
|
||||
background: var(--bg-color-dark);
|
||||
}
|
||||
|
||||
.megamenu-menu-panel table td:nth-child(2) {
|
||||
color: var(--text-color);
|
||||
background: var(--bg-color-dark);
|
||||
}
|
||||
|
||||
.megamenu-menu-panel tbody tr:hover td:nth-child(1) {
|
||||
color: var(--text-color);
|
||||
background: var( --active-file-bg-color);
|
||||
}
|
||||
|
||||
.megamenu-menu-panel tbody tr:hover td:nth-child(2) {
|
||||
color: var(--text-color);
|
||||
background: var( --active-file-bg-color);
|
||||
}
|
||||
|
||||
.megamenu-menu-panel input[type='text'] {
|
||||
background: inherit;
|
||||
border: 1px var(--control-text-color) solid;
|
||||
}
|
||||
|
||||
#recent-file-panel-action-btn {
|
||||
background: inherit;
|
||||
}
|
||||
|
||||
.megamenu-menu, .megamenu-content {
|
||||
background: var(--side-bar-bg-color);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
#top-titlebar, #top-titlebar * {
|
||||
background: inherit;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.megamenu-menu-header #megamenu-menu-header-title:before {
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
megamenu-back-btn {
|
||||
color: var(--text-color);
|
||||
border-color: var(--text-color);
|
||||
}
|
||||
|
||||
.megamenu-menu-header #megamenu-menu-header-title,
|
||||
.megamenu-menu-header:hover,
|
||||
.megamenu-menu-header:focus {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.megamenu-menu-panel table tr:nth-child(2n + 1) {
|
||||
background-color: var(--side-bar-bg-color);
|
||||
}
|
||||
717
notion-dark-enhanced.css
Normal file
717
notion-dark-enhanced.css
Normal file
@@ -0,0 +1,717 @@
|
||||
:root {
|
||||
--primary-color: #ebebeb;
|
||||
--bg-color: #2f3437;
|
||||
--bg-color-dark: #3f4447;
|
||||
--dark-trait: #393c3f;
|
||||
--light-trait-100: #3d4145;
|
||||
--light-trait-200: #c70000;
|
||||
--light-trait-300: #72706b;
|
||||
--light-trait-400: #37352f;
|
||||
--text-color: #ebebeb;
|
||||
--text-color-secondary: #73726e;
|
||||
--text-highlight-color: #fff;
|
||||
--text-highlight-bg: rgba(var(--primary-color-rgb), 0.3);
|
||||
--select-text-bg-color: #2e5767;
|
||||
--search-select-text-color:#eaedec;
|
||||
--search-select-bg-color: #2e443a;
|
||||
--code-color: #9a6e3a;
|
||||
--border-radius: 4px;
|
||||
--font-size: 16px;
|
||||
--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
|
||||
--monospace: 'SF Mono Medium', 'Fira Code', 'Cousine', 'Consolas', monospace;
|
||||
--heading-char-color: var(--light-trait-400);
|
||||
--color-popover-bg-color: var(--text-color);
|
||||
--rawblock-edit-panel-bd: var(--bg-color-dark);
|
||||
--control-text-color: #afb1b2;
|
||||
--meta-content-color: var(--primary-color);
|
||||
--primary-btn-border-color: var(--primary-color);
|
||||
--side-bar-bg-color: var(--bg-color-dark);
|
||||
--item-hover-bg-color: #4b5053;
|
||||
--active-file-bg-color: #4b5053;
|
||||
--active-file-border-color: var(--bg-color);
|
||||
--window-border: 1px solid var(--bg-color);
|
||||
--focus-ring-color: transparent;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: var(--font-size);
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: var(--font-family);
|
||||
-webkit-font-smoothing: antialiased;
|
||||
color: var(--text-color);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
code {
|
||||
background-color: #3f4447;
|
||||
padding: 0 2px 0 2px;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
position: relative;
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 1rem;
|
||||
font-weight: 700;
|
||||
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, h2 tt, h2 code, h3 tt, h3 code, h4 tt, h4 code, h5 tt, h5 code, h6 tt, h6 code {
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
h1 {
|
||||
padding-bottom: 0.3em;
|
||||
font-size: 2.2em;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
h2 {
|
||||
padding-bottom: 0.3em;
|
||||
font-size: 1.75em;
|
||||
line-height: 1.225;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.4em;
|
||||
line-height: 1.43;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 1em;
|
||||
color: var(--light-trait-300);
|
||||
}
|
||||
|
||||
p, blockquote, ul, ol, dl, table {
|
||||
margin: 0.8em 0;
|
||||
}
|
||||
|
||||
li>ol, li>ul {
|
||||
margin: 0 0;
|
||||
}
|
||||
|
||||
hr {
|
||||
background-color: var(--light-trait-100);
|
||||
height: 1.5px;
|
||||
border: none
|
||||
}
|
||||
|
||||
a,
|
||||
.md-def-url {
|
||||
color: var(--text-color);
|
||||
text-decoration: none;
|
||||
border-bottom:0.05em solid;
|
||||
border-color: #37352f;
|
||||
opacity:0.6;
|
||||
transition: all .1s ease-in;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
opacity:1;
|
||||
}
|
||||
|
||||
sup.md-footnote {
|
||||
background-color: #3f4447;
|
||||
color: #b1b3b4;
|
||||
}
|
||||
|
||||
li p.first {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
ul, ol {
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
ul:first-child, ol:first-child {
|
||||
margin-top: 0.35%;
|
||||
}
|
||||
|
||||
ul:last-child, ol:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
mark, .ty-file-search-match-text, .md-search-hit {
|
||||
background: #5e3436;
|
||||
color: #eceded;
|
||||
}
|
||||
|
||||
mark {
|
||||
border-radius: 4px;
|
||||
color: #edecea;
|
||||
font-weight: inherit;
|
||||
background-color: #4f4029;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
margin-left: 2px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
|
||||
#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;
|
||||
}
|
||||
|
||||
.md-search-hit * {
|
||||
color: var(--search-select-text-color);
|
||||
}
|
||||
|
||||
/* Search highlight */
|
||||
.cm-search-hit.CodeMirror-selectedtext, .md-search-hit.md-search-select, .md-search-select {
|
||||
outline: 0px solid var(--search-select-text-color);
|
||||
}
|
||||
|
||||
.outline-item.select, .ty-search-item-line.select, .ty-search-item.select {
|
||||
outline-width: 2px;
|
||||
}
|
||||
|
||||
.outline-item.select {
|
||||
outline-offset: 0px;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin-left: 1.75px;
|
||||
margin-right: 0px;
|
||||
border-left: 4px solid var(--text-color);
|
||||
padding: 10px 14px 7px 22px;
|
||||
/* change the quote highlight */
|
||||
background-color: #3c4144;
|
||||
}
|
||||
|
||||
blockquote blockquote {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
table {
|
||||
padding: 0;
|
||||
word-break: initial;
|
||||
}
|
||||
|
||||
table tr {
|
||||
border-top: 1px solid var(--dark-trait);
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
table tr th {
|
||||
font-weight: bold;
|
||||
border: 1px solid var(--dark-trait);
|
||||
border-bottom: 0;
|
||||
margin: 0;
|
||||
padding: 6px 13px;
|
||||
}
|
||||
|
||||
table tr td {
|
||||
border: 1px solid var(--dark-trait);
|
||||
margin: 0;
|
||||
padding: 6px 13px;
|
||||
}
|
||||
|
||||
table tr th:first-child, table tr td:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
table tr th:last-child, table tr td:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Alternating table: does not look good in dark mode*/
|
||||
|
||||
/* table tr:nth-child(2n) {
|
||||
background-color: #2f3437;
|
||||
} */
|
||||
|
||||
/* table tr:nth-child(2n + 1) {
|
||||
background-color: #373c3f;
|
||||
} */
|
||||
|
||||
kbd {
|
||||
font-size: 0.875rem;
|
||||
background: var(--bg-color-dark);
|
||||
border: 1px solid var(--dark-trait);
|
||||
box-shadow: 0 2px 0 var(--dark-trait);
|
||||
color: #acaeaf;
|
||||
}
|
||||
|
||||
.md-fences, code, tt {
|
||||
border: none;
|
||||
background-color: #3f4447;
|
||||
border-radius: var(--border-radius);
|
||||
padding: 2px 4px 0px 4px;
|
||||
font-size: 0.975em;
|
||||
font-weight: medium;
|
||||
font-family: var(--monospace);
|
||||
}
|
||||
|
||||
.md-fences {
|
||||
margin-bottom: 15px;
|
||||
margin-top: 15px;
|
||||
padding-top: 8px;
|
||||
padding-bottom: 6px;
|
||||
}
|
||||
|
||||
#write pre.md-meta-block {
|
||||
padding: 1rem;
|
||||
font-size: 85%;
|
||||
line-height: 1.45;
|
||||
background-color: var(--bg-color-dark);
|
||||
border: 0;
|
||||
border-radius: var(--border-radius);
|
||||
color: var(--text-color-secondary);
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
#write .mathjax-block .md-rawblock-tooltip {
|
||||
border-top-left-radius: var(--border-radius);
|
||||
border-top-right-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
#write .mathjax-block .md-math-container {
|
||||
border-top-left-radius: var(--border-radius);
|
||||
border-bottom-right-radius: var(--border-radius);
|
||||
border-bottom-left-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
#write .md-mathblock-panel .md-rawblock-control:first-of-type {
|
||||
border-top-left-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
.md-mathjax-midline {
|
||||
background-color: var(--bg-color);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.md-inline-math script {
|
||||
color: var(--code-color);
|
||||
}
|
||||
|
||||
.CodeMirror-lines {
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
.code-tooltip {
|
||||
box-shadow: none;
|
||||
border-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
#write .code-tooltip {
|
||||
bottom: initial;
|
||||
top: 100%;
|
||||
left: initial;
|
||||
right: -1px;
|
||||
background: var(--bg-color-dark);
|
||||
border: 1px solid var(--dark-trait);
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
border-top: 0;
|
||||
font-family: var(--monospace);
|
||||
}
|
||||
|
||||
#write .md-mathblock-panel .code-tooltip {
|
||||
right: 0;
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* TODO */
|
||||
#write .md-task-list-item>input {
|
||||
-webkit-appearance: initial;
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
position: absolute;
|
||||
border: 1px solid var(--text-color);
|
||||
margin-left: -1.45rem;
|
||||
height: 0.95rem;
|
||||
width: 0.95rem;
|
||||
transition: all 0.35s;
|
||||
}
|
||||
|
||||
#write .md-task-list-item>input:focus {
|
||||
outline: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#write .md-task-list-item>input[checked] {
|
||||
background: #2eaadc;
|
||||
border: 1px solid #2eaadc;
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
#write .md-task-list-item>input[checked]::before {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
content: '✓';
|
||||
position: absolute;
|
||||
margin-top: 0.05rem;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
text-align: absolute;
|
||||
color: #ffffff;
|
||||
font-size: 0.75em;
|
||||
font-weight: 750;
|
||||
}
|
||||
#write .md-task-list-item>input[checked]::after {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
/* TODO */
|
||||
|
||||
.md-image>.md-meta {
|
||||
border-radius: var(--border-radius);
|
||||
padding: 2px 0px 0px 4px;
|
||||
font-size: 0.9em;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.md-toc {
|
||||
margin-top: 20px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
/* Source mode */
|
||||
.CodeMirror.cm-s-typora-default *, .cm-s-typora-default * {
|
||||
background: inherit;
|
||||
color: var(--text-color);
|
||||
font-family: var(--monospace);
|
||||
font-size: var(--font-size) !important;
|
||||
font-style: normal;
|
||||
font-weight: medium;
|
||||
}
|
||||
|
||||
.CodeMirror.cm-s-typora-default div.CodeMirror-cursor {
|
||||
border-left: 2px solid var(--text-color);
|
||||
}
|
||||
|
||||
.sidebar-tabs {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.outline-expander {
|
||||
width: 1.5rem;
|
||||
vertical-align: initial;
|
||||
}
|
||||
|
||||
.outline-expander:before, .outline-expander:hover:before, .outline-item-open>.outline-item>.outline-expander:before, .outline-item-open>.outline-item>.outline-expander:hover:before {
|
||||
content: "\f125";
|
||||
transition: transform 125ms ease-in-out;
|
||||
}
|
||||
|
||||
.outline-item-open>.outline-item>.outline-expander:hover:before, .outline-item-open>.outline-item>.outline-expander:before {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
.outline-label:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#toc-dropmenu {
|
||||
background: var(--bg-color-dark);
|
||||
}
|
||||
|
||||
#toc-dropmenu .outline-title {
|
||||
font-size: 1rem;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.dropdown-menu .divider {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.context-menu {
|
||||
border: none!important;
|
||||
backdrop-filter: saturate(180%) blur(20px) brightness(1.1);
|
||||
background-color: var(--bg-color-dark);
|
||||
box-shadow: 0 25.6px 57.6px 0 rgba(0, 0, 0, .22), 0 4.8px 14.4px 0 rgba(0, 0, 0, .18)!important;
|
||||
}
|
||||
|
||||
.file-node-background {
|
||||
height: 31px;
|
||||
}
|
||||
|
||||
.file-node-content:hover .file-node-icon, .file-node-content:hover .file-node-open-state {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.file-node-icon {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.file-library-node:not(.file-node-root):focus>.file-node-content {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* New file animation */
|
||||
.blink-area {
|
||||
animation: none;
|
||||
}
|
||||
|
||||
.file-list-item-summary {
|
||||
font-size: var(--font-size);
|
||||
font-family: var(--font-family);
|
||||
}
|
||||
|
||||
#md-searchpanel input {
|
||||
border-radius: var(--border-radius);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#md-searchpanel input:focus {
|
||||
box-shadow: none;
|
||||
border-color: var(--meta-content-color);
|
||||
}
|
||||
|
||||
#md-searchpanel .search-type-selection {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
#md-searchpanel .btn:not(.close-btn):hover {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.mac-seamless-mode #typora-sidebar {
|
||||
background-color: var(--side-bar-bg-color);
|
||||
}
|
||||
|
||||
#md-notification .btn {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/* CODE */
|
||||
pre.CodeMirror-line {
|
||||
color: #b8babb!important
|
||||
}
|
||||
|
||||
.cm-variable {
|
||||
color: var(--text-color)!important;
|
||||
}
|
||||
|
||||
.cm-keyword {
|
||||
color: #d1949e !important
|
||||
}
|
||||
|
||||
.cm-tag {
|
||||
color: #d1949e!important
|
||||
}
|
||||
|
||||
.cm-variable-3 {
|
||||
color: #bde052!important;
|
||||
}
|
||||
|
||||
.cm-bracket, .cm-error {
|
||||
color: #d1949e!important
|
||||
}
|
||||
|
||||
|
||||
.cm-attribute {
|
||||
color: #d1949e!important;
|
||||
/* font-style: italic!important; */
|
||||
}
|
||||
|
||||
.cm-def {
|
||||
color: #eceded!important;
|
||||
}
|
||||
|
||||
.cm-comment {
|
||||
color: #998066!important;
|
||||
}
|
||||
|
||||
.cm-string {
|
||||
color: #bde052!important;
|
||||
font-variant-ligatures: common-ligatures!important;
|
||||
}
|
||||
|
||||
.cm-tag:not() {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.cm-operator {
|
||||
color: #f5b83d!important;
|
||||
}
|
||||
|
||||
.cm-number {
|
||||
color: #d1949e!important;
|
||||
}
|
||||
|
||||
.cm-meta {
|
||||
color: var(--text-color) !important;
|
||||
font-weight: 700!important;
|
||||
}
|
||||
|
||||
.cm-atom { color: #845dc4; }
|
||||
|
||||
|
||||
.cm-builtin {
|
||||
color: #bde052 !important;
|
||||
}
|
||||
|
||||
.cm-property {
|
||||
color: var(--text-color) !important;
|
||||
}
|
||||
|
||||
.cm-variable-2 {
|
||||
color: var(--text-color) !important;
|
||||
}
|
||||
|
||||
.cm-variable-3 {
|
||||
color: #845dc4;
|
||||
}
|
||||
|
||||
.file-tree-node.active>.file-node-background {
|
||||
background-color: var(--active-file-bg-color);
|
||||
border-left: 0px solid #4b5053!important;
|
||||
border-color: #4b5053!important;
|
||||
background-color: #4b5053!important;
|
||||
}
|
||||
|
||||
.CodeMirror-gutters {
|
||||
border-right: 1px solid #f1f3f450;
|
||||
background: inherit;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.ty-footer, .sidebar-footer, footer {
|
||||
backdrop-filter: saturate(120%) blur(20px) brightness(0.85);
|
||||
border: none!important;
|
||||
background: none;
|
||||
background-color: #373c3f;
|
||||
}
|
||||
|
||||
.code-tooltip {
|
||||
border-radius: 4px;
|
||||
background-color: #313334;
|
||||
box-shadow: 0 25.6px 57.6px 0 rgba(0, 0, 0, .52), 0 4.8px 14.4px 0 rgba(0, 0, 0, .28)!important;
|
||||
}
|
||||
|
||||
#sidebar-files-menu {
|
||||
border-radius: 4px;
|
||||
border: none!important;
|
||||
}
|
||||
|
||||
.code-tooltip.md-tooltip-hide.md-hover-tip {
|
||||
box-shadow: 0 25.6px 57.6px 0 rgba(0, 0, 0, .52), 0 4.8px 14.4px 0 rgba(0, 0, 0, .28);
|
||||
}
|
||||
|
||||
#typora-sidebar {
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
#footer-word-count-info, #spell-check-panel {
|
||||
border: none!important;
|
||||
backdrop-filter: saturate(120%) blur(20px) brightness(0.85)!important;
|
||||
box-shadow: 0 25.6px 57.6px 0 rgba(0, 0, 0, .32), 0 4.8px 14.4px 0 rgba(0, 0, 0, .28)!important;
|
||||
}
|
||||
|
||||
|
||||
/* Windows/Linux unibody mode */
|
||||
.megamenu-content,
|
||||
.megamenu-opened header {
|
||||
color: var(--primary-color);
|
||||
background: var(--bg-color-dark);
|
||||
}
|
||||
|
||||
#recent-file-panel-action-btn {
|
||||
background: inherit;
|
||||
border: 1px var(--light-trait-300) solid;
|
||||
}
|
||||
|
||||
.megamenu-menu-panel table td:nth-child(1) {
|
||||
color: var(--text-color);
|
||||
background: var(--bg-color-dark);
|
||||
}
|
||||
|
||||
.megamenu-menu-panel table td:nth-child(2) {
|
||||
color: var(--text-color);
|
||||
background: var(--bg-color-dark);
|
||||
}
|
||||
|
||||
.megamenu-menu-panel tbody tr:hover td:nth-child(1) {
|
||||
color: var(--text-color);
|
||||
background: var( --active-file-bg-color);
|
||||
}
|
||||
|
||||
.megamenu-menu-panel tbody tr:hover td:nth-child(2) {
|
||||
color: var(--text-color);
|
||||
background: var( --active-file-bg-color);
|
||||
}
|
||||
|
||||
.megamenu-menu-panel input[type='text'] {
|
||||
background: inherit;
|
||||
border: 1px var(--control-text-color) solid;
|
||||
}
|
||||
|
||||
#recent-file-panel-action-btn {
|
||||
background: inherit;
|
||||
}
|
||||
|
||||
.megamenu-menu, .megamenu-content {
|
||||
background: var(--side-bar-bg-color);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
#top-titlebar, #top-titlebar * {
|
||||
background: inherit;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.megamenu-menu-header #megamenu-menu-header-title:before {
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
megamenu-back-btn {
|
||||
color: var(--text-color);
|
||||
border-color: var(--text-color);
|
||||
}
|
||||
|
||||
.megamenu-menu-header #megamenu-menu-header-title,
|
||||
.megamenu-menu-header:hover,
|
||||
.megamenu-menu-header:focus {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.megamenu-menu-panel table tr:nth-child(2n + 1) {
|
||||
background-color: var(--side-bar-bg-color);
|
||||
}
|
||||
724
notion-darker-classic.css
Normal file
724
notion-darker-classic.css
Normal file
@@ -0,0 +1,724 @@
|
||||
:root {
|
||||
--primary-color: #c1c1c1;
|
||||
--bg-color: #191919;
|
||||
--bg-color-dark: #202020;
|
||||
--dark-trait: #393c3f;
|
||||
--light-trait-100: #3d4145;
|
||||
--light-trait-300: #72706b;
|
||||
--light-trait-400: #37352f;
|
||||
--text-color: #c1c0c1;
|
||||
--text-color-secondary: #73726e;
|
||||
--text-highlight-color: #fff;
|
||||
--text-highlight-bg: rgba(var(--primary-color-rgb), 0.3);
|
||||
--select-text-bg-color: #2e5767;
|
||||
--search-select-text-color: #eceded;
|
||||
--search-select-bg-color: #24312a;
|
||||
--code-color: #202020;
|
||||
--border-radius: 4px;
|
||||
--font-size: 16px;
|
||||
--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
|
||||
--monospace: 'SF Mono Medium', 'Fira Code', 'Cousine', 'Consolas', monospace;
|
||||
--heading-char-color: var(--light-trait-400);
|
||||
/* --color-popover-bg-color: var(--text-color); */
|
||||
--rawblock-edit-panel-bd: var(--bg-color-dark);
|
||||
--control-text-color: #afb1b2;
|
||||
--meta-content-color: var(--primary-color);
|
||||
--primary-btn-border-color: var(--primary-color);
|
||||
--side-bar-bg-color: var(--bg-color-dark);
|
||||
--item-hover-bg-color: #2c2c2c;
|
||||
--active-file-bg-color: #2c2c2c;
|
||||
--active-file-border-color: var(--bg-color);
|
||||
--window-border: 1px solid var(--bg-color);
|
||||
--focus-ring-color: transparent;
|
||||
--inline-code-bg-color: #2a2a28;
|
||||
--inline-code-text-color: #ec5757;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: var(--font-size);
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: var(--font-family);
|
||||
-webkit-font-smoothing: antialiased;
|
||||
color: var(--text-color);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
position: relative;
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 1rem;
|
||||
font-weight: 700;
|
||||
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, h2 tt, h2 code, h3 tt, h3 code, h4 tt, h4 code, h5 tt, h5 code, h6 tt, h6 code {
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
h1 {
|
||||
padding-bottom: 0.3em;
|
||||
font-size: 2.2em;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
h2 {
|
||||
padding-bottom: 0.3em;
|
||||
font-size: 1.75em;
|
||||
line-height: 1.225;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.4em;
|
||||
line-height: 1.43;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
h5 font-size: 1em;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 1em;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
p, blockquote, ul, ol, dl, table {
|
||||
margin: 0.8em 0;
|
||||
}
|
||||
|
||||
li>ol, li>ul {
|
||||
margin: 0 0;
|
||||
}
|
||||
|
||||
hr {
|
||||
background-color: var(--light-trait-100);
|
||||
height: 1.5px;
|
||||
border: none
|
||||
}
|
||||
|
||||
a,
|
||||
.md-def-url {
|
||||
color: var(--text-color);
|
||||
text-decoration: none;
|
||||
border-bottom:0.05em solid;
|
||||
border-color: #37352f;
|
||||
opacity:0.6;
|
||||
transition: all .1s ease-in;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
opacity:1;
|
||||
}
|
||||
|
||||
sup.md-footnote {
|
||||
/* Footnote reference coloring */
|
||||
background-color: #272626;
|
||||
color: #6b696a;
|
||||
}
|
||||
|
||||
li p.first {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
ul, ol {
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
ul:first-child, ol:first-child {
|
||||
margin-top: 0.35%;
|
||||
}
|
||||
|
||||
ul:last-child, ol:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
mark, .ty-file-search-match-text, .md-search-hit {
|
||||
/*Secondary search result color*/
|
||||
background: #3e2825;
|
||||
color: #eceded;
|
||||
}
|
||||
|
||||
mark {
|
||||
border-radius: 4px;
|
||||
color: #edecea;
|
||||
font-weight: inherit;
|
||||
background-color: #413324;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
margin-left: 2px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
|
||||
#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;
|
||||
}
|
||||
|
||||
.md-search-hit * {
|
||||
color: var(--search-select-text-color);
|
||||
}
|
||||
|
||||
/* Search highlight */
|
||||
.cm-search-hit.CodeMirror-selectedtext, .md-search-hit.md-search-select, .md-search-select {
|
||||
outline: 0px solid var(--search-select-text-color);
|
||||
}
|
||||
|
||||
.outline-item.select, .ty-search-item-line.select, .ty-search-item.select {
|
||||
outline-width: 2px;
|
||||
}
|
||||
|
||||
.outline-item.select {
|
||||
outline-offset: 0px;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin-left: 1.75px;
|
||||
margin-right: 0px;
|
||||
border-left: 4px solid var(--text-color);
|
||||
padding: 10px 14px 7px 22px;
|
||||
/* change the quote highlight */
|
||||
/* background-color: #252525; */
|
||||
}
|
||||
|
||||
blockquote blockquote {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
table {
|
||||
padding: 0;
|
||||
word-break: initial;
|
||||
}
|
||||
|
||||
table tr {
|
||||
border-top: 1px solid var(--dark-trait);
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
table tr th {
|
||||
font-weight: bold;
|
||||
border: 1px solid var(--dark-trait);
|
||||
border-bottom: 0;
|
||||
margin: 0;
|
||||
padding: 6px 13px;
|
||||
}
|
||||
|
||||
table tr td {
|
||||
border: 1px solid var(--dark-trait);
|
||||
margin: 0;
|
||||
padding: 6px 13px;
|
||||
}
|
||||
|
||||
table tr th:first-child, table tr td:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
table tr th:last-child, table tr td:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Alternating table: does not look good in dark mode*/
|
||||
|
||||
/* table tr:nth-child(2n) {
|
||||
background-color: #2f3437;
|
||||
} */
|
||||
|
||||
/* table tr:nth-child(2n + 1) {
|
||||
background-color: #373c3f;
|
||||
} */
|
||||
|
||||
kbd {
|
||||
font-size: 0.875rem;
|
||||
background: var(--bg-color-dark);
|
||||
border: 1px solid var(--dark-trait);
|
||||
box-shadow: 0 2px 0 var(--dark-trait);
|
||||
color: #acaeaf;
|
||||
}
|
||||
|
||||
.md-fences, tt {
|
||||
border: none;
|
||||
background-color: #202020;
|
||||
border-radius: var(--border-radius);
|
||||
padding: 2px 4px 0px 4px;
|
||||
font-size: 0.975em;
|
||||
font-weight: medium;
|
||||
font-family: var(--monospace);
|
||||
}
|
||||
|
||||
/* Inline code fences*/
|
||||
code {
|
||||
border: none;
|
||||
color: var(--inline-code-text-color);
|
||||
background-color: var(--inline-code-bg-color);
|
||||
border-radius: var(--border-radius);
|
||||
padding: 2px 4px 0px 4px;
|
||||
font-size: 0.975em;
|
||||
font-weight: medium;
|
||||
font-family: var(--monospace);
|
||||
}
|
||||
|
||||
.md-fences {
|
||||
margin-bottom: 15px;
|
||||
margin-top: 15px;
|
||||
padding-top: 8px;
|
||||
padding-bottom: 6px;
|
||||
}
|
||||
|
||||
#write pre.md-meta-block {
|
||||
padding: 1rem;
|
||||
font-size: 85%;
|
||||
line-height: 1.45;
|
||||
background-color: var(--bg-color-dark);
|
||||
border: 0;
|
||||
border-radius: var(--border-radius);
|
||||
color: var(--text-color-secondary);
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
#write .mathjax-block .md-rawblock-tooltip {
|
||||
border-top-left-radius: var(--border-radius);
|
||||
border-top-right-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
#write .mathjax-block .md-math-container {
|
||||
border-top-left-radius: var(--border-radius);
|
||||
border-bottom-right-radius: var(--border-radius);
|
||||
border-bottom-left-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
#write .md-mathblock-panel .md-rawblock-control:first-of-type {
|
||||
border-top-left-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
.md-mathjax-midline {
|
||||
background-color: var(--bg-color);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.md-inline-math script {
|
||||
color: var(--code-color);
|
||||
}
|
||||
|
||||
.CodeMirror-lines {
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
.code-tooltip {
|
||||
box-shadow: none;
|
||||
border-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
#write .code-tooltip {
|
||||
bottom: initial;
|
||||
top: 100%;
|
||||
left: initial;
|
||||
right: -1px;
|
||||
background: var(--bg-color-dark);
|
||||
border: 1px solid var(--dark-trait);
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
border-top: 0;
|
||||
font-family: var(--monospace);
|
||||
}
|
||||
|
||||
#write .md-mathblock-panel .code-tooltip {
|
||||
right: 0;
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* TODO */
|
||||
#write .md-task-list-item>input {
|
||||
-webkit-appearance: initial;
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
position: absolute;
|
||||
border: 1px solid var(--text-color);
|
||||
margin-left: -1.45rem;
|
||||
height: 0.95rem;
|
||||
width: 0.95rem;
|
||||
transition: all 0.35s;
|
||||
}
|
||||
|
||||
#write .md-task-list-item>input:focus {
|
||||
outline: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#write .md-task-list-item>input[checked] {
|
||||
background: #2eaadc;
|
||||
border: 1px solid #2eaadc;
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
#write .md-task-list-item>input[checked]::before {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
content: '✓';
|
||||
position: absolute;
|
||||
margin-top: 0.05rem;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
text-align: absolute;
|
||||
color: #ffffff;
|
||||
font-size: 0.75em;
|
||||
font-weight: 750;
|
||||
}
|
||||
#write .md-task-list-item>input[checked]::after {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
/* TODO */
|
||||
|
||||
.md-image>.md-meta {
|
||||
border-radius: var(--border-radius);
|
||||
padding: 2px 0px 0px 4px;
|
||||
font-size: 0.9em;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.md-toc {
|
||||
margin-top: 20px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
/* Source mode */
|
||||
.CodeMirror.cm-s-typora-default *, .cm-s-typora-default * {
|
||||
background: inherit;
|
||||
color: var(--text-color);
|
||||
font-family: var(--monospace);
|
||||
font-size: var(--font-size) !important;
|
||||
font-style: normal;
|
||||
font-weight: medium;
|
||||
}
|
||||
|
||||
.CodeMirror.cm-s-typora-default div.CodeMirror-cursor {
|
||||
border-left: 2px solid var(--text-color);
|
||||
}
|
||||
|
||||
.sidebar-tabs {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.outline-expander {
|
||||
width: 1.5rem;
|
||||
vertical-align: initial;
|
||||
}
|
||||
|
||||
.outline-expander:before, .outline-expander:hover:before, .outline-item-open>.outline-item>.outline-expander:before, .outline-item-open>.outline-item>.outline-expander:hover:before {
|
||||
content: "\f125";
|
||||
transition: transform 125ms ease-in-out;
|
||||
}
|
||||
|
||||
.outline-item-open>.outline-item>.outline-expander:hover:before, .outline-item-open>.outline-item>.outline-expander:before {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
.outline-label:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#toc-dropmenu {
|
||||
background: var(--bg-color-dark);
|
||||
}
|
||||
|
||||
#toc-dropmenu .outline-title {
|
||||
font-size: 1rem;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.dropdown-menu .divider {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.context-menu {
|
||||
border: none!important;
|
||||
backdrop-filter: saturate(180%) blur(20px) brightness(1.1);
|
||||
background-color: var(--bg-color-dark);
|
||||
box-shadow: 0 25.6px 57.6px 0 rgba(0, 0, 0, .22), 0 4.8px 14.4px 0 rgba(0, 0, 0, .18)!important;
|
||||
}
|
||||
|
||||
.file-node-background {
|
||||
height: 31px;
|
||||
}
|
||||
|
||||
.file-node-content:hover .file-node-icon, .file-node-content:hover .file-node-open-state {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.file-node-icon {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.file-library-node:not(.file-node-root):focus>.file-node-content {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* New file animation */
|
||||
.blink-area {
|
||||
animation: none;
|
||||
}
|
||||
|
||||
.file-list-item-summary {
|
||||
font-size: var(--font-size);
|
||||
font-family: var(--font-family);
|
||||
}
|
||||
|
||||
#md-searchpanel input {
|
||||
border-radius: var(--border-radius);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#md-searchpanel input:focus {
|
||||
box-shadow: none;
|
||||
border-color: var(--meta-content-color);
|
||||
}
|
||||
|
||||
#md-searchpanel .search-type-selection {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
#md-searchpanel .btn:not(.close-btn):hover {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.mac-seamless-mode #typora-sidebar {
|
||||
background-color: var(--side-bar-bg-color);
|
||||
}
|
||||
|
||||
#md-notification .btn {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/* CODE */
|
||||
pre.CodeMirror-line {
|
||||
color: #b8babb!important
|
||||
}
|
||||
|
||||
.cm-variable {
|
||||
color: var(--text-color)!important;
|
||||
}
|
||||
|
||||
.cm-keyword {
|
||||
color: #d1949e !important
|
||||
}
|
||||
|
||||
.cm-tag {
|
||||
color: #d1949e!important
|
||||
}
|
||||
|
||||
.cm-variable-3 {
|
||||
color: #bde052!important;
|
||||
}
|
||||
|
||||
.cm-bracket, .cm-error {
|
||||
color: #d1949e!important
|
||||
}
|
||||
|
||||
|
||||
.cm-attribute {
|
||||
color: #d1949e!important;
|
||||
/* font-style: italic!important; */
|
||||
}
|
||||
|
||||
.cm-def {
|
||||
color: #c2c0c1!important;
|
||||
}
|
||||
|
||||
.cm-comment {
|
||||
color: #998066!important;
|
||||
}
|
||||
|
||||
.cm-string {
|
||||
color: #bde052!important;
|
||||
font-variant-ligatures: common-ligatures!important;
|
||||
}
|
||||
|
||||
.cm-tag:not() {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.cm-operator {
|
||||
color: #f5b83d!important;
|
||||
}
|
||||
|
||||
.cm-number {
|
||||
color: #d1949e!important;
|
||||
}
|
||||
|
||||
.cm-meta {
|
||||
color: var(--text-color) !important;
|
||||
font-weight: 700!important;
|
||||
}
|
||||
|
||||
.cm-atom { color: #845dc4; }
|
||||
|
||||
|
||||
.cm-builtin {
|
||||
color: #bde052 !important;
|
||||
}
|
||||
|
||||
.cm-property {
|
||||
color: var(--text-color) !important;
|
||||
}
|
||||
|
||||
.cm-variable-2 {
|
||||
color: var(--text-color) !important;
|
||||
}
|
||||
|
||||
.cm-variable-3 {
|
||||
color: #845dc4;
|
||||
}
|
||||
|
||||
.file-tree-node.active>.file-node-background {
|
||||
background-color: var(--active-file-bg-color);
|
||||
border-left: 0px solid var(--active-file-bg-color)!important;
|
||||
border-color: var(--active-file-bg-color)!important;
|
||||
background-color: var(--active-file-bg-color)!important;
|
||||
}
|
||||
|
||||
.CodeMirror-gutters {
|
||||
border-right: 1px solid #f1f3f450;
|
||||
background: inherit;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.ty-footer, .sidebar-footer, footer {
|
||||
backdrop-filter: saturate(120%) blur(20px) brightness(0.85);
|
||||
border: none!important;
|
||||
background: none;
|
||||
background-color: --bg-color-dark;
|
||||
}
|
||||
|
||||
.code-tooltip {
|
||||
border-radius: 4px;
|
||||
background-color: #313334;
|
||||
box-shadow: 0 25.6px 57.6px 0 rgba(0, 0, 0, .52), 0 4.8px 14.4px 0 rgba(0, 0, 0, .28)!important;
|
||||
}
|
||||
|
||||
#sidebar-files-menu {
|
||||
border-radius: 4px;
|
||||
border: none!important;
|
||||
}
|
||||
|
||||
.code-tooltip.md-tooltip-hide.md-hover-tip {
|
||||
box-shadow: 0 25.6px 57.6px 0 rgba(0, 0, 0, .52), 0 4.8px 14.4px 0 rgba(0, 0, 0, .28);
|
||||
}
|
||||
|
||||
#typora-sidebar {
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
#footer-word-count-info, #spell-check-panel {
|
||||
border: none!important;
|
||||
backdrop-filter: saturate(120%) blur(20px) brightness(0.85)!important;
|
||||
box-shadow: 0 25.6px 57.6px 0 rgba(0, 0, 0, .32), 0 4.8px 14.4px 0 rgba(0, 0, 0, .28)!important;
|
||||
}
|
||||
/* Windows/Linux unibody mode */
|
||||
.megamenu-content,
|
||||
.megamenu-opened header {
|
||||
color: var(--primary-color);
|
||||
background: var(--bg-color-dark);
|
||||
}
|
||||
|
||||
#recent-file-panel-action-btn {
|
||||
background: inherit;
|
||||
border: 1px var(--light-trait-300) solid;
|
||||
}
|
||||
|
||||
.megamenu-menu-panel table td:nth-child(1) {
|
||||
color: var(--text-color);
|
||||
background: var(--bg-color-dark);
|
||||
}
|
||||
|
||||
.megamenu-menu-panel table td:nth-child(2) {
|
||||
color: var(--text-color);
|
||||
background: var(--bg-color-dark);
|
||||
}
|
||||
|
||||
.megamenu-menu-panel tbody tr:hover td:nth-child(1) {
|
||||
color: var(--text-color);
|
||||
background: var( --active-file-bg-color);
|
||||
}
|
||||
|
||||
.megamenu-menu-panel tbody tr:hover td:nth-child(2) {
|
||||
color: var(--text-color);
|
||||
background: var( --active-file-bg-color);
|
||||
}
|
||||
|
||||
.megamenu-menu-panel input[type='text'] {
|
||||
background: inherit;
|
||||
border: 1px var(--control-text-color) solid;
|
||||
}
|
||||
|
||||
#recent-file-panel-action-btn {
|
||||
background: inherit;
|
||||
}
|
||||
|
||||
.megamenu-menu, .megamenu-content {
|
||||
background: var(--side-bar-bg-color);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
#top-titlebar, #top-titlebar * {
|
||||
background: inherit;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.megamenu-menu-header #megamenu-menu-header-title:before {
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
megamenu-back-btn {
|
||||
color: var(--text-color);
|
||||
border-color: var(--text-color);
|
||||
}
|
||||
|
||||
.megamenu-menu-header #megamenu-menu-header-title,
|
||||
.megamenu-menu-header:hover,
|
||||
.megamenu-menu-header:focus {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.megamenu-menu-panel table tr:nth-child(2n + 1) {
|
||||
background-color: var(--side-bar-bg-color);
|
||||
}
|
||||
724
notion-darker-enhanced.css
Normal file
724
notion-darker-enhanced.css
Normal file
@@ -0,0 +1,724 @@
|
||||
:root {
|
||||
--primary-color: #c1c1c1;
|
||||
--bg-color: #191919;
|
||||
--bg-color-dark: #202020;
|
||||
--dark-trait: #393c3f;
|
||||
--light-trait-100: #3d4145;
|
||||
--light-trait-300: #72706b;
|
||||
--light-trait-400: #37352f;
|
||||
--text-color: #c1c0c1;
|
||||
--text-color-secondary: #73726e;
|
||||
--text-highlight-color: #fff;
|
||||
--text-highlight-bg: rgba(var(--primary-color-rgb), 0.3);
|
||||
--select-text-bg-color: #2e5767;
|
||||
--search-select-text-color: #eceded;
|
||||
--search-select-bg-color: #24312a;
|
||||
--code-color: #202020;
|
||||
--border-radius: 4px;
|
||||
--font-size: 16px;
|
||||
--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
|
||||
--monospace: 'SF Mono Medium', 'Fira Code', 'Cousine', 'Consolas', monospace;
|
||||
--heading-char-color: var(--light-trait-400);
|
||||
--color-popover-bg-color: var(--text-color);
|
||||
--rawblock-edit-panel-bd: var(--bg-color-dark);
|
||||
--control-text-color: #afb1b2;
|
||||
--meta-content-color: var(--primary-color);
|
||||
--primary-btn-border-color: var(--primary-color);
|
||||
--side-bar-bg-color: var(--bg-color-dark);
|
||||
--item-hover-bg-color: #2c2c2c;
|
||||
--active-file-bg-color: #2c2c2c;
|
||||
--active-file-border-color: var(--bg-color);
|
||||
--window-border: 1px solid var(--bg-color);
|
||||
--focus-ring-color: transparent;
|
||||
--inline-code-bg-color: #2a2a28;
|
||||
--inline-code-text-color: var(--text-color)
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: var(--font-size);
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: var(--font-family);
|
||||
-webkit-font-smoothing: antialiased;
|
||||
color: var(--text-color);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
position: relative;
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 1rem;
|
||||
font-weight: 700;
|
||||
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, h2 tt, h2 code, h3 tt, h3 code, h4 tt, h4 code, h5 tt, h5 code, h6 tt, h6 code {
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
h1 {
|
||||
padding-bottom: 0.3em;
|
||||
font-size: 2.2em;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
h2 {
|
||||
padding-bottom: 0.3em;
|
||||
font-size: 1.75em;
|
||||
line-height: 1.225;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.4em;
|
||||
line-height: 1.43;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
h5 font-size: 1em;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 1em;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
p, blockquote, ul, ol, dl, table {
|
||||
margin: 0.8em 0;
|
||||
}
|
||||
|
||||
li>ol, li>ul {
|
||||
margin: 0 0;
|
||||
}
|
||||
|
||||
hr {
|
||||
background-color: var(--light-trait-100);
|
||||
height: 1.5px;
|
||||
border: none
|
||||
}
|
||||
|
||||
a,
|
||||
.md-def-url {
|
||||
color: var(--text-color);
|
||||
text-decoration: none;
|
||||
border-bottom:0.05em solid;
|
||||
border-color: #37352f;
|
||||
opacity:0.6;
|
||||
transition: all .1s ease-in;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
opacity:1;
|
||||
}
|
||||
|
||||
sup.md-footnote {
|
||||
/* Footnote reference coloring */
|
||||
background-color: #272626;
|
||||
color: #6b696a;
|
||||
}
|
||||
|
||||
li p.first {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
ul, ol {
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
ul:first-child, ol:first-child {
|
||||
margin-top: 0.35%;
|
||||
}
|
||||
|
||||
ul:last-child, ol:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
mark, .ty-file-search-match-text, .md-search-hit {
|
||||
/*Secondary search result color*/
|
||||
background: #3e2825;
|
||||
color: #eceded;
|
||||
}
|
||||
|
||||
mark {
|
||||
border-radius: 4px;
|
||||
color: #edecea;
|
||||
font-weight: inherit;
|
||||
background-color: #413324;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
margin-left: 2px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
|
||||
#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;
|
||||
}
|
||||
|
||||
.md-search-hit * {
|
||||
color: var(--search-select-text-color);
|
||||
}
|
||||
|
||||
/* Search highlight */
|
||||
.cm-search-hit.CodeMirror-selectedtext, .md-search-hit.md-search-select, .md-search-select {
|
||||
outline: 0px solid var(--search-select-text-color);
|
||||
}
|
||||
|
||||
.outline-item.select, .ty-search-item-line.select, .ty-search-item.select {
|
||||
outline-width: 2px;
|
||||
}
|
||||
|
||||
.outline-item.select {
|
||||
outline-offset: 0px;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin-left: 1.75px;
|
||||
margin-right: 0px;
|
||||
border-left: 4px solid var(--text-color);
|
||||
padding: 10px 14px 7px 22px;
|
||||
/* change the quote highlight */
|
||||
background-color: #252525;
|
||||
}
|
||||
|
||||
blockquote blockquote {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
table {
|
||||
padding: 0;
|
||||
word-break: initial;
|
||||
}
|
||||
|
||||
table tr {
|
||||
border-top: 1px solid var(--dark-trait);
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
table tr th {
|
||||
font-weight: bold;
|
||||
border: 1px solid var(--dark-trait);
|
||||
border-bottom: 0;
|
||||
margin: 0;
|
||||
padding: 6px 13px;
|
||||
}
|
||||
|
||||
table tr td {
|
||||
border: 1px solid var(--dark-trait);
|
||||
margin: 0;
|
||||
padding: 6px 13px;
|
||||
}
|
||||
|
||||
table tr th:first-child, table tr td:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
table tr th:last-child, table tr td:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Alternating table: does not look good in dark mode*/
|
||||
|
||||
/* table tr:nth-child(2n) {
|
||||
background-color: #2f3437;
|
||||
} */
|
||||
|
||||
/* table tr:nth-child(2n + 1) {
|
||||
background-color: #373c3f;
|
||||
} */
|
||||
|
||||
kbd {
|
||||
font-size: 0.875rem;
|
||||
background: var(--bg-color-dark);
|
||||
border: 1px solid var(--dark-trait);
|
||||
box-shadow: 0 2px 0 var(--dark-trait);
|
||||
color: #acaeaf;
|
||||
}
|
||||
|
||||
.md-fences, tt {
|
||||
border: none;
|
||||
background-color: #202020;
|
||||
border-radius: var(--border-radius);
|
||||
padding: 2px 4px 0px 4px;
|
||||
font-size: 0.975em;
|
||||
font-weight: medium;
|
||||
font-family: var(--monospace);
|
||||
}
|
||||
|
||||
/* Inline code fences*/
|
||||
code {
|
||||
border: none;
|
||||
background-color: var(--inline-code-bg-color);
|
||||
border-radius: var(--border-radius);
|
||||
padding: 2px 4px 0px 4px;
|
||||
font-size: 0.975em;
|
||||
font-weight: medium;
|
||||
font-family: var(--monospace);
|
||||
}
|
||||
|
||||
.md-fences {
|
||||
margin-bottom: 15px;
|
||||
margin-top: 15px;
|
||||
padding-top: 8px;
|
||||
padding-bottom: 6px;
|
||||
}
|
||||
|
||||
#write pre.md-meta-block {
|
||||
padding: 1rem;
|
||||
font-size: 85%;
|
||||
line-height: 1.45;
|
||||
background-color: var(--bg-color-dark);
|
||||
border: 0;
|
||||
border-radius: var(--border-radius);
|
||||
color: var(--text-color-secondary);
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
#write .mathjax-block .md-rawblock-tooltip {
|
||||
border-top-left-radius: var(--border-radius);
|
||||
border-top-right-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
#write .mathjax-block .md-math-container {
|
||||
border-top-left-radius: var(--border-radius);
|
||||
border-bottom-right-radius: var(--border-radius);
|
||||
border-bottom-left-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
#write .md-mathblock-panel .md-rawblock-control:first-of-type {
|
||||
border-top-left-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
.md-mathjax-midline {
|
||||
background-color: var(--bg-color);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.md-inline-math script {
|
||||
color: var(--code-color);
|
||||
}
|
||||
|
||||
.CodeMirror-lines {
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
.code-tooltip {
|
||||
box-shadow: none;
|
||||
border-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
#write .code-tooltip {
|
||||
bottom: initial;
|
||||
top: 100%;
|
||||
left: initial;
|
||||
right: -1px;
|
||||
background: var(--bg-color-dark);
|
||||
border: 1px solid var(--dark-trait);
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
border-top: 0;
|
||||
font-family: var(--monospace);
|
||||
}
|
||||
|
||||
#write .md-mathblock-panel .code-tooltip {
|
||||
right: 0;
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* TODO */
|
||||
#write .md-task-list-item>input {
|
||||
-webkit-appearance: initial;
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
position: absolute;
|
||||
border: 1px solid var(--text-color);
|
||||
margin-left: -1.45rem;
|
||||
height: 0.95rem;
|
||||
width: 0.95rem;
|
||||
transition: all 0.35s;
|
||||
}
|
||||
|
||||
#write .md-task-list-item>input:focus {
|
||||
outline: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#write .md-task-list-item>input[checked] {
|
||||
background: #2eaadc;
|
||||
border: 1px solid #2eaadc;
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
#write .md-task-list-item>input[checked]::before {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
content: '✓';
|
||||
position: absolute;
|
||||
margin-top: 0.05rem;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
text-align: absolute;
|
||||
color: #ffffff;
|
||||
font-size: 0.75em;
|
||||
font-weight: 750;
|
||||
}
|
||||
#write .md-task-list-item>input[checked]::after {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
/* TODO */
|
||||
|
||||
.md-image>.md-meta {
|
||||
border-radius: var(--border-radius);
|
||||
padding: 2px 0px 0px 4px;
|
||||
font-size: 0.9em;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.md-toc {
|
||||
margin-top: 20px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
/* Source mode */
|
||||
.CodeMirror.cm-s-typora-default *, .cm-s-typora-default * {
|
||||
background: inherit;
|
||||
color: var(--text-color);
|
||||
font-family: var(--monospace);
|
||||
font-size: var(--font-size) !important;
|
||||
font-style: normal;
|
||||
font-weight: medium;
|
||||
}
|
||||
|
||||
.CodeMirror.cm-s-typora-default div.CodeMirror-cursor {
|
||||
border-left: 2px solid var(--text-color);
|
||||
}
|
||||
|
||||
.sidebar-tabs {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.outline-expander {
|
||||
width: 1.5rem;
|
||||
vertical-align: initial;
|
||||
}
|
||||
|
||||
.outline-expander:before, .outline-expander:hover:before, .outline-item-open>.outline-item>.outline-expander:before, .outline-item-open>.outline-item>.outline-expander:hover:before {
|
||||
content: "\f125";
|
||||
transition: transform 125ms ease-in-out;
|
||||
}
|
||||
|
||||
.outline-item-open>.outline-item>.outline-expander:hover:before, .outline-item-open>.outline-item>.outline-expander:before {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
.outline-label:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#toc-dropmenu {
|
||||
background: var(--bg-color-dark);
|
||||
}
|
||||
|
||||
#toc-dropmenu .outline-title {
|
||||
font-size: 1rem;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.dropdown-menu .divider {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.context-menu {
|
||||
border: none!important;
|
||||
backdrop-filter: saturate(180%) blur(20px) brightness(1.1);
|
||||
background-color: var(--bg-color-dark);
|
||||
box-shadow: 0 25.6px 57.6px 0 rgba(0, 0, 0, .22), 0 4.8px 14.4px 0 rgba(0, 0, 0, .18)!important;
|
||||
}
|
||||
|
||||
.file-node-background {
|
||||
height: 31px;
|
||||
}
|
||||
|
||||
.file-node-content:hover .file-node-icon, .file-node-content:hover .file-node-open-state {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.file-node-icon {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.file-library-node:not(.file-node-root):focus>.file-node-content {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* New file animation */
|
||||
.blink-area {
|
||||
animation: none;
|
||||
}
|
||||
|
||||
.file-list-item-summary {
|
||||
font-size: var(--font-size);
|
||||
font-family: var(--font-family);
|
||||
}
|
||||
|
||||
#md-searchpanel input {
|
||||
border-radius: var(--border-radius);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#md-searchpanel input:focus {
|
||||
box-shadow: none;
|
||||
border-color: var(--meta-content-color);
|
||||
}
|
||||
|
||||
#md-searchpanel .search-type-selection {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
#md-searchpanel .btn:not(.close-btn):hover {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.mac-seamless-mode #typora-sidebar {
|
||||
background-color: var(--side-bar-bg-color);
|
||||
}
|
||||
|
||||
#md-notification .btn {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/* CODE */
|
||||
pre.CodeMirror-line {
|
||||
color: #b8babb!important
|
||||
}
|
||||
|
||||
.cm-variable {
|
||||
color: var(--text-color)!important;
|
||||
}
|
||||
|
||||
.cm-keyword {
|
||||
color: #d1949e !important
|
||||
}
|
||||
|
||||
.cm-tag {
|
||||
color: #d1949e!important
|
||||
}
|
||||
|
||||
.cm-variable-3 {
|
||||
color: #bde052!important;
|
||||
}
|
||||
|
||||
.cm-bracket, .cm-error {
|
||||
color: #d1949e!important
|
||||
}
|
||||
|
||||
|
||||
.cm-attribute {
|
||||
color: #d1949e!important;
|
||||
/* font-style: italic!important; */
|
||||
}
|
||||
|
||||
.cm-def {
|
||||
color: #c2c0c1!important;
|
||||
}
|
||||
|
||||
.cm-comment {
|
||||
color: #998066!important;
|
||||
}
|
||||
|
||||
.cm-string {
|
||||
color: #bde052!important;
|
||||
font-variant-ligatures: common-ligatures!important;
|
||||
}
|
||||
|
||||
.cm-tag:not() {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.cm-operator {
|
||||
color: #f5b83d!important;
|
||||
}
|
||||
|
||||
.cm-number {
|
||||
color: #d1949e!important;
|
||||
}
|
||||
|
||||
.cm-meta {
|
||||
color: var(--text-color) !important;
|
||||
font-weight: 700!important;
|
||||
}
|
||||
|
||||
.cm-atom { color: #845dc4; }
|
||||
|
||||
|
||||
.cm-builtin {
|
||||
color: #bde052 !important;
|
||||
}
|
||||
|
||||
.cm-property {
|
||||
color: var(--text-color) !important;
|
||||
}
|
||||
|
||||
.cm-variable-2 {
|
||||
color: var(--text-color) !important;
|
||||
}
|
||||
|
||||
.cm-variable-3 {
|
||||
color: #845dc4;
|
||||
}
|
||||
|
||||
.file-tree-node.active>.file-node-background {
|
||||
background-color: var(--active-file-bg-color);
|
||||
border-left: 0px solid var(--active-file-bg-color)!important;
|
||||
border-color: var(--active-file-bg-color)!important;
|
||||
background-color: var(--active-file-bg-color)!important;
|
||||
}
|
||||
|
||||
.CodeMirror-gutters {
|
||||
border-right: 1px solid #f1f3f450;
|
||||
background: inherit;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.ty-footer, .sidebar-footer, footer {
|
||||
backdrop-filter: saturate(120%) blur(20px) brightness(0.85);
|
||||
border: none!important;
|
||||
background: none;
|
||||
background-color: --bg-color-dark;
|
||||
}
|
||||
|
||||
.code-tooltip {
|
||||
border-radius: 4px;
|
||||
background-color: #313334;
|
||||
box-shadow: 0 25.6px 57.6px 0 rgba(0, 0, 0, .52), 0 4.8px 14.4px 0 rgba(0, 0, 0, .28)!important;
|
||||
}
|
||||
|
||||
#sidebar-files-menu {
|
||||
border-radius: 4px;
|
||||
border: none!important;
|
||||
}
|
||||
|
||||
.code-tooltip.md-tooltip-hide.md-hover-tip {
|
||||
box-shadow: 0 25.6px 57.6px 0 rgba(0, 0, 0, .52), 0 4.8px 14.4px 0 rgba(0, 0, 0, .28);
|
||||
}
|
||||
|
||||
#typora-sidebar {
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
#footer-word-count-info, #spell-check-panel {
|
||||
border: none!important;
|
||||
backdrop-filter: saturate(120%) blur(20px) brightness(0.85)!important;
|
||||
box-shadow: 0 25.6px 57.6px 0 rgba(0, 0, 0, .32), 0 4.8px 14.4px 0 rgba(0, 0, 0, .28)!important;
|
||||
}
|
||||
|
||||
/* Windows/Linux unibody mode */
|
||||
.megamenu-content,
|
||||
.megamenu-opened header {
|
||||
color: var(--primary-color);
|
||||
background: var(--bg-color-dark);
|
||||
}
|
||||
|
||||
#recent-file-panel-action-btn {
|
||||
background: inherit;
|
||||
border: 1px var(--light-trait-300) solid;
|
||||
}
|
||||
|
||||
.megamenu-menu-panel table td:nth-child(1) {
|
||||
color: var(--text-color);
|
||||
background: var(--bg-color-dark);
|
||||
}
|
||||
|
||||
.megamenu-menu-panel table td:nth-child(2) {
|
||||
color: var(--text-color);
|
||||
background: var(--bg-color-dark);
|
||||
}
|
||||
|
||||
.megamenu-menu-panel tbody tr:hover td:nth-child(1) {
|
||||
color: var(--text-color);
|
||||
background: var( --active-file-bg-color);
|
||||
}
|
||||
|
||||
.megamenu-menu-panel tbody tr:hover td:nth-child(2) {
|
||||
color: var(--text-color);
|
||||
background: var( --active-file-bg-color);
|
||||
}
|
||||
|
||||
.megamenu-menu-panel input[type='text'] {
|
||||
background: inherit;
|
||||
border: 1px var(--control-text-color) solid;
|
||||
}
|
||||
|
||||
#recent-file-panel-action-btn {
|
||||
background: inherit;
|
||||
}
|
||||
|
||||
.megamenu-menu, .megamenu-content {
|
||||
background: var(--side-bar-bg-color);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
#top-titlebar, #top-titlebar * {
|
||||
background: inherit;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.megamenu-menu-header #megamenu-menu-header-title:before {
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
megamenu-back-btn {
|
||||
color: var(--text-color);
|
||||
border-color: var(--text-color);
|
||||
}
|
||||
|
||||
.megamenu-menu-header #megamenu-menu-header-title,
|
||||
.megamenu-menu-header:hover,
|
||||
.megamenu-menu-header:focus {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.megamenu-menu-panel table tr:nth-child(2n + 1) {
|
||||
background-color: var(--side-bar-bg-color);
|
||||
}
|
||||
702
notion-light-classic.css
Normal file
702
notion-light-classic.css
Normal file
@@ -0,0 +1,702 @@
|
||||
:root {
|
||||
--primary-color: #37352f;
|
||||
--bg-color: #ffffff;
|
||||
--bg-color-dark: #f7f6f3;
|
||||
--dark-trait: #e9e9e7;
|
||||
--light-trait-100: #ecedec;
|
||||
--light-trait-200: #c70000;
|
||||
--light-trait-300: #37352f;
|
||||
--light-trait-400: #f7f6f3;
|
||||
--text-color: #37352f;
|
||||
--text-color-secondary: #73726e;
|
||||
--text-highlight-color: #fff;
|
||||
--text-highlight-bg: rgba(var(--primary-color-rgb), 0.3);
|
||||
--select-text-bg-color: #c0e5f4;
|
||||
--search-select-text-color:#448361;
|
||||
--search-select-bg-color: #edf3ec;
|
||||
--code-color: #9a6e3a;
|
||||
--border-radius: 4px;
|
||||
--font-size: 16px;
|
||||
--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
|
||||
--monospace: 'SF Mono Medium', 'Fira Code', 'Cousine', 'Consolas', monospace;
|
||||
--heading-char-color: var(--light-trait-400);
|
||||
--color-popover-bg-color: var(--text-color);
|
||||
--rawblock-edit-panel-bd: var(--bg-color-dark);
|
||||
--control-text-color: #72706b;
|
||||
--meta-content-color: var(--primary-color);
|
||||
--primary-btn-border-color: var(--primary-color);
|
||||
--side-bar-bg-color: var(--bg-color-dark);
|
||||
--item-hover-bg-color: #e8e7e4;
|
||||
--active-file-bg-color: #e8e7e4;
|
||||
--active-file-border-color: var(--bg-color);
|
||||
--window-border: 1px solid var(--bg-color);
|
||||
--focus-ring-color: transparent;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: var(--font-size);
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: var(--font-family);
|
||||
-webkit-font-smoothing: antialiased;
|
||||
color: var(--text-color);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
code {
|
||||
color: #ec5757;
|
||||
background-color: #eeedeb;
|
||||
padding: 0 2px 0 2px;
|
||||
}
|
||||
|
||||
#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: var(--primary-color);
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
position: relative;
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 1rem;
|
||||
font-weight: 700;
|
||||
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, h2 tt, h2 code, h3 tt, h3 code, h4 tt, h4 code, h5 tt, h5 code, h6 tt, h6 code {
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
h1 {
|
||||
padding-bottom: 0.3em;
|
||||
font-size: 2.2em;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
h2 {
|
||||
padding-bottom: 0.3em;
|
||||
font-size: 1.75em;
|
||||
line-height: 1.225;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.4em;
|
||||
line-height: 1.43;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 1em;
|
||||
color: var(--light-trait-300);
|
||||
}
|
||||
|
||||
p, blockquote, ul, ol, dl, table {
|
||||
margin: 0.8em 0;
|
||||
}
|
||||
|
||||
li>ol, li>ul {
|
||||
margin: 0 0;
|
||||
}
|
||||
|
||||
hr {
|
||||
background-color: var(--light-trait-100);
|
||||
height: 1.5px;
|
||||
border: none
|
||||
}
|
||||
|
||||
a,
|
||||
.md-def-url {
|
||||
color: var(--text-color);
|
||||
text-decoration: none;
|
||||
border-bottom:0.05em solid;
|
||||
border-color: #37352f;
|
||||
opacity:0.6;
|
||||
transition: all .1s ease-in;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
opacity:1;
|
||||
}
|
||||
|
||||
sup.md-footnote {
|
||||
background-color: var(--light-trait-400);
|
||||
color: #888884;
|
||||
}
|
||||
|
||||
li p.first {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
ul, ol {
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
ul:first-child, ol:first-child {
|
||||
margin-top: 0.35%;
|
||||
}
|
||||
|
||||
ul:last-child, ol:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
mark, .ty-file-search-match-text, .md-search-hit {
|
||||
background: #fdebec;
|
||||
color: #d44c47;
|
||||
}
|
||||
|
||||
mark {
|
||||
border-radius: 4px;
|
||||
color: #402c1b;
|
||||
font-weight: inherit;
|
||||
background-color: #fdecc8;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
margin-left: 2px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
.md-search-hit * {
|
||||
color: var(--search-select-text-color);
|
||||
}
|
||||
|
||||
/* Search highlight */
|
||||
.cm-search-hit.CodeMirror-selectedtext, .md-search-hit.md-search-select, .md-search-select {
|
||||
outline: 0px solid var(--search-select-text-color);
|
||||
}
|
||||
|
||||
.outline-item.select, .ty-search-item-line.select, .ty-search-item.select {
|
||||
outline-width: 2px;
|
||||
}
|
||||
|
||||
.outline-item.select {
|
||||
outline-offset: 0px;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin-left: 1.75px;
|
||||
margin-right: 0px;
|
||||
border-left: 4px solid var(--text-color);
|
||||
padding: 10px 14px 7px 22px;
|
||||
}
|
||||
|
||||
blockquote blockquote {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
table {
|
||||
padding: 0;
|
||||
word-break: initial;
|
||||
}
|
||||
|
||||
table tr {
|
||||
border-top: 1px solid var(--dark-trait);
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
table tr th {
|
||||
font-weight: bold;
|
||||
border: 1px solid var(--dark-trait);
|
||||
border-bottom: 0;
|
||||
margin: 0;
|
||||
padding: 6px 13px;
|
||||
}
|
||||
|
||||
table tr td {
|
||||
border: 1px solid var(--dark-trait);
|
||||
margin: 0;
|
||||
padding: 6px 13px;
|
||||
}
|
||||
|
||||
table tr th:first-child, table tr td:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
table tr th:last-child, table tr td:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
|
||||
kbd {
|
||||
font-size: 0.875rem;
|
||||
background: var(--bg-color-dark);
|
||||
border: 1px solid var(--dark-trait);
|
||||
box-shadow: 0 2px 0 var(--dark-trait);
|
||||
color: var(--text-color-secondary);
|
||||
}
|
||||
|
||||
.md-fences, code, tt {
|
||||
border: none;
|
||||
background-color: #f7f6f3;
|
||||
border-radius: var(--border-radius);
|
||||
padding: 2px 4px 0px 4px;
|
||||
font-size: 0.975em;
|
||||
font-weight: medium;
|
||||
font-family: var(--monospace)
|
||||
}
|
||||
.md-fences {
|
||||
margin-bottom: 15px;
|
||||
margin-top: 15px;
|
||||
padding-top: 8px;
|
||||
padding-bottom: 6px;
|
||||
}
|
||||
|
||||
#write pre.md-meta-block {
|
||||
padding: 1rem;
|
||||
font-size: 85%;
|
||||
line-height: 1.45;
|
||||
background-color: var(--bg-color-dark);
|
||||
border: 0;
|
||||
border-radius: var(--border-radius);
|
||||
color: var(--text-color-secondary);
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
#write .mathjax-block .md-rawblock-tooltip {
|
||||
border-top-left-radius: var(--border-radius);
|
||||
border-top-right-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
#write .mathjax-block .md-math-container {
|
||||
border-top-left-radius: var(--border-radius);
|
||||
border-bottom-right-radius: var(--border-radius);
|
||||
border-bottom-left-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
#write .md-mathblock-panel .md-rawblock-control:first-of-type {
|
||||
border-top-left-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
.md-mathjax-midline {
|
||||
background-color: var(--bg-color);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.md-inline-math script {
|
||||
color: var(--code-color);
|
||||
}
|
||||
|
||||
.CodeMirror-lines {
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
.code-tooltip {
|
||||
box-shadow: none;
|
||||
border-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
#write .code-tooltip {
|
||||
bottom: initial;
|
||||
top: 100%;
|
||||
left: initial;
|
||||
right: -1px;
|
||||
background: var(--bg-color-dark);
|
||||
border: 1px solid var(--dark-trait);
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
border-top: 0;
|
||||
font-family: var(--monospace);
|
||||
}
|
||||
|
||||
#write .md-mathblock-panel .code-tooltip {
|
||||
right: 0;
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* TODO */
|
||||
#write .md-task-list-item>input {
|
||||
-webkit-appearance: initial;
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
position: absolute;
|
||||
border: 1px solid var(--text-color);
|
||||
/* border-radius: 100%; */
|
||||
margin-left: -1.45rem;
|
||||
height: 0.95rem;
|
||||
width: 0.95rem;
|
||||
transition: all 0.35s;
|
||||
}
|
||||
|
||||
#write .md-task-list-item>input:focus {
|
||||
outline: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#write .md-task-list-item>input[checked] {
|
||||
background: #2eaadc;
|
||||
border: 1px solid #2eaadc;
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
#write .md-task-list-item>input[checked]::before {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
content: '✓';
|
||||
position: absolute;
|
||||
margin-top: 0.05rem;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
text-align: absolute;
|
||||
color: var(--bg-color);
|
||||
font-size: 0.75em;
|
||||
font-weight: 760;
|
||||
}
|
||||
|
||||
#write .md-task-list-item>input[checked]::after {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
/* TODO */
|
||||
.md-image>.md-meta {
|
||||
border-radius: var(--border-radius);
|
||||
padding: 2px 0px 0px 4px;
|
||||
font-size: 0.9em;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.md-toc {
|
||||
margin-top: 20px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
/* Source mode */
|
||||
.CodeMirror.cm-s-typora-default *, .cm-s-typora-default * {
|
||||
background: inherit;
|
||||
color: var(--text-color);
|
||||
font-family: var(--monospace);
|
||||
font-size: var(--font-size) !important;
|
||||
font-style: normal;
|
||||
font-weight: medium;
|
||||
}
|
||||
|
||||
.CodeMirror.cm-s-typora-default div.CodeMirror-cursor {
|
||||
border-left: 2px solid var(--text-color);
|
||||
}
|
||||
|
||||
.sidebar-tabs {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.outline-expander {
|
||||
width: 1.5rem;
|
||||
vertical-align: initial;
|
||||
}
|
||||
|
||||
.outline-expander:before, .outline-expander:hover:before, .outline-item-open>.outline-item>.outline-expander:before, .outline-item-open>.outline-item>.outline-expander:hover:before {
|
||||
content: "\f125";
|
||||
transition: transform 125ms ease-in-out;
|
||||
}
|
||||
|
||||
.outline-item-open>.outline-item>.outline-expander:hover:before, .outline-item-open>.outline-item>.outline-expander:before {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
.outline-label:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#toc-dropmenu {
|
||||
background: var(--bg-color-dark);
|
||||
}
|
||||
|
||||
#toc-dropmenu .outline-title {
|
||||
font-size: 1rem;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.dropdown-menu .divider {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.context-menu {
|
||||
border: none!important;
|
||||
backdrop-filter: saturate(180%) blur(20px) brightness(1.1);
|
||||
background-color: var(--bg-color-dark);
|
||||
box-shadow: 0 25.6px 57.6px 0 rgba(0, 0, 0, .22), 0 4.8px 14.4px 0 rgba(0, 0, 0, .18)!important;
|
||||
}
|
||||
|
||||
.file-node-background {
|
||||
height: 31px;
|
||||
}
|
||||
|
||||
.file-node-content:hover .file-node-icon, .file-node-content:hover .file-node-open-state {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.file-node-icon {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.file-library-node:not(.file-node-root):focus>.file-node-content {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* New file animation */
|
||||
.blink-area {
|
||||
animation: none;
|
||||
}
|
||||
|
||||
.file-list-item-summary {
|
||||
font-size: var(--font-size);
|
||||
font-family: var(--font-family);
|
||||
}
|
||||
|
||||
#md-searchpanel input {
|
||||
border-radius: var(--border-radius);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#md-searchpanel input:focus {
|
||||
box-shadow: none;
|
||||
border-color: var(--meta-content-color);
|
||||
}
|
||||
|
||||
#md-searchpanel .search-type-selection {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
#md-searchpanel .btn:not(.close-btn):hover {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.mac-seamless-mode #typora-sidebar {
|
||||
background-color: var(--side-bar-bg-color);
|
||||
}
|
||||
|
||||
#md-notification .btn {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/* CODE HIGHLIGHT */
|
||||
pre.CodeMirror-line {
|
||||
color: #999999!important
|
||||
}
|
||||
|
||||
.cm-variable {
|
||||
color: #37352f!important;
|
||||
}
|
||||
|
||||
.cm-keyword {
|
||||
color: #0277aa !important
|
||||
}
|
||||
|
||||
.cm-tag {
|
||||
color: #ff5a5a!important
|
||||
}
|
||||
|
||||
.cm-variable-3 {
|
||||
color: #48ff00!important;
|
||||
}
|
||||
|
||||
.cm-bracket, .cm-error {
|
||||
color: #ff5a5a!important
|
||||
}
|
||||
|
||||
.cm-attribute {
|
||||
color: #0277aa!important;
|
||||
}
|
||||
|
||||
.cm-def {
|
||||
color: #dc4a68!important;
|
||||
}
|
||||
|
||||
.cm-comment {
|
||||
color: #708090!important;
|
||||
}
|
||||
|
||||
.cm-string {
|
||||
color: #669900!important;
|
||||
font-variant-ligatures: common-ligatures!important;
|
||||
}
|
||||
|
||||
.cm-tag:not() {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.cm-operator {
|
||||
color: #9a6e3b!important;
|
||||
}
|
||||
|
||||
.cm-number {
|
||||
color: #990055!important;
|
||||
}
|
||||
|
||||
.cm-meta {
|
||||
color: var(--text-color) !important;
|
||||
font-weight: 700!important;
|
||||
}
|
||||
|
||||
.cm-atom { color: #845dc4; }
|
||||
|
||||
.cm-builtin {
|
||||
color: #669900 !important;
|
||||
}
|
||||
|
||||
.cm-property {
|
||||
color: var(--text-color) !important;
|
||||
}
|
||||
|
||||
.cm-variable-2 {
|
||||
color: var(--text-color) !important;
|
||||
}
|
||||
|
||||
.cm-variable-3 {
|
||||
color: #845dc4;
|
||||
}
|
||||
|
||||
/* CODE HIGHLIGHT */
|
||||
.file-tree-node.active>.file-node-background {
|
||||
background-color: var(--active-file-bg-color);
|
||||
border-left: 0px solid #dad9d6!important;
|
||||
border-color: #dad9d6!important;
|
||||
background-color: #e8e7e4!important;
|
||||
}
|
||||
|
||||
.CodeMirror-gutters {
|
||||
border-right: 1px solid #f1f3f450;
|
||||
background: inherit;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.ty-footer, .sidebar-footer, footer {
|
||||
backdrop-filter: saturate(120%) blur(20px) brightness(0.85);
|
||||
border: none!important;
|
||||
background: none;
|
||||
background-color: #f7f6f3;
|
||||
}
|
||||
|
||||
.code-tooltip {
|
||||
border-radius: 4px;
|
||||
background-color: #313334;
|
||||
box-shadow: 0 25.6px 57.6px 0 rgba(0, 0, 0, .52), 0 4.8px 14.4px 0 rgba(0, 0, 0, .28)!important;
|
||||
}
|
||||
|
||||
#sidebar-files-menu {
|
||||
border-radius: 4px;
|
||||
border: none!important;
|
||||
box-shadow: 0 25.6px 57.6px 0 #f7f6f3, 0 4.8px 14.4px 0 rgba(0, 0, 0, .28);
|
||||
}
|
||||
|
||||
.code-tooltip.md-tooltip-hide.md-hover-tip {
|
||||
box-shadow: 0 25.6px 57.6px 0 rgba(0, 0, 0, .52), 0 4.8px 14.4px 0 rgba(0, 0, 0, .28);
|
||||
}
|
||||
|
||||
#typora-sidebar {
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
#footer-word-count-info, #spell-check-panel {
|
||||
border: none!important;
|
||||
backdrop-filter: saturate(120%) blur(20px) brightness(0.85)!important;
|
||||
box-shadow: 0 25.6px 57.6px 0 rgba(0, 0, 0, .32), 0 4.8px 14.4px 0 rgba(0, 0, 0, .28)!important;
|
||||
}
|
||||
|
||||
/* Windows/Linux unibody mode */
|
||||
.megamenu-content,
|
||||
.megamenu-opened header {
|
||||
color: var(--primary-color);
|
||||
background: var(--bg-color-dark);
|
||||
}
|
||||
|
||||
#recent-file-panel-action-btn {
|
||||
background: inherit;
|
||||
border: 1px var(--light-trait-300) solid;
|
||||
}
|
||||
|
||||
.megamenu-menu-panel table td:nth-child(1) {
|
||||
color: var(--text-color);
|
||||
background: var(--bg-color-dark);
|
||||
}
|
||||
|
||||
.megamenu-menu-panel table td:nth-child(2) {
|
||||
color: var(--text-color);
|
||||
background: var(--bg-color-dark);
|
||||
}
|
||||
|
||||
.megamenu-menu-panel tbody tr:hover td:nth-child(1) {
|
||||
color: var(--text-color);
|
||||
background: var( --active-file-bg-color);
|
||||
}
|
||||
|
||||
.megamenu-menu-panel tbody tr:hover td:nth-child(2) {
|
||||
color: var(--text-color);
|
||||
background: var( --active-file-bg-color);
|
||||
}
|
||||
|
||||
.megamenu-menu-panel input[type='text'] {
|
||||
background: inherit;
|
||||
border: 1px var(--control-text-color) solid;
|
||||
}
|
||||
|
||||
#recent-file-panel-action-btn {
|
||||
background: inherit;
|
||||
}
|
||||
|
||||
.megamenu-menu, .megamenu-content {
|
||||
background: var(--side-bar-bg-color);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
#top-titlebar, #top-titlebar * {
|
||||
background: inherit;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.megamenu-menu-header #megamenu-menu-header-title:before {
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
megamenu-back-btn {
|
||||
color: var(--text-color);
|
||||
border-color: var(--text-color);
|
||||
}
|
||||
|
||||
.megamenu-menu-header #megamenu-menu-header-title,
|
||||
.megamenu-menu-header:hover,
|
||||
.megamenu-menu-header:focus {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.megamenu-menu-panel table tr:nth-child(2n + 1) {
|
||||
background-color: var(--side-bar-bg-color);
|
||||
}
|
||||
713
notion-light-enhanced.css
Normal file
713
notion-light-enhanced.css
Normal file
@@ -0,0 +1,713 @@
|
||||
:root {
|
||||
--primary-color: #37352f;
|
||||
--bg-color: #ffffff;
|
||||
--bg-color-dark: #f7f6f3;
|
||||
--dark-trait: #e9e9e7;
|
||||
--light-trait-100: #ecedec;
|
||||
--light-trait-200: #c70000;
|
||||
--light-trait-300: #37352f;
|
||||
--light-trait-400: #f7f6f3;
|
||||
--text-color: #37352f;
|
||||
--text-color-secondary: #73726e;
|
||||
--text-highlight-color: #fff;
|
||||
--text-highlight-bg: rgba(var(--primary-color-rgb), 0.3);
|
||||
--select-text-bg-color: #c0e5f4;
|
||||
--search-select-text-color:#448361;
|
||||
--search-select-bg-color: #edf3ec;
|
||||
--code-color: #9a6e3a;
|
||||
--border-radius: 4px;
|
||||
--font-size: 16px;
|
||||
--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
|
||||
--monospace: 'SF Mono Medium', 'Fira Code', 'Cousine', 'Consolas', monospace;
|
||||
--heading-char-color: var(--light-trait-400);
|
||||
--color-popover-bg-color: var(--text-color);
|
||||
--rawblock-edit-panel-bd: var(--bg-color-dark);
|
||||
--control-text-color: #72706b;
|
||||
--meta-content-color: var(--primary-color);
|
||||
--primary-btn-border-color: var(--primary-color);
|
||||
--side-bar-bg-color: var(--bg-color-dark);
|
||||
--item-hover-bg-color: #e8e7e4;
|
||||
--active-file-bg-color: #e8e7e4;
|
||||
--active-file-border-color: var(--bg-color);
|
||||
--window-border: 1px solid var(--bg-color);
|
||||
--focus-ring-color: transparent;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: var(--font-size);
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: var(--font-family);
|
||||
-webkit-font-smoothing: antialiased;
|
||||
color: var(--text-color);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
code {
|
||||
background-color: #f7f6f3;
|
||||
padding: 0 2px 0 2px;
|
||||
}
|
||||
|
||||
#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: var(--primary-color);
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
position: relative;
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 1rem;
|
||||
font-weight: 700;
|
||||
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, h2 tt, h2 code, h3 tt, h3 code, h4 tt, h4 code, h5 tt, h5 code, h6 tt, h6 code {
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
h1 {
|
||||
padding-bottom: 0.3em;
|
||||
font-size: 2.2em;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
h2 {
|
||||
padding-bottom: 0.3em;
|
||||
font-size: 1.75em;
|
||||
line-height: 1.225;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.4em;
|
||||
line-height: 1.43;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 1em;
|
||||
color: var(--light-trait-300);
|
||||
}
|
||||
|
||||
p, blockquote, ul, ol, dl, table {
|
||||
margin: 0.8em 0;
|
||||
}
|
||||
|
||||
li>ol, li>ul {
|
||||
margin: 0 0;
|
||||
}
|
||||
|
||||
hr {
|
||||
background-color: var(--light-trait-100);
|
||||
height: 1.5px;
|
||||
border: none
|
||||
}
|
||||
|
||||
a,
|
||||
.md-def-url {
|
||||
color: var(--text-color);
|
||||
text-decoration: none;
|
||||
border-bottom:0.05em solid;
|
||||
border-color: #37352f;
|
||||
opacity:0.6;
|
||||
transition: all .1s ease-in;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
opacity:1;
|
||||
}
|
||||
|
||||
sup.md-footnote {
|
||||
background-color: var(--light-trait-400);
|
||||
color: #888884;
|
||||
}
|
||||
|
||||
li p.first {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
ul, ol {
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
ul:first-child, ol:first-child {
|
||||
margin-top: 0.35%;
|
||||
}
|
||||
|
||||
ul:last-child, ol:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
mark, .ty-file-search-match-text, .md-search-hit {
|
||||
background: #fdebec;
|
||||
color: #d44c47;
|
||||
}
|
||||
|
||||
mark {
|
||||
border-radius: 4px;
|
||||
color: #402c1b;
|
||||
font-weight: inherit;
|
||||
background-color: #fdecc8;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
margin-left: 2px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
.md-search-hit * {
|
||||
color: var(--search-select-text-color);
|
||||
}
|
||||
|
||||
/* Search highlight */
|
||||
.cm-search-hit.CodeMirror-selectedtext, .md-search-hit.md-search-select, .md-search-select {
|
||||
outline: 0px solid var(--search-select-text-color);
|
||||
}
|
||||
|
||||
.outline-item.select, .ty-search-item-line.select, .ty-search-item.select {
|
||||
outline-width: 2px;
|
||||
}
|
||||
|
||||
.outline-item.select {
|
||||
outline-offset: 0px;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin-left: 1.75px;
|
||||
margin-right: 0px;
|
||||
border-left: 4px solid var(--text-color);
|
||||
padding: 10px 14px 7px 22px;
|
||||
/* change the quote highlight */
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
|
||||
blockquote blockquote {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
/* Alternating color rows in table*/
|
||||
table tr:nth-child(2n) {
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
|
||||
table tr:nth-child(2n + 1) {
|
||||
background-color: #fdfdfd;
|
||||
}
|
||||
/* Alternating color rows in table*/
|
||||
|
||||
table {
|
||||
padding: 0;
|
||||
word-break: initial;
|
||||
}
|
||||
|
||||
table tr {
|
||||
border-top: 1px solid var(--dark-trait);
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
table tr th {
|
||||
font-weight: bold;
|
||||
border: 1px solid var(--dark-trait);
|
||||
border-bottom: 0;
|
||||
margin: 0;
|
||||
padding: 6px 13px;
|
||||
}
|
||||
|
||||
table tr td {
|
||||
border: 1px solid var(--dark-trait);
|
||||
margin: 0;
|
||||
padding: 6px 13px;
|
||||
}
|
||||
|
||||
table tr th:first-child, table tr td:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
table tr th:last-child, table tr td:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
|
||||
kbd {
|
||||
font-size: 0.875rem;
|
||||
background: var(--bg-color-dark);
|
||||
border: 1px solid var(--dark-trait);
|
||||
box-shadow: 0 2px 0 var(--dark-trait);
|
||||
color: var(--text-color-secondary);
|
||||
}
|
||||
|
||||
.md-fences, code, tt {
|
||||
border: none;
|
||||
background-color: #f7f6f3;
|
||||
border-radius: var(--border-radius);
|
||||
padding: 2px 4px 0px 4px;
|
||||
font-size: 0.975em;
|
||||
font-weight: medium;
|
||||
font-family: var(--monospace)
|
||||
}
|
||||
.md-fences {
|
||||
margin-bottom: 15px;
|
||||
margin-top: 15px;
|
||||
padding-top: 8px;
|
||||
padding-bottom: 6px;
|
||||
}
|
||||
|
||||
#write pre.md-meta-block {
|
||||
padding: 1rem;
|
||||
font-size: 85%;
|
||||
line-height: 1.45;
|
||||
background-color: var(--bg-color-dark);
|
||||
border: 0;
|
||||
border-radius: var(--border-radius);
|
||||
color: var(--text-color-secondary);
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
#write .mathjax-block .md-rawblock-tooltip {
|
||||
border-top-left-radius: var(--border-radius);
|
||||
border-top-right-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
#write .mathjax-block .md-math-container {
|
||||
border-top-left-radius: var(--border-radius);
|
||||
border-bottom-right-radius: var(--border-radius);
|
||||
border-bottom-left-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
#write .md-mathblock-panel .md-rawblock-control:first-of-type {
|
||||
border-top-left-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
.md-mathjax-midline {
|
||||
background-color: var(--bg-color);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.md-inline-math script {
|
||||
color: var(--code-color);
|
||||
}
|
||||
|
||||
.CodeMirror-lines {
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
.code-tooltip {
|
||||
box-shadow: none;
|
||||
border-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
#write .code-tooltip {
|
||||
bottom: initial;
|
||||
top: 100%;
|
||||
left: initial;
|
||||
right: -1px;
|
||||
background: var(--bg-color-dark);
|
||||
border: 1px solid var(--dark-trait);
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
border-top: 0;
|
||||
font-family: var(--monospace);
|
||||
}
|
||||
|
||||
#write .md-mathblock-panel .code-tooltip {
|
||||
right: 0;
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* TODO */
|
||||
#write .md-task-list-item>input {
|
||||
-webkit-appearance: initial;
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
position: absolute;
|
||||
border: 1px solid var(--text-color);
|
||||
/* border-radius: 100%; */
|
||||
margin-left: -1.45rem;
|
||||
height: 0.95rem;
|
||||
width: 0.95rem;
|
||||
transition: all 0.35s;
|
||||
}
|
||||
|
||||
#write .md-task-list-item>input:focus {
|
||||
outline: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#write .md-task-list-item>input[checked] {
|
||||
background: #2eaadc;
|
||||
border: 1px solid #2eaadc;
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
#write .md-task-list-item>input[checked]::before {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
content: '✓';
|
||||
position: absolute;
|
||||
margin-top: 0.05rem;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
text-align: absolute;
|
||||
color: var(--bg-color);
|
||||
font-size: 0.75em;
|
||||
font-weight: 760;
|
||||
}
|
||||
|
||||
#write .md-task-list-item>input[checked]::after {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
/* TODO */
|
||||
.md-image>.md-meta {
|
||||
border-radius: var(--border-radius);
|
||||
padding: 2px 0px 0px 4px;
|
||||
font-size: 0.9em;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.md-toc {
|
||||
margin-top: 20px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
/* Source mode */
|
||||
.CodeMirror.cm-s-typora-default *, .cm-s-typora-default * {
|
||||
background: inherit;
|
||||
color: var(--text-color);
|
||||
font-family: var(--monospace);
|
||||
font-size: var(--font-size) !important;
|
||||
font-style: normal;
|
||||
font-weight: medium;
|
||||
}
|
||||
|
||||
.CodeMirror.cm-s-typora-default div.CodeMirror-cursor {
|
||||
border-left: 2px solid var(--text-color);
|
||||
}
|
||||
|
||||
.sidebar-tabs {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.outline-expander {
|
||||
width: 1.5rem;
|
||||
vertical-align: initial;
|
||||
}
|
||||
|
||||
.outline-expander:before, .outline-expander:hover:before, .outline-item-open>.outline-item>.outline-expander:before, .outline-item-open>.outline-item>.outline-expander:hover:before {
|
||||
content: "\f125";
|
||||
transition: transform 125ms ease-in-out;
|
||||
}
|
||||
|
||||
.outline-item-open>.outline-item>.outline-expander:hover:before, .outline-item-open>.outline-item>.outline-expander:before {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
.outline-label:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#toc-dropmenu {
|
||||
background: var(--bg-color-dark);
|
||||
}
|
||||
|
||||
#toc-dropmenu .outline-title {
|
||||
font-size: 1rem;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.dropdown-menu .divider {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.context-menu {
|
||||
border: none!important;
|
||||
backdrop-filter: saturate(180%) blur(20px) brightness(1.1);
|
||||
background-color: var(--bg-color-dark);
|
||||
box-shadow: 0 25.6px 57.6px 0 rgba(0, 0, 0, .22), 0 4.8px 14.4px 0 rgba(0, 0, 0, .18)!important;
|
||||
}
|
||||
|
||||
.file-node-background {
|
||||
height: 31px;
|
||||
}
|
||||
|
||||
.file-node-content:hover .file-node-icon, .file-node-content:hover .file-node-open-state {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.file-node-icon {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.file-library-node:not(.file-node-root):focus>.file-node-content {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* New file animation */
|
||||
.blink-area {
|
||||
animation: none;
|
||||
}
|
||||
|
||||
.file-list-item-summary {
|
||||
font-size: var(--font-size);
|
||||
font-family: var(--font-family);
|
||||
}
|
||||
|
||||
#md-searchpanel input {
|
||||
border-radius: var(--border-radius);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#md-searchpanel input:focus {
|
||||
box-shadow: none;
|
||||
border-color: var(--meta-content-color);
|
||||
}
|
||||
|
||||
#md-searchpanel .search-type-selection {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
#md-searchpanel .btn:not(.close-btn):hover {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.mac-seamless-mode #typora-sidebar {
|
||||
background-color: var(--side-bar-bg-color);
|
||||
}
|
||||
|
||||
#md-notification .btn {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/* CODE HIGHLIGHT */
|
||||
pre.CodeMirror-line {
|
||||
color: #999999!important
|
||||
}
|
||||
|
||||
.cm-variable {
|
||||
color: #37352f!important;
|
||||
}
|
||||
|
||||
.cm-keyword {
|
||||
color: #0277aa !important
|
||||
}
|
||||
|
||||
.cm-tag {
|
||||
color: #ff5a5a!important
|
||||
}
|
||||
|
||||
.cm-variable-3 {
|
||||
color: #48ff00!important;
|
||||
}
|
||||
|
||||
.cm-bracket, .cm-error {
|
||||
color: #ff5a5a!important
|
||||
}
|
||||
|
||||
.cm-attribute {
|
||||
color: #0277aa!important;
|
||||
}
|
||||
|
||||
.cm-def {
|
||||
color: #dc4a68!important;
|
||||
}
|
||||
|
||||
.cm-comment {
|
||||
color: #708090!important;
|
||||
}
|
||||
|
||||
.cm-string {
|
||||
color: #669900!important;
|
||||
font-variant-ligatures: common-ligatures!important;
|
||||
}
|
||||
|
||||
.cm-tag:not() {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.cm-operator {
|
||||
color: #9a6e3b!important;
|
||||
}
|
||||
|
||||
.cm-number {
|
||||
color: #990055!important;
|
||||
}
|
||||
|
||||
.cm-meta {
|
||||
color: var(--text-color) !important;
|
||||
font-weight: 700!important;
|
||||
}
|
||||
|
||||
.cm-atom { color: #845dc4; }
|
||||
|
||||
.cm-builtin {
|
||||
color: #669900 !important;
|
||||
}
|
||||
|
||||
.cm-property {
|
||||
color: var(--text-color) !important;
|
||||
}
|
||||
|
||||
.cm-variable-2 {
|
||||
color: var(--text-color) !important;
|
||||
}
|
||||
|
||||
.cm-variable-3 {
|
||||
color: #845dc4;
|
||||
}
|
||||
|
||||
/* CODE HIGHLIGHT */
|
||||
.file-tree-node.active>.file-node-background {
|
||||
background-color: var(--active-file-bg-color);
|
||||
border-left: 0px solid #dad9d6!important;
|
||||
border-color: #dad9d6!important;
|
||||
background-color: #e8e7e4!important;
|
||||
}
|
||||
|
||||
.CodeMirror-gutters {
|
||||
border-right: 1px solid #f1f3f450;
|
||||
background: inherit;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.ty-footer, .sidebar-footer, footer {
|
||||
backdrop-filter: saturate(120%) blur(20px) brightness(0.85);
|
||||
border: none!important;
|
||||
background: none;
|
||||
background-color: #f7f6f3;
|
||||
}
|
||||
|
||||
.code-tooltip {
|
||||
border-radius: 4px;
|
||||
background-color: #313334;
|
||||
box-shadow: 0 25.6px 57.6px 0 rgba(0, 0, 0, .52), 0 4.8px 14.4px 0 rgba(0, 0, 0, .28)!important;
|
||||
}
|
||||
|
||||
#sidebar-files-menu {
|
||||
border-radius: 4px;
|
||||
border: none!important;
|
||||
box-shadow: 0 25.6px 57.6px 0 #f7f6f3, 0 4.8px 14.4px 0 rgba(0, 0, 0, .28);
|
||||
}
|
||||
|
||||
.code-tooltip.md-tooltip-hide.md-hover-tip {
|
||||
box-shadow: 0 25.6px 57.6px 0 rgba(0, 0, 0, .52), 0 4.8px 14.4px 0 rgba(0, 0, 0, .28);
|
||||
}
|
||||
|
||||
#typora-sidebar {
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
#footer-word-count-info, #spell-check-panel {
|
||||
border: none!important;
|
||||
backdrop-filter: saturate(120%) blur(20px) brightness(0.85)!important;
|
||||
box-shadow: 0 25.6px 57.6px 0 rgba(0, 0, 0, .32), 0 4.8px 14.4px 0 rgba(0, 0, 0, .28)!important;
|
||||
}
|
||||
|
||||
/* Windows/Linux unibody mode */
|
||||
.megamenu-content,
|
||||
.megamenu-opened header {
|
||||
color: var(--primary-color);
|
||||
background: var(--bg-color-dark);
|
||||
}
|
||||
|
||||
#recent-file-panel-action-btn {
|
||||
background: inherit;
|
||||
border: 1px var(--light-trait-300) solid;
|
||||
}
|
||||
|
||||
.megamenu-menu-panel table td:nth-child(1) {
|
||||
color: var(--text-color);
|
||||
background: var(--bg-color-dark);
|
||||
}
|
||||
|
||||
.megamenu-menu-panel table td:nth-child(2) {
|
||||
color: var(--text-color);
|
||||
background: var(--bg-color-dark);
|
||||
}
|
||||
|
||||
.megamenu-menu-panel tbody tr:hover td:nth-child(1) {
|
||||
color: var(--text-color);
|
||||
background: var( --active-file-bg-color);
|
||||
}
|
||||
|
||||
.megamenu-menu-panel tbody tr:hover td:nth-child(2) {
|
||||
color: var(--text-color);
|
||||
background: var( --active-file-bg-color);
|
||||
}
|
||||
|
||||
.megamenu-menu-panel input[type='text'] {
|
||||
background: inherit;
|
||||
border: 1px var(--control-text-color) solid;
|
||||
}
|
||||
|
||||
#recent-file-panel-action-btn {
|
||||
background: inherit;
|
||||
}
|
||||
|
||||
.megamenu-menu, .megamenu-content {
|
||||
background: var(--side-bar-bg-color);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
#top-titlebar, #top-titlebar * {
|
||||
background: inherit;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.megamenu-menu-header #megamenu-menu-header-title:before {
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
megamenu-back-btn {
|
||||
color: var(--text-color);
|
||||
border-color: var(--text-color);
|
||||
}
|
||||
|
||||
.megamenu-menu-header #megamenu-menu-header-title,
|
||||
.megamenu-menu-header:hover,
|
||||
.megamenu-menu-header:focus {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.megamenu-menu-panel table tr:nth-child(2n + 1) {
|
||||
background-color: var(--side-bar-bg-color);
|
||||
}
|
||||
4
old-themes/Readme.md
Normal file
4
old-themes/Readme.md
Normal file
@@ -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.
|
||||
412
old-themes/github.css
Normal file
412
old-themes/github.css
Normal file
@@ -0,0 +1,412 @@
|
||||
: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;
|
||||
}
|
||||
pre {
|
||||
page-break-inside: avoid;
|
||||
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
old-themes/github/open-sans-v17-latin-ext_latin-700.woff2
Normal file
BIN
old-themes/github/open-sans-v17-latin-ext_latin-700.woff2
Normal file
Binary file not shown.
BIN
old-themes/github/open-sans-v17-latin-ext_latin-700italic.woff2
Normal file
BIN
old-themes/github/open-sans-v17-latin-ext_latin-700italic.woff2
Normal file
Binary file not shown.
BIN
old-themes/github/open-sans-v17-latin-ext_latin-italic.woff2
Normal file
BIN
old-themes/github/open-sans-v17-latin-ext_latin-italic.woff2
Normal file
Binary file not shown.
BIN
old-themes/github/open-sans-v17-latin-ext_latin-regular.woff2
Normal file
BIN
old-themes/github/open-sans-v17-latin-ext_latin-regular.woff2
Normal file
Binary file not shown.
622
old-themes/newsprint.css
Normal file
622
old-themes/newsprint.css
Normal file
@@ -0,0 +1,622 @@
|
||||
/* 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);
|
||||
-webkit-appearance: button;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
.export-detail, .light .export-detail,
|
||||
.light .export-item.active,
|
||||
.light .export-items-list-control {
|
||||
background: #e0e0e0;
|
||||
border-radius: 2px;
|
||||
font-weight: 700;
|
||||
color: inherit
|
||||
}
|
||||
BIN
old-themes/newsprint/pt-serif-v11-latin-700.woff2
Normal file
BIN
old-themes/newsprint/pt-serif-v11-latin-700.woff2
Normal file
Binary file not shown.
BIN
old-themes/newsprint/pt-serif-v11-latin-700italic.woff2
Normal file
BIN
old-themes/newsprint/pt-serif-v11-latin-700italic.woff2
Normal file
Binary file not shown.
BIN
old-themes/newsprint/pt-serif-v11-latin-italic.woff2
Normal file
BIN
old-themes/newsprint/pt-serif-v11-latin-italic.woff2
Normal file
Binary file not shown.
BIN
old-themes/newsprint/pt-serif-v11-latin-regular.woff2
Normal file
BIN
old-themes/newsprint/pt-serif-v11-latin-regular.woff2
Normal file
Binary file not shown.
1022
old-themes/night.css
Normal file
1022
old-themes/night.css
Normal file
File diff suppressed because it is too large
Load Diff
113
old-themes/night/codeblock.dark.css
Normal file
113
old-themes/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
old-themes/night/credit.html
Normal file
1
old-themes/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
old-themes/night/cursor.png
Normal file
BIN
old-themes/night/cursor.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 372 B |
BIN
old-themes/night/cursor@2x.png
Normal file
BIN
old-themes/night/cursor@2x.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 407 B |
7
old-themes/night/mermaid.dark.css
Normal file
7
old-themes/night/mermaid.dark.css
Normal file
@@ -0,0 +1,7 @@
|
||||
:root {
|
||||
--mermaid-theme: night;
|
||||
}
|
||||
|
||||
[lang='mermaid'] .label {
|
||||
color: #333;
|
||||
}
|
||||
38
old-themes/night/sourcemode.dark.css
Normal file
38
old-themes/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;
|
||||
}
|
||||
520
old-themes/pixyll.css
Normal file
520
old-themes/pixyll.css
Normal file
@@ -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;
|
||||
}
|
||||
BIN
old-themes/pixyll/lato-v14-latin-300.woff
Normal file
BIN
old-themes/pixyll/lato-v14-latin-300.woff
Normal file
Binary file not shown.
BIN
old-themes/pixyll/lato-v14-latin-300italic.woff
Normal file
BIN
old-themes/pixyll/lato-v14-latin-300italic.woff
Normal file
Binary file not shown.
BIN
old-themes/pixyll/lato-v14-latin-900.woff
Normal file
BIN
old-themes/pixyll/lato-v14-latin-900.woff
Normal file
Binary file not shown.
BIN
old-themes/pixyll/lato-v14-latin-900italic.woff
Normal file
BIN
old-themes/pixyll/lato-v14-latin-900italic.woff
Normal file
Binary file not shown.
BIN
old-themes/pixyll/merriweather-v19-latin-300.woff
Normal file
BIN
old-themes/pixyll/merriweather-v19-latin-300.woff
Normal file
Binary file not shown.
BIN
old-themes/pixyll/merriweather-v19-latin-300italic.woff
Normal file
BIN
old-themes/pixyll/merriweather-v19-latin-300italic.woff
Normal file
Binary file not shown.
BIN
old-themes/pixyll/merriweather-v19-latin-700.woff
Normal file
BIN
old-themes/pixyll/merriweather-v19-latin-700.woff
Normal file
Binary file not shown.
BIN
old-themes/pixyll/merriweather-v19-latin-700italic.woff
Normal file
BIN
old-themes/pixyll/merriweather-v19-latin-700italic.woff
Normal file
Binary file not shown.
292
old-themes/whitey.css
Normal file
292
old-themes/whitey.css
Normal file
@@ -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;
|
||||
}
|
||||
520
pixyll.css
Normal file
520
pixyll.css
Normal file
@@ -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;
|
||||
}
|
||||
BIN
pixyll/lato-v14-latin-300.woff
Normal file
BIN
pixyll/lato-v14-latin-300.woff
Normal file
Binary file not shown.
BIN
pixyll/lato-v14-latin-300italic.woff
Normal file
BIN
pixyll/lato-v14-latin-300italic.woff
Normal file
Binary file not shown.
BIN
pixyll/lato-v14-latin-900.woff
Normal file
BIN
pixyll/lato-v14-latin-900.woff
Normal file
Binary file not shown.
BIN
pixyll/lato-v14-latin-900italic.woff
Normal file
BIN
pixyll/lato-v14-latin-900italic.woff
Normal file
Binary file not shown.
BIN
pixyll/merriweather-v19-latin-300.woff
Normal file
BIN
pixyll/merriweather-v19-latin-300.woff
Normal file
Binary file not shown.
BIN
pixyll/merriweather-v19-latin-300italic.woff
Normal file
BIN
pixyll/merriweather-v19-latin-300italic.woff
Normal file
Binary file not shown.
BIN
pixyll/merriweather-v19-latin-700.woff
Normal file
BIN
pixyll/merriweather-v19-latin-700.woff
Normal file
Binary file not shown.
BIN
pixyll/merriweather-v19-latin-700italic.woff
Normal file
BIN
pixyll/merriweather-v19-latin-700italic.woff
Normal file
Binary file not shown.
59
tailwind-dark.css
Normal file
59
tailwind-dark.css
Normal file
@@ -0,0 +1,59 @@
|
||||
@import "tailwind.css";
|
||||
@import "tailwind.user.css";
|
||||
|
||||
:root {
|
||||
--tw-prose-body: var(--tw-prose-invert-body);
|
||||
--tw-prose-headings: var(--tw-prose-invert-headings);
|
||||
--tw-prose-lead: var(--tw-prose-invert-lead);
|
||||
--tw-prose-links: var(--tw-prose-invert-links);
|
||||
--tw-prose-bold: var(--tw-prose-invert-bold);
|
||||
--tw-prose-counters: var(--tw-prose-invert-counters);
|
||||
--tw-prose-bullets: var(--tw-prose-invert-bullets);
|
||||
--tw-prose-hr: var(--tw-prose-invert-hr);
|
||||
--tw-prose-quotes: var(--tw-prose-invert-quotes);
|
||||
--tw-prose-quote-borders: var(--tw-prose-invert-quote-borders);
|
||||
--tw-prose-code: var(--tw-prose-invert-code);
|
||||
--tw-prose-captions: var(--tw-prose-invert-captions);
|
||||
--tw-prose-pre-bg: var(--tw-prose-invert-pre-bg);
|
||||
--tw-prose-th-borders: var(--tw-prose-invert-th-borders);
|
||||
--tw-prose-td-borders: var(--tw-prose-invert-td-borders);
|
||||
--tw-prose-bg: var(--tw-prose-invert-bg);
|
||||
--tw-prose-meta: var(--tw-prose-invert-meta);
|
||||
--tw-prose-meta-bg: var(--tw-prose-invert-meta-bg);
|
||||
|
||||
--tw-button-hover-bg: var(--tw-button-hover-bg-inverted);
|
||||
|
||||
--md-char-color: var(--md-char-color-inverted);
|
||||
--meta-content-color: var(--meta-content-color-inverted);
|
||||
--panel-border-color: var(--panel-border-color-inverted);
|
||||
--active-file-bg-color: var(--active-file-bg-color-inverted);
|
||||
--window-border: var(--window-border-inverted);
|
||||
--search-hit-text-bg-color: var(--search-hit-text-bg-color-inverted);
|
||||
--search-hit-text-font-color: var(--search-hit-text-font-color-inverted);
|
||||
--search-select-bg-color: var(--search-select-bg-color-inverted);
|
||||
--blur-text-color: var(--blur-text-color-inverted);
|
||||
--item-hover-bg-color: var(--item-hover-bg-color-inverted);
|
||||
--typora-source-body: var(--typora-source-body-inverted);
|
||||
--mermaid-theme: var(--mermaid-theme-inverted);
|
||||
--active-toggle-btn-color: var(--active-toggle-btn-color-inverted);
|
||||
|
||||
--code-neutral: var(--code-neutral-inverted);
|
||||
--code-cursor: var(--code-cursor-inverted);
|
||||
--code-string: var(--code-string-inverted);
|
||||
--code-number: var(--code-number-inverted);
|
||||
--code-tag: var(--code-tag-inverted);
|
||||
--code-variable: var(--code-variable-inverted);
|
||||
--code-operator: var(--code-operator-inverted);
|
||||
--code-comment: var(--code-comment-inverted);
|
||||
--code-bracket: var(--code-bracket-inverted);
|
||||
--code-citation: var(--code-citation-inverted);
|
||||
|
||||
--button-bg: var(--button-bg-inverted);
|
||||
|
||||
--md-grid-header: var(--md-grid-header-inverted);
|
||||
--md-grid-header-ext: var(--md-grid-header-ext-inverted);
|
||||
--md-grid-ext: var(--md-grid-ext-inverted);
|
||||
--md-grid-header-active: var(--md-grid-header-active-inverted);
|
||||
--md-grid-active: var(--md-grid-active-inverted);
|
||||
--md-grid-border-color: var(--md-grid-border-color-inverted);
|
||||
}
|
||||
14
tailwind-light.user.css
Normal file
14
tailwind-light.user.css
Normal file
@@ -0,0 +1,14 @@
|
||||
img .pborder {
|
||||
border: 1px solid #fff;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
img .border {
|
||||
border: 1px solid #fff;
|
||||
}
|
||||
|
||||
td {
|
||||
vertical-align: top;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
1209
tailwind.css
Normal file
1209
tailwind.css
Normal file
File diff suppressed because it is too large
Load Diff
BIN
tailwind/.DS_Store
vendored
Normal file
BIN
tailwind/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
tailwind/Inter-italic.ttf
Normal file
BIN
tailwind/Inter-italic.ttf
Normal file
Binary file not shown.
BIN
tailwind/Inter-roman.ttf
Normal file
BIN
tailwind/Inter-roman.ttf
Normal file
Binary file not shown.
BIN
tailwind/__MACOSX/._tailwind
Executable file
BIN
tailwind/__MACOSX/._tailwind
Executable file
Binary file not shown.
BIN
tailwind/__MACOSX/._tailwind-dark.css
Normal file
BIN
tailwind/__MACOSX/._tailwind-dark.css
Normal file
Binary file not shown.
BIN
tailwind/__MACOSX/._tailwind.css
Normal file
BIN
tailwind/__MACOSX/._tailwind.css
Normal file
Binary file not shown.
BIN
tailwind/__MACOSX/tailwind/._.DS_Store
Normal file
BIN
tailwind/__MACOSX/tailwind/._.DS_Store
Normal file
Binary file not shown.
BIN
tailwind/__MACOSX/tailwind/._Inter-italic.ttf
Normal file
BIN
tailwind/__MACOSX/tailwind/._Inter-italic.ttf
Normal file
Binary file not shown.
BIN
tailwind/__MACOSX/tailwind/._Inter-roman.ttf
Normal file
BIN
tailwind/__MACOSX/tailwind/._Inter-roman.ttf
Normal file
Binary file not shown.
59
tailwind/tailwind-dark.css
Normal file
59
tailwind/tailwind-dark.css
Normal file
@@ -0,0 +1,59 @@
|
||||
@import "tailwind.css";
|
||||
@import "tailwind.user.css";
|
||||
|
||||
:root {
|
||||
--tw-prose-body: var(--tw-prose-invert-body);
|
||||
--tw-prose-headings: var(--tw-prose-invert-headings);
|
||||
--tw-prose-lead: var(--tw-prose-invert-lead);
|
||||
--tw-prose-links: var(--tw-prose-invert-links);
|
||||
--tw-prose-bold: var(--tw-prose-invert-bold);
|
||||
--tw-prose-counters: var(--tw-prose-invert-counters);
|
||||
--tw-prose-bullets: var(--tw-prose-invert-bullets);
|
||||
--tw-prose-hr: var(--tw-prose-invert-hr);
|
||||
--tw-prose-quotes: var(--tw-prose-invert-quotes);
|
||||
--tw-prose-quote-borders: var(--tw-prose-invert-quote-borders);
|
||||
--tw-prose-code: var(--tw-prose-invert-code);
|
||||
--tw-prose-captions: var(--tw-prose-invert-captions);
|
||||
--tw-prose-pre-bg: var(--tw-prose-invert-pre-bg);
|
||||
--tw-prose-th-borders: var(--tw-prose-invert-th-borders);
|
||||
--tw-prose-td-borders: var(--tw-prose-invert-td-borders);
|
||||
--tw-prose-bg: var(--tw-prose-invert-bg);
|
||||
--tw-prose-meta: var(--tw-prose-invert-meta);
|
||||
--tw-prose-meta-bg: var(--tw-prose-invert-meta-bg);
|
||||
|
||||
--tw-button-hover-bg: var(--tw-button-hover-bg-inverted);
|
||||
|
||||
--md-char-color: var(--md-char-color-inverted);
|
||||
--meta-content-color: var(--meta-content-color-inverted);
|
||||
--panel-border-color: var(--panel-border-color-inverted);
|
||||
--active-file-bg-color: var(--active-file-bg-color-inverted);
|
||||
--window-border: var(--window-border-inverted);
|
||||
--search-hit-text-bg-color: var(--search-hit-text-bg-color-inverted);
|
||||
--search-hit-text-font-color: var(--search-hit-text-font-color-inverted);
|
||||
--search-select-bg-color: var(--search-select-bg-color-inverted);
|
||||
--blur-text-color: var(--blur-text-color-inverted);
|
||||
--item-hover-bg-color: var(--item-hover-bg-color-inverted);
|
||||
--typora-source-body: var(--typora-source-body-inverted);
|
||||
--mermaid-theme: var(--mermaid-theme-inverted);
|
||||
--active-toggle-btn-color: var(--active-toggle-btn-color-inverted);
|
||||
|
||||
--code-neutral: var(--code-neutral-inverted);
|
||||
--code-cursor: var(--code-cursor-inverted);
|
||||
--code-string: var(--code-string-inverted);
|
||||
--code-number: var(--code-number-inverted);
|
||||
--code-tag: var(--code-tag-inverted);
|
||||
--code-variable: var(--code-variable-inverted);
|
||||
--code-operator: var(--code-operator-inverted);
|
||||
--code-comment: var(--code-comment-inverted);
|
||||
--code-bracket: var(--code-bracket-inverted);
|
||||
--code-citation: var(--code-citation-inverted);
|
||||
|
||||
--button-bg: var(--button-bg-inverted);
|
||||
|
||||
--md-grid-header: var(--md-grid-header-inverted);
|
||||
--md-grid-header-ext: var(--md-grid-header-ext-inverted);
|
||||
--md-grid-ext: var(--md-grid-ext-inverted);
|
||||
--md-grid-header-active: var(--md-grid-header-active-inverted);
|
||||
--md-grid-active: var(--md-grid-active-inverted);
|
||||
--md-grid-border-color: var(--md-grid-border-color-inverted);
|
||||
}
|
||||
1209
tailwind/tailwind.css
Normal file
1209
tailwind/tailwind.css
Normal file
File diff suppressed because it is too large
Load Diff
BIN
tailwind/tailwind/.DS_Store
vendored
Normal file
BIN
tailwind/tailwind/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
tailwind/tailwind/Inter-italic.ttf
Normal file
BIN
tailwind/tailwind/Inter-italic.ttf
Normal file
Binary file not shown.
BIN
tailwind/tailwind/Inter-roman.ttf
Normal file
BIN
tailwind/tailwind/Inter-roman.ttf
Normal file
Binary file not shown.
292
whitey.css
Normal file
292
whitey.css
Normal file
@@ -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;
|
||||
}
|
||||
38
xxx_base.user.css_xxx
Normal file
38
xxx_base.user.css_xxx
Normal file
@@ -0,0 +1,38 @@
|
||||
img .pborder {
|
||||
border: 1px solid #fff;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
img .border {
|
||||
border: 1px solid #fff;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
margin: 25px 0;
|
||||
font-size: 0.9em;
|
||||
font-family: sans-serif;
|
||||
min-width: 400px;
|
||||
}
|
||||
table thead tr {
|
||||
background-color: #009879;
|
||||
color: #ffffff;
|
||||
text-align: left;
|
||||
}
|
||||
table th,
|
||||
table td {
|
||||
padding: 8px 7px;
|
||||
}
|
||||
table tbody tr {
|
||||
border-bottom: 1px solid #dddddd;
|
||||
}
|
||||
table tbody tr:nth-of-type(even) {
|
||||
background-color: #f3f3f3;
|
||||
}
|
||||
table tbody tr:last-of-type {
|
||||
border-bottom: 2px solid #009879;
|
||||
}
|
||||
table tbody .active-row {
|
||||
font-weight: bold;
|
||||
color: #009879;
|
||||
}
|
||||
Reference in New Issue
Block a user