typora样式修改

本文介绍如何通过修改Typora编辑器的主题文件,实现页面大小调整、文字加粗变红及标题样式的个性化定制。具体操作包括更改max-width属性、设置strong标签颜色以及调整各级标题的字体大小和权重。

1. 修改页面大小

D:\Program Files\Typora\resources\app\style\themes\github.css

修改对应的主题文件 如github.css
max-width 原值820px 改成95%

#write {
    max-width: 95%;
  	margin: 0 auto;
  	padding: 30px;
    padding-bottom: 100px;
}

2. 加粗变红

strong {
	color:red;
}

3. title样式修改


h1 {
	padding-bottom: .3em;
	font-size: 1.3em;
	line-height: 1;
	font-weight: bold;
	//border-bottom: 1px solid #eee;
}
h2 {
   padding-bottom: .3em;
	font-size: 1.1em;
	line-height: 1;
	font-weight: bold;
	//border-bottom: 1px solid #eee;
}
h3 {
	font-size: 1em;
	line-height: 1;
	font-weight: normal;
}
h4 {
	font-size: 1em;
	font-weight: normal;
}
h5 {
	font-size: 1em;
	font-weight: normal;
}
h6 {
   font-size: 1em;
   color: #777;
   font-weight: normal;
}
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值