Improve code quality & consistency

* Add EditorConfig
* Rebuild animate.css: remove an unused animation
* Slightly rewrite header part
This commit is contained in:
Track3 2018-12-12 00:02:36 +08:00
parent caf088cbfb
commit 3bb532df30
16 changed files with 76 additions and 59 deletions

File diff suppressed because one or more lines are too long

View file

@ -29,4 +29,4 @@ $code-fonts: Consolas, "Andale Mono WT", "Andale Mono", Menlo, Monaco, "Lucida C
background-color: $theme;
}
}
}
}

View file

@ -196,6 +196,7 @@ table {
.hdr-wrapper {
display: flex;
justify-content: space-between;
align-items: center;
padding: .5em 0;
font-size: 1.2rem;
@ -217,10 +218,14 @@ table {
}
.hdr-icons {
display: inline-block;
font-size: 1.2em;
}
a {
.hdr-social {
display: inline-block;
margin-left: .6em;
&>a {
margin-left: .4em;
}
}
@ -232,9 +237,9 @@ table {
cursor: pointer;
}
#menu-btn,
#search-btn {
#menu-btn {
display: none;
margin-left: .7em;
cursor: pointer;
}
@ -450,10 +455,6 @@ p.img-404 {
opacity: 1;
}
#show-img-btn {
margin-right: .3em;
}
.post-header {
margin-top: 1.2em;
line-height: normal;