自制typora主题

自制typora主题







起因是本菜鸡在网上搜到的主题基本上多公式块没怎么处理,而我又是个学数学的,对于公式块用的最多,于是就自己写了一款,其中广泛借鉴了网上其他大佬制作的主题,希望诸位大佬提供建议或者拿去制作更好的主题。

(由于导出的时候阴影显得怪怪的,于是我自己就写了一个配套的样式一起放在文件夹里)
在这里插入图片描述
地址:
https://github.com/c-function/fk-for-typora.git

:root {
   
    --side-bar-bg-color: #87CEFA;
    --control-text-color: #777;
	--mid-1: #ffffff;
	--mid-2: #fafafa;
	--mid-3: #f5f5f5;
	--mid-4: #f0f0f0;
	--mid-5: #d9d9d9;
	--mid-6: #bfbfbf;
	--mid-7: #8c8c8c;
	--mid-8: #595959;
	--mid-9: #434343;
	--mid-10: #262626;
	--mid-11: #1f1f1f;
	--mid-12: #141414;
	--mid-13: #000000;
	
	--main-1: #fff3f0;
	--main-2: #ffd4cc;
	--main-3: #ffafa3;
	--main-4: #ff887a;
	--main-5: #ff5d52;
	--main-6: #f22f27;
	--main-7: #cc1616;
	--main-8: #a60a0f;
	--main-9: #80010a;
	--main-10: #590009;
}

@include-when-export url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,700,400&subset=latin,latin-ext);

@font-face {
   
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: normal;
    src: local('Open Sans Regular'),url('./github/400.woff') format('woff')
}

@font-face {
   
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: normal;
    src: local('Open Sans Italic'),url('./github/400i.woff') format('woff')
}

@font-face {
   
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: bold;
    src: local('Open Sans Bold'),url('./github/700.woff') format('woff')
}

@font-face {
   
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: bold;
    src: local('Open Sans Bold Italic'),url('./github/700i.woff') format('woff')
}


html {
   
    font-size: 16px;
}

content {
   
  background-image: url(./fk/01.jpg);
  background-repeat: no-repeat,repeat;
  background-position: -52px;
}

#write {
   
  margin-top: 24px;
  background-color: rgba(255, 255, 255, 0.68);
  margin-bottom: 24px;
  min-height: calc(100% - 48px);
}

body {
   
  background-color:rgba(240,240,240,0.1);
}

#write{
   
    max-width<
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 3
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值