From 09cb58eb4d06a70ff45348a70a8181d1fae240d2 Mon Sep 17 00:00:00 2001 From: Mouth on Could <75353922+shaggyfeng@users.noreply.github.com> Date: Tue, 25 May 2021 03:43:48 -0400 Subject: [PATCH] Add files via upload --- Pink Topaz.css | 234 +++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 189 insertions(+), 45 deletions(-) diff --git a/Pink Topaz.css b/Pink Topaz.css index 1140465..58067a2 100644 --- a/Pink Topaz.css +++ b/Pink Topaz.css @@ -1,9 +1,9 @@ /*Pink Topaz for Obsidian v0.12.3,is a modified version of the Blue Topaz. This modified theme was modified by Mouth On Cloud. Welcome to join our tencent QQ App's obsidian group chat: #774176839 */ /*粉色托帕石是基于蓝色托帕石制作的魔改主题, 由嘴上云制作,欢迎到obsidian的qq群一起愉快折腾。群号:774176839 */ -/*version: 0.6 */ -/*版本:0.6 */ -/*date: 2021-05-20 */ -/*日期:2021-05-20 */ +/*version: 1.0 */ +/*版本:1.0 */ +/*date: 2021-05-25 */ +/*日期:2021-05-25 */ /*The following codes are from the Blue Topaz. */ /*下面的是蓝色托帕石的原版部分。 */ /*蓝色托帕石,适合Obsidian v0.12.2。[20210506] flying fly flies制作,欢迎使用及分享,借鉴(copy)了许多主题,在此一一感谢。如果喜欢,可以在Github里给我星星 https://github.com/whyt-byte */ @@ -5014,8 +5014,8 @@ img[alt$="inlR"] { } /*The following codes belong to the Pink Topaz, which includes all the modifications. This modified theme was modified by Mouth On Cloud. Welcome to join our tencent QQ App's obsidian group chat: #774176839 */ /*下面的是粉色托帕石的魔改部分,也是和原版蓝色托帕石的全部不同部分。[20210518] 嘴上云制作,欢迎到obsidian的qq群找俺一起折腾。群号:774176839 */ -/*version: 0.6 */ -/*版本:0.6 */ +/*version: 1.0 */ +/*版本:1.0 */ .theme-light { --background-primary: #efe9d9; --background-primary-alt: #ffdece; @@ -5052,21 +5052,21 @@ img[alt$="inlR"] { --folder-title: #37291a; --mark-highlight: #fd355a; --background-search-result: #ffdece; - --gray-1: #fd355a; - --gray-2: #fd355a; - --red: #980000; - --red-1: #fd355a; - --green: #fd355a; - --darkgreen: #fd355a; - --blue: #fd355a; - --darkblue: #fd355a; - --purple: #fd355a; - --aqua: #fd355a; - --yellow: #fd355a; - --light-yellow: #fd355a; - --orange: #fd355a; - --light-purple: #FD3559; - --blue-green: #fd355a; + --gray-1: #c4c4c4; + --gray-2: #7c8595; + --red: #fd355a; + --red-1: #980000; + --green: #40916c; + --darkgreen: #004f2d; + --blue: #69a2ee; + --darkblue: #5981f0; + --purple: #8673b4; + --aqua: #4dd8ef; + --yellow: #ffc727; + --light-yellow: #e5e79c; + --orange: #f19c79; + --light-purple: #d3d6fe; + --blue-green: #16bcc0; --embed-color: #fd355a1a; --search-result-file-title-color: #980000; --theme-color: #f5a7a2; @@ -5086,12 +5086,12 @@ img[alt$="inlR"] { --tag1: #e5c7a9; --tag2: #fea2c2; --tag3: #69a2ee; - --tag4: #7c8595; - --tag5: #ffdece; + --tag4: #40916c; + --tag5: #c47a5e; --tag6: #f5a7a2; - --tag7: #cacc41; + --tag7: #ab4967; --tag8: #dbb671; - --tag9: #e77e7e; + --tag9: #f19c79; --h1-color: #f39ba0; --h2-color: #f39ba0; --h3-color: #f39ba0; @@ -5132,6 +5132,7 @@ img[alt$="inlR"] { --event-item-color8: #f39ba0; --event-item-color9: #f39ba0c4; --event-item-color10: #f39ba091; + /* I am too noob to touch this part --text-gray: #f5a7a2; --text-brown: #f5a7a2; --text-orange: #f5a7a2; @@ -5150,6 +5151,7 @@ img[alt$="inlR"] { --background-purple: #ffdece; --background-pink: #ffdece; --background-red: #ffdece; + */ --note-important: #fd355a; --note-cloze: #fd355a; --stickies-color-1: #fd355a; @@ -5160,7 +5162,7 @@ img[alt$="inlR"] { .theme-dark { --background-primary: #212121; --background-primary-alt: #f39ba0; - --background-secondary: #212121; + --background-secondary: #242424; --background-secondary-alt: #191919; --background-accent: #e4ba6c; --background-modifier-border: #191919; @@ -5194,19 +5196,19 @@ img[alt$="inlR"] { --folder-title: #fff; --mark-highlight: #f93759; --background-search-result: #292929; - --gray-1: #f93759; - --gray-2: #f93759; - --red: #f93759; + --gray-1: #c9b0b0; + --gray-2: #b4b1c6; + --red: #ff9090; --red-1: #f93759; - --orange: #f93759; - --green: #f93759; - --darkgreen: #f93759; - --aqua: #f93759; - --purple: #f93759; - --blue: #f93759; - --darkblue: #f93759; - --yellow: #f93759; - --light-yellow: #f93759; + --orange: #f28d61; + --green: #00ffc7; + --darkgreen: #1bbc9b; + --aqua: #30daff; + --purple: #b073ff; + --blue: #00a3b9; + --darkblue: #0040ff; + --yellow: #fcdc00; + --light-yellow: #ffd26c; --embed-color: #2929297d; --search-result-file-title-color: #f39ba0; --theme-color: #ffccbc; @@ -5225,14 +5227,14 @@ img[alt$="inlR"] { --stag2: #ffccbc; --stag3: #ffebec; --tag1: #028588; - --tag2: #029988; - --tag3: #f39ba0; - --tag4: #980000; - --tag5: #12407e; + --tag2: #40916c; + --tag3: #69a2ee; + --tag4: #c47a5e; + --tag5: #004f2d; --tag6: #f5a7a2; - --tag7: #37291a; + --tag7: #f19c79; --tag8: #02a588; - --tag9: #026588; + --tag9: #ab4967; --h1-color: #ffccbc; --h2-color: #ffccbc; --h3-color: #ffccbc; @@ -5273,6 +5275,7 @@ img[alt$="inlR"] { --event-item-color3: #ffd4bc; --event-item-color2: #ffdcbc; --event-item-color1: #ffe4bc; + /* I am too noob to touch this part --text-gray: #acacac; --text-brown: #be9684; --text-orange: #ffa344; @@ -5291,6 +5294,7 @@ img[alt$="inlR"] { --background-purple: #443f57; --background-pink: #533b4a; --background-red: #683c3c; + */ --note-important: #f93759; --note-cloze: #f93759; --stickies-color-1: #f39ba0; @@ -5346,4 +5350,144 @@ Syntax: none | manual | auto } .graph-view.color-line-highlight { color: #fea2c2; -} \ No newline at end of file +} +/* 显示当前代码块的语言类别 */ +pre { + position: relative; + line-height: 20px !important; +} + +/* 每个语言单独写 C语言 要写在前面 否则出现覆盖C# C++的问题 */ +pre[class*='language-c']:before { + content: "C"; +} + +pre[class*='language-py']:before { + content: "Python"; +} + +pre[class*='language-python']:before { + content: "Python"; +} + +pre[class*='language-nginx']:before { + content: "Nginx"; +} + +pre[class*='language-css']:before { + content: "Css"; +} + +pre[class*='language-javascript']:before { + content: "Js"; +} + +pre[class*='language-js']:before { + content: "Js"; +} + + +pre[class*='language-php']:before { + content: "Php"; +} + +pre[class*='language-shell']:before { + content: "Shell"; +} + +pre[class*='language-flow']:before { + content: "Flow"; +} + +pre[class*='language-sequence']:before { + content: "Sequence"; +} + +pre[class*='language-sql']:before { + content: "Sql"; +} + +pre[class*='language-yaml']:before { + content: "Yaml"; +} + +pre[class*='language-ini']:before { + content: "ini"; +} + +pre[class*='language-xml']:before { + content: "Xml"; +} + +pre[class*='language-git']:before { + content: "Git"; +} + +pre[class*='language-cs']:before { + content: "C#"; +} + +pre[class*='language-cpp']:before { + content: "C++"; +} + +pre[class*='language-java']:before { + content: "Java"; +} + +pre[class*='language-html']:before { + content: "Html"; +} + +pre[class*='language-txt']:before { + content: "txt"; +} + +/* Code */ +.theme-light :not(pre) > code[class*="language-"], +.theme-light pre[class*="language-"] { + background-color: var(--background-primary-alt); + /* 代码块 圆角 阴影 */ + border-radius: 6px; + margin-top: 10px; + margin-bottom: 10px; + box-shadow: rgb(0 0 0/15%) 0px 2px 10px; +} + +.theme-light code[class*="language-"], +.theme-light pre[class*="language-"] { + color: #37291a !important; + text-shadow: none; + font-family: var(--mono-font), var(--cjk-font); +} + +.theme-dark .token.keyword, .theme-light .token.keyword { + color: #3b78e7 !important; + font-weight: 600; +} + +.theme-dark .function, .theme-light .function { + color: #9c27b0 !important; +} + +.theme-dark .number, .theme-light .number { + color: #d81b60 !important; +} + +.theme-dark .builtin, .theme-light .builtin { + color: #e36209 !important; + font-weight: bold; +} + +.theme-light .operator, .theme-light .punctuation { + color: #708090 !important; +} + +.theme-dark .operator, .theme-dark .punctuation { + color: rgb(228, 220, 220) !important; +} + +.theme-dark .comment, .theme-light .comment { + font-size: 0.9em !important; + font-weight: 450; +} \ No newline at end of file