my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

415 lines
8.0 KiB

  1. :root {
  2. --side-bar-bg-color: #fafafa;
  3. --control-text-color: #777;
  4. }
  5. @include-when-export url(https://fonts.loli.net/css?family=Open+Sans:400italic,700italic,700,400&subset=latin,latin-ext);
  6. /* open-sans-regular - latin-ext_latin */
  7. @font-face {
  8. font-family: 'Open Sans';
  9. font-style: normal;
  10. font-weight: normal;
  11. src: local('Open Sans Regular'), local('OpenSans-Regular'), url('./github/open-sans-v17-latin-ext_latin-regular.woff2') format('woff2');
  12. 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;
  13. }
  14. /* open-sans-italic - latin-ext_latin */
  15. @font-face {
  16. font-family: 'Open Sans';
  17. font-style: italic;
  18. font-weight: normal;
  19. src: local('Open Sans Italic'), local('OpenSans-Italic'), url('./github/open-sans-v17-latin-ext_latin-italic.woff2') format('woff2');
  20. 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;
  21. }
  22. /* open-sans-700 - latin-ext_latin */
  23. @font-face {
  24. font-family: 'Open Sans';
  25. font-style: normal;
  26. font-weight: bold;
  27. src: local('Open Sans Bold'), local('OpenSans-Bold'), url('./github/open-sans-v17-latin-ext_latin-700.woff2') format('woff2');
  28. 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;
  29. }
  30. /* open-sans-700italic - latin-ext_latin */
  31. @font-face {
  32. font-family: 'Open Sans';
  33. font-style: italic;
  34. font-weight: bold;
  35. src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), url('./github/open-sans-v17-latin-ext_latin-700italic.woff2') format('woff2');
  36. 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;
  37. }
  38. html {
  39. font-size: 16px;
  40. -webkit-font-smoothing: antialiased;
  41. }
  42. body {
  43. font-family: "Open Sans","Clear Sans", "Helvetica Neue", Helvetica, Arial, 'Segoe UI Emoji', sans-serif;
  44. color: rgb(51, 51, 51);
  45. line-height: 1.6;
  46. }
  47. #write {
  48. max-width: 860px;
  49. margin: 0 auto;
  50. padding: 30px;
  51. padding-bottom: 100px;
  52. }
  53. @media only screen and (min-width: 1400px) {
  54. #write {
  55. max-width: 1024px;
  56. }
  57. }
  58. @media only screen and (min-width: 1800px) {
  59. #write {
  60. max-width: 1200px;
  61. }
  62. }
  63. #write > ul:first-child,
  64. #write > ol:first-child{
  65. margin-top: 30px;
  66. }
  67. a {
  68. color: #4183C4;
  69. }
  70. h1,
  71. h2,
  72. h3,
  73. h4,
  74. h5,
  75. h6 {
  76. position: relative;
  77. margin-top: 1rem;
  78. margin-bottom: 1rem;
  79. font-weight: bold;
  80. line-height: 1.4;
  81. cursor: text;
  82. }
  83. h1:hover a.anchor,
  84. h2:hover a.anchor,
  85. h3:hover a.anchor,
  86. h4:hover a.anchor,
  87. h5:hover a.anchor,
  88. h6:hover a.anchor {
  89. text-decoration: none;
  90. }
  91. h1 tt,
  92. h1 code {
  93. font-size: inherit;
  94. }
  95. h2 tt,
  96. h2 code {
  97. font-size: inherit;
  98. }
  99. h3 tt,
  100. h3 code {
  101. font-size: inherit;
  102. }
  103. h4 tt,
  104. h4 code {
  105. font-size: inherit;
  106. }
  107. h5 tt,
  108. h5 code {
  109. font-size: inherit;
  110. }
  111. h6 tt,
  112. h6 code {
  113. font-size: inherit;
  114. }
  115. h1 {
  116. font-size: 2.25em;
  117. line-height: 1.2;
  118. border-bottom: 1px solid #eee;
  119. }
  120. h2 {
  121. font-size: 1.75em;
  122. line-height: 1.225;
  123. border-bottom: 1px solid #eee;
  124. }
  125. /*@media print {
  126. .typora-export h1,
  127. .typora-export h2 {
  128. border-bottom: none;
  129. padding-bottom: initial;
  130. }
  131. .typora-export h1::after,
  132. .typora-export h2::after {
  133. content: "";
  134. display: block;
  135. height: 100px;
  136. margin-top: -96px;
  137. border-top: 1px solid #eee;
  138. }
  139. }*/
  140. h3 {
  141. font-size: 1.5em;
  142. line-height: 1.43;
  143. }
  144. h4 {
  145. font-size: 1.25em;
  146. }
  147. h5 {
  148. font-size: 1em;
  149. }
  150. h6 {
  151. font-size: 1em;
  152. color: #777;
  153. }
  154. p,
  155. blockquote,
  156. ul,
  157. ol,
  158. dl,
  159. table{
  160. margin: 0.8em 0;
  161. }
  162. li>ol,
  163. li>ul {
  164. margin: 0 0;
  165. }
  166. hr {
  167. height: 2px;
  168. padding: 0;
  169. margin: 16px 0;
  170. background-color: #e7e7e7;
  171. border: 0 none;
  172. overflow: hidden;
  173. box-sizing: content-box;
  174. }
  175. li p.first {
  176. display: inline-block;
  177. }
  178. ul,
  179. ol {
  180. padding-left: 30px;
  181. }
  182. ul:first-child,
  183. ol:first-child {
  184. margin-top: 0;
  185. }
  186. ul:last-child,
  187. ol:last-child {
  188. margin-bottom: 0;
  189. }
  190. blockquote {
  191. border-left: 4px solid #dfe2e5;
  192. padding: 0 15px;
  193. color: #777777;
  194. }
  195. blockquote blockquote {
  196. padding-right: 0;
  197. }
  198. table {
  199. padding: 0;
  200. word-break: initial;
  201. }
  202. table tr {
  203. border: 1px solid #dfe2e5;
  204. margin: 0;
  205. padding: 0;
  206. }
  207. table tr:nth-child(2n),
  208. thead {
  209. background-color: #f8f8f8;
  210. }
  211. table th {
  212. font-weight: bold;
  213. border: 1px solid #dfe2e5;
  214. border-bottom: 0;
  215. margin: 0;
  216. padding: 6px 13px;
  217. }
  218. table td {
  219. border: 1px solid #dfe2e5;
  220. margin: 0;
  221. padding: 6px 13px;
  222. }
  223. table th:first-child,
  224. table td:first-child {
  225. margin-top: 0;
  226. }
  227. table th:last-child,
  228. table td:last-child {
  229. margin-bottom: 0;
  230. }
  231. .CodeMirror-lines {
  232. padding-left: 4px;
  233. }
  234. .code-tooltip {
  235. box-shadow: 0 1px 1px 0 rgba(0,28,36,.3);
  236. border-top: 1px solid #eef2f2;
  237. }
  238. .md-fences,
  239. code,
  240. tt {
  241. border: 1px solid #e7eaed;
  242. background-color: #f8f8f8;
  243. border-radius: 3px;
  244. padding: 0;
  245. padding: 2px 4px 0px 4px;
  246. font-size: 0.9em;
  247. }
  248. code {
  249. background-color: #f3f4f4;
  250. padding: 0 2px 0 2px;
  251. }
  252. .md-fences {
  253. margin-bottom: 15px;
  254. margin-top: 15px;
  255. padding-top: 8px;
  256. padding-bottom: 6px;
  257. }
  258. .md-task-list-item > input {
  259. margin-left: -1.3em;
  260. }
  261. @media print {
  262. html {
  263. font-size: 13px;
  264. }
  265. table,
  266. pre {
  267. page-break-inside: avoid;
  268. }
  269. pre {
  270. word-wrap: break-word;
  271. }
  272. }
  273. .md-fences {
  274. background-color: #f8f8f8;
  275. }
  276. #write pre.md-meta-block {
  277. padding: 1rem;
  278. font-size: 85%;
  279. line-height: 1.45;
  280. background-color: #f7f7f7;
  281. border: 0;
  282. border-radius: 3px;
  283. color: #777777;
  284. margin-top: 0 !important;
  285. }
  286. .mathjax-block>.code-tooltip {
  287. bottom: .375rem;
  288. }
  289. .md-mathjax-midline {
  290. background: #fafafa;
  291. }
  292. #write>h3.md-focus:before{
  293. left: -1.5625rem;
  294. top: .375rem;
  295. }
  296. #write>h4.md-focus:before{
  297. left: -1.5625rem;
  298. top: .285714286rem;
  299. }
  300. #write>h5.md-focus:before{
  301. left: -1.5625rem;
  302. top: .285714286rem;
  303. }
  304. #write>h6.md-focus:before{
  305. left: -1.5625rem;
  306. top: .285714286rem;
  307. }
  308. .md-image>.md-meta {
  309. /*border: 1px solid #ddd;*/
  310. border-radius: 3px;
  311. padding: 2px 0px 0px 4px;
  312. font-size: 0.9em;
  313. color: inherit;
  314. }
  315. .md-tag {
  316. color: #a7a7a7;
  317. opacity: 1;
  318. }
  319. .md-toc {
  320. margin-top:20px;
  321. padding-bottom:20px;
  322. }
  323. .sidebar-tabs {
  324. border-bottom: none;
  325. }
  326. #typora-quick-open {
  327. border: 1px solid #ddd;
  328. background-color: #f8f8f8;
  329. }
  330. #typora-quick-open-item {
  331. background-color: #FAFAFA;
  332. border-color: #FEFEFE #e5e5e5 #e5e5e5 #eee;
  333. border-style: solid;
  334. border-width: 1px;
  335. }
  336. /** focus mode */
  337. .on-focus-mode blockquote {
  338. border-left-color: rgba(85, 85, 85, 0.12);
  339. }
  340. header, .context-menu, .megamenu-content, footer{
  341. font-family: "Segoe UI", "Arial", sans-serif;
  342. }
  343. .file-node-content:hover .file-node-icon,
  344. .file-node-content:hover .file-node-open-state{
  345. visibility: visible;
  346. }
  347. .mac-seamless-mode #typora-sidebar {
  348. background-color: #fafafa;
  349. background-color: var(--side-bar-bg-color);
  350. }
  351. .md-lang {
  352. color: #b4654d;
  353. }
  354. /*.html-for-mac {
  355. --item-hover-bg-color: #E6F0FE;
  356. }*/
  357. #md-notification .btn {
  358. border: 0;
  359. }
  360. .dropdown-menu .divider {
  361. border-color: #e5e5e5;
  362. opacity: 0.4;
  363. }
  364. .ty-preferences .window-content {
  365. background-color: #fafafa;
  366. }
  367. .ty-preferences .nav-group-item.active {
  368. color: white;
  369. background: #999;
  370. }
  371. .menu-item-container a.menu-style-btn {
  372. background-color: #f5f8fa;
  373. background-image: linear-gradient( 180deg , hsla(0, 0%, 100%, 0.8), hsla(0, 0%, 100%, 0));
  374. }