Skip to content

Commit

Permalink
css changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Chorer committed Mar 31, 2019
1 parent 5c5f038 commit bb9dced
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion PureBlue/layout/_partial/archive.ejs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<section class="time-section">
<h1 class="section-year">
<%= year %>
<i class="fa fa-flag fa-1x"></i> <%= year %>
</h1>
<div class="section-list">
<% posts.sort((l, r) => r.date - l.date) %>
Expand Down
6 changes: 4 additions & 2 deletions PureBlue/layout/_partial/categories.ejs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<div class="categories-main-container">
<p class="categories-counter">
——<span><%= site.categories.length %>&nbsp</span><%= __('Categories-info.Text') %>——
<i class="fa fa-paperclip"></i> <span><%= site.categories.length %>&nbsp</span><%= __('Categories-info.Text') %>
</p>
<%- list_categories() %>
</div>
</div>


2 changes: 1 addition & 1 deletion PureBlue/layout/_partial/header.ejs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<header class="header">
<span>
<i class="point"></i>
<i class="fa fa-bars"></i>
<a href="https://github.com/Chorer/hexo-theme-PureBlue/tree/master/PureBlue">
PureBlue
</a>
Expand Down
2 changes: 1 addition & 1 deletion PureBlue/layout/_partial/tagscloud.ejs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="tags-main-container">
<p class="tags-counter">
——<span><%= site.tags.length %>&nbsp</span><%= __('Tag-info.Text') %>——
<i class="fa fa-paperclip"></i> <span><%= site.tags.length %>&nbsp</span><%= __('Tag-info.Text') %>
</p>
<div class="tags-tagscloud">
<%- tagcloud({
Expand Down
7 changes: 7 additions & 0 deletions PureBlue/source/css/_partial/archive.styl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
span{
font-size: 30px;
}
.fa-flag{
color: $color;
}
}
.archive{
margin-left: 200px
Expand Down Expand Up @@ -37,6 +40,10 @@
border: 2px solid $color
border-radius: 50%
}
.fa-flag{
font-size: 25px;
color: $color;
}
}
.section-list{
.section-list-item{
Expand Down
11 changes: 3 additions & 8 deletions PureBlue/source/css/_partial/header.styl
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,9 @@
color: white;
font-size: 20px;
}
.point{
display: inline-block;
width: 13px;
height: 13px;
margin-right: 8px;
background-color: white;
clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
-webkit-clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
.fa-bars{
color: white;
padding-right: 3px;
}
}
#homelink{
Expand Down

0 comments on commit bb9dced

Please sign in to comment.