format code

This commit is contained in:
NoDocCat 2018-09-11 15:39:14 +08:00
parent 031bc1815a
commit e4c9c94ee9

48
vue.css
View File

@ -287,16 +287,16 @@ body {
padding-left: 0.5rem;
}
#write>ul:first-child,
#write>ol:first-child {
#write > ul:first-child,
#write > ol:first-child {
margin-top: 30px;
}
body>*:first-child {
body > *:first-child {
margin-top: 0 !important;
}
body>*:last-child {
body > *:last-child {
margin-bottom: 0 !important;
}
@ -361,11 +361,11 @@ h6 code {
}
h2 a,
h3 a{
h3 a {
color: #34495e;
}
h3 a:before{
h3 a:before {
content: '#';
color: #42b983;
position: absolute;;
@ -419,8 +419,8 @@ table {
margin: 0.8em 0;
}
li>ol,
li>ul {
li > ol,
li > ul {
margin: 0 0;
}
@ -434,25 +434,25 @@ hr {
box-sizing: content-box;
}
body>h2:first-child {
body > h2:first-child {
margin-top: 0;
padding-top: 0;
}
body>h1:first-child {
body > h1:first-child {
margin-top: 0;
padding-top: 0;
}
body>h1:first-child+h2 {
body > h1:first-child + h2 {
margin-top: 0;
padding-top: 0;
}
body>h3:first-child,
body>h4:first-child,
body>h5:first-child,
body>h6:first-child {
body > h3:first-child,
body > h4:first-child,
body > h5:first-child,
body > h6:first-child {
margin-top: 0;
padding-top: 0;
}
@ -594,7 +594,7 @@ table tr td:last-child {
/* heighlight. */
#write mark {
background-color:#EBFFEB;
background-color: #EBFFEB;
border-radius: 2px;
padding: 2px 4px;
margin: 0 2px;
@ -615,7 +615,7 @@ table tr td:last-child {
color: #22a2c9;
}
.md-task-list-item>input {
.md-task-list-item > input {
margin-left: -1.3em;
}
@ -630,10 +630,12 @@ table tr td:last-child {
html {
font-size: 13px;
}
table,
pre {
page-break-inside: avoid;
}
pre {
word-wrap: break-word;
}
@ -654,31 +656,31 @@ table tr td:last-child {
margin-top: 0 !important;
}
.mathjax-block>.code-tooltip {
.mathjax-block > .code-tooltip {
bottom: .375rem;
}
#write>h3.md-focus:before {
#write > h3.md-focus:before {
left: -1.5625rem;
top: .375rem;
}
#write>h4.md-focus:before {
#write > h4.md-focus:before {
left: -1.5625rem;
top: .285714286rem;
}
#write>h5.md-focus:before {
#write > h5.md-focus:before {
left: -1.5625rem;
top: .285714286rem;
}
#write>h6.md-focus:before {
#write > h6.md-focus:before {
left: -1.5625rem;
top: .285714286rem;
}
.md-image>.md-meta {
.md-image > .md-meta {
/*border: 1px solid #ddd;*/
border-radius: 3px;
font-family: Consolas, "Liberation Mono", Courier, monospace;