Skip to content

Commit

Permalink
fix:面包屑不对齐和手机版导航样式错位
Browse files Browse the repository at this point in the history
  • Loading branch information
dyedd committed Jan 8, 2023
1 parent 1020cfe commit 1f5a3c3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
25 changes: 13 additions & 12 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
}

* {
font-family: HarmonyOS_Sans_SC_Medium;
font-family: HarmonyOS_Sans_SC_Medium,'sans-serif';
}

:root {
Expand Down Expand Up @@ -70,7 +70,13 @@ a, a:hover {
font-size: 2rem;
font-weight: 700;
}

.mobile-nav .nav {
flex: 1 1 auto;
}
.mobile-nav ul.nav.nav-pills {
margin-bottom: 1rem;
width: 100%;
}
.toolbar {
display: flex;
padding: 1rem;
Expand Down Expand Up @@ -174,8 +180,6 @@ a, a:hover {
}

.nav-item-text {
display: inline-block;
padding: 1rem;
vertical-align: middle;
font-weight: 700;
}
Expand All @@ -201,8 +205,8 @@ a, a:hover {
}

.ol.carousel-indicators {
bottom: 0rem;
margin-bottom: 0rem;
bottom: 0;
margin-bottom: 0;
}

ol.carousel-indicators li {
Expand Down Expand Up @@ -657,15 +661,12 @@ ol.carousel-indicators li.active {

@keyframes heartbeat {
0% {
-webkit-transform: scale(1);
transform: scale(1)
}
50% {
-webkit-transform: scale(.8);
transform: scale(.8)
}
to {
-webkit-transform: scale(1);
transform: scale(1)
}
}
Expand Down Expand Up @@ -959,11 +960,11 @@ html.theme-dark, .theme-dark img {
opacity: .8;
}
/*负负得正*/
.theme-dark i
.theme-dark li.comment-by-author > .comment-author span:after
.theme-dark i,
.theme-dark li.comment-by-author > .comment-author span:after,
.theme-dark .article-title a,
.theme-dark .post-info .created,
.theme-dark .post-info .display
.theme-dark .post-info .display,
.theme-dark .post-info .extra
{
filter: invert(1) hue-rotate(180deg);
Expand Down
4 changes: 2 additions & 2 deletions component/index.toolbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
</li>
<?php if ($this->is('post')): ?>
<li class="breadcrumb-item">
<?php $this->category(','); ?>
<span><?php $this->category(','); ?></span>
</li>
<?php else: ?>
<li class="breadcrumb-item">
<?php $this->archiveTitle('&raquo;', '', ''); ?>
<span><?php $this->archiveTitle('&raquo;', '', ''); ?></span>
</li>
<?php endif; ?>
<li class="breadcrumb-item active" aria-current="page">
Expand Down

0 comments on commit 1f5a3c3

Please sign in to comment.