MyBase7.1可⽤的Markdown配置表
背景
到了⼀款Markdown 笔记本软件MyBase,7.1版本⽀持markdown,所以我⾮常喜欢,修改了⾃⼰博客的css到软件⾥⾯,瞬间变得好看了。
效果图
设置⽅法
“⼯具 - 编辑markdown样式表.. ” 复制下⾯的内容粘贴即可。
也可⽤下载本⼈⽤的配置:
* {
margin: 0;
padding: 0;
}
html {
height: 100%;
}
body {
color: #000;
background: #FFF;
font-family: "verdana","Arial","微软雅⿊", "Helvetica", "sans-serif";
font-size: 9pt;
min-height: 101%;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
fieldset, img {
border: 0;
}
ul {
word-break: break-all;
}
li {
list-style: none;
}
h1, h2, h3, h4, h5, h6 {
font-size: 110%;
font-weight: normal;
}
a:link {
color: black;
text-decoration: none;
}
a:visited {
color: black;
text-decoration: none;
}
a:hover {
color: #F60;
/
*
下划线
text-decoration: underline;
*/
}
a:active {
color: black;
text-decoration: none;
}
.clear {
clear: both;
}
h3:before{
content: "##";
color: #2175bc;
position: relative;
top: 0;
left: -2px;
}
h4:before{
content: "###";
color: #5bc;
position: relative;
top: 0;
left: -2px;
}
/** MarkDown样式调整 */
{
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
color: #333;
overflow: hidden;
font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif; font-size: 16px;
line-height: 1.6;
word-wrap: break-word;
}
a {
background: transparent;
}
a:active,
a:hover {
outline: 0;box sizing
}
strong {
font-weight: bold;
}
h1 {
font-size: 2em;
margin: 0.67em 0;
}
img {
border: 0;
}
hr {
box-sizing: content-box;
height: 0;
}
pre {
overflow: auto;
}
code,
kbd,
pre {
font-family: Consolas, "微软雅⿊", Menlo, Courier, monospace !important font-size: 1em;
}
input {
color: inherit;
font: inherit;
margin: 0;
}
html input[disabled] {
cursor: default;
}
input {
line-height: normal;
}
input[type="checkbox"] {
box-sizing: border-box;
padding: 0;
font-size: 16px;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/* 控制表格没有框线*/
#cnblogs_post_body table, blogs-post-body table {
border: 0px solid #c0c0c0;
border-collapse: collapse;
word-break: break-word;
}
td,
th {
padding: 0;
}
* {
box-sizing: border-box;
/*! font-size: 16px; */
}
input {
font: 13px/1.4 Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"; }
a {
color: #4183c4;
text-decoration: none;
}
a:hover,
a:active {
text-decoration: underline;
}
hr {
height: 0;
margin: 15px 0;
overflow: hidden;
background: transparent;
border: 0;
border-bottom: 1px solid #ddd;
}
hr:before {
display: table;
content: "";
}
hr:after {
display: table;
clear: both;
content: "";
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin-top: 15px;
margin-bottom: 10px;
line-height: 1.1;
}
blockquote {
margin: 0;
line-height: 1.7 !important;
}
ul,
ol {
padding: 0;
margin-top: 0;
margin-bottom: 0;
}
ol ol,
ul ol {
list-style-type: lower-roman;
}
ul ul ol,
ul ol ol,
ol ul ol,
ol ol ol {
list-style-type: lower-alpha;
}
dd {
margin-left: 0;
}
pre {
margin-top: 0;
margin-bottom: 0;
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace; }
.octicon {
font: normal normal normal 16px/1 octicons-anchor;
display: inline-block;
text-decoration: none;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.octicon-link:before {
content: '\f05c';
}
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论