Merge pull request #12 from NoDocCat/master

Clean code and fix some grammar
This commit is contained in:
blinkfox 2018-12-11 11:27:26 +08:00 committed by GitHub
commit c0d6c29e41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

31
vue.css
View File

@ -272,19 +272,15 @@ body {
#write { #write {
max-width: 860px; max-width: 860px;
margin: 0 auto; margin: 0 auto;
padding: 20px 30px 40px 30px; padding: 20px 30px 100px;
padding-top: 20px;
padding-bottom: 100px;
} }
#write p { #write p {
/* text-indent: 2rem; */
line-height: 1.6rem; line-height: 1.6rem;
word-spacing: .05rem; word-spacing: .05rem;
} }
#write ol li { #write ol li {
/*padding-left: 0.5rem;*/
text-indent: 0.5rem; text-indent: 0.5rem;
} }
@ -304,7 +300,7 @@ body > *:last-child {
a { a {
color: #42b983; color: #42b983;
font-weight: 600; font-weight: 600;
padding: 0px 2px; padding: 0 2px;
text-decoration: none; text-decoration: none;
} }
@ -387,7 +383,7 @@ h1 {
h2 { h2 {
font-size: 1.75rem; font-size: 1.75rem;
line-height: 1.225; line-height: 1.225;
margin: 35px 0px 15px 0px; margin: 35px 0 15px;
padding-bottom: 0.5em; padding-bottom: 0.5em;
border-bottom: 1px solid #ddd; border-bottom: 1px solid #ddd;
} }
@ -395,7 +391,7 @@ h2 {
h3 { h3 {
font-size: 1.4rem; font-size: 1.4rem;
line-height: 1.43; line-height: 1.43;
margin: 20px 0px 7px 0px; margin: 20px 0 7px;
} }
h4 { h4 {
@ -498,7 +494,7 @@ ol:last-child {
blockquote { blockquote {
border-left: 4px solid #42b983; border-left: 4px solid #42b983;
padding: 10px 0px 10px 15px; padding: 10px 0 10px 15px;
color: #777; color: #777;
background-color: rgba(66, 185, 131, .1); background-color: rgba(66, 185, 131, .1);
} }
@ -546,11 +542,11 @@ table tr td:last-child {
} }
#write strong { #write strong {
padding: 0px 1px 0 1px; padding: 0 1px;
} }
#write em { #write em {
padding: 0px 5px 0 2px; padding: 0 5px 0 2px;
} }
#write table thead th { #write table thead th {
@ -565,7 +561,7 @@ table tr td:last-child {
border: 1px solid #F4F4F4; border: 1px solid #F4F4F4;
-webkit-font-smoothing: initial; -webkit-font-smoothing: initial;
margin: 0.8rem 0 !important; margin: 0.8rem 0 !important;
padding: 0.3rem 0rem !important; padding: 0.3rem 0 !important;
line-height: 1.43rem; line-height: 1.43rem;
background-color: #F8F8F8 !important; background-color: #F8F8F8 !important;
border-radius: 2px; border-radius: 2px;
@ -620,13 +616,6 @@ table tr td:last-child {
margin-left: -1.3em; margin-left: -1.3em;
} }
@media screen and (min-width: 914px) {
/*body {
width: 854px;
margin: 0 auto;
}*/
}
@media print { @media print {
html { html {
font-size: 13px; font-size: 13px;
@ -682,10 +671,9 @@ table tr td:last-child {
} }
.md-image > .md-meta { .md-image > .md-meta {
/*border: 1px solid #ddd;*/
border-radius: 3px; border-radius: 3px;
font-family: Consolas, "Liberation Mono", Courier, monospace; font-family: Consolas, "Liberation Mono", Courier, monospace;
padding: 2px 0px 0px 4px; padding: 2px 0 0 4px;
font-size: 0.9em; font-size: 0.9em;
color: inherit; color: inherit;
} }
@ -738,7 +726,6 @@ footer {
} }
.mac-seamless-mode #typora-sidebar { .mac-seamless-mode #typora-sidebar {
background-color: #fafafa;
background-color: var(--side-bar-bg-color); background-color: var(--side-bar-bg-color);
} }