fix style for site title

This commit is contained in:
mivinci 2021-08-05 15:24:04 +08:00
parent 0d555dd905
commit bdf104dc9b
2 changed files with 12 additions and 2 deletions

View file

@ -1,5 +1,5 @@
<header>
<h1 class="row gap-1">
<h1 class="row gap-1 nowrap">
<div id="theme-switcher" class="btn lg-1"></div>
{{ .Site.Title }}
</h1>

View file

@ -10,7 +10,7 @@
html.dark {
--bg: #262d33;
--ft: #eee;
--ft: #c5c4c4;
--bd: #555;
--tag: #999;
@ -194,6 +194,11 @@ details.toc ul>li {
margin: 1em 0;
}
.nowrap {
white-space: nowrap;
overflow: auto;
}
@keyframes showup {
from {
opacity: 0;
@ -255,3 +260,8 @@ details.toc ul>li {
::-webkit-scrollbar-thumb:active {
background-color: rgb(128 128 128 / 100%);
}
.nowrap::-webkit-scrollbar {
display: none;
width: 0;
}