Skip to content

Commit

Permalink
style: h1 font, category-list, archive margin
Browse files Browse the repository at this point in the history
  • Loading branch information
MOxFIVE committed Dec 13, 2015
1 parent b7da666 commit 5985392
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
3 changes: 1 addition & 2 deletions layout/_partial/page.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
end_color: 'black',
}) %>
</div>
<style type="text/css">
<style>
.category-list li{
display: inline-block;
font-size: 1.2em;
Expand All @@ -65,7 +65,6 @@
.category-list-item:hover a {
color: gray;
text-decoration: none;
font-weight: bold;
}
.category-list-count {
margin-left: 2px;
Expand Down
3 changes: 0 additions & 3 deletions source/css/_partial/article.styl
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,6 @@
a:hover {
font-weight: bold;
}
}
.article-info.info-on-archive{
margin: 10px 0 0 0;
}
.article-info-index.article-info{
padding-top: 20px;
Expand Down
2 changes: 1 addition & 1 deletion source/css/_variables.styl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ color-google = #dd4b39

// Fonts
font-chs = "Microsoft YaHei", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif
font-sans = Verdana, "Helvetica Neue", Arial, sans-serif
font-sans = "Lucida Grande", Verdana, "Helvetica Neue", Arial, sans-serif
font-serif = Times, Georgia, serif
font-mono = Menlo, Consolas, "Source Code Pro", Inconsolata, Monaco, monospace
font-icon = FontAwesome
Expand Down
5 changes: 3 additions & 2 deletions source/css/style.styl
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,15 @@ body
color: rgba(0,0,0,0.6);
-webkit-overflow-scrolling: touch

h1,h2,h3,h4,h5,h6 {
h2,h3,h4,h5,h6 {
font-family: font-serif, font-chs;
}
h1,h2,h3{
display: block;
}
h1 {
font-size:1.5em
font-size: 1.5em;
font-family: "Segoe UI", font-sans, font-chs;
}
h2 {
font-size:1.3em
Expand Down

0 comments on commit 5985392

Please sign in to comment.