Skip to content

Commit

Permalink
Add new ad
Browse files Browse the repository at this point in the history
  • Loading branch information
picturepan2 committed May 4, 2018
1 parent cf5f10e commit 9576c95
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions assets/css/thea.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ a:focus {
color: #0145dd;
}

.navbar .nav .active > a {
color: #0145dd;
}

.navbar .nav a {
color: #414857;
font-weight: 700;
Expand Down
2 changes: 1 addition & 1 deletion assets/css/thea.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions header.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<li class="nav-item "><a href="/tag/hardware/">设备</a></li>
<li class="nav-item"><a href="/tag/xbox/">Xbox</a></li>
<li class="nav-item"><a href="/tag/deals/">值得买</a></li>
<li class="nav-item active"><a href="https://partner.lizhi.io/msft/cp" target="_blank">Office 2016最低价 164 元</a></li>
</ul>
</div>
<div class="navbar-section">
Expand Down
6 changes: 6 additions & 0 deletions src/thea.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ a {
}
}

.active {
> a {
color: $primary-color;
}
}

a {
color: $font-color;
font-weight: 700;
Expand Down

0 comments on commit 9576c95

Please sign in to comment.