Single page info css adjusted

This commit is contained in:
zzossig 2019-12-05 22:57:05 +09:00
parent e0106c47dd
commit 2820663651
12 changed files with 28 additions and 19 deletions

View File

@ -21,3 +21,7 @@
} }
} }
} }
#busuanzi_value_page_pv {
margin: 0rem 0.1rem 0 0.15rem;
}

View File

@ -11,7 +11,6 @@
line-height: 3rem; line-height: 3rem;
overflow-wrap: break-word; overflow-wrap: break-word;
//@include animation('slide-in-down .3s .1s 1 ease both');
@include themify($themes) { @include themify($themes) {
color: themed("single-header-title-color"); color: themed("single-header-title-color");
} }
@ -19,10 +18,11 @@
&__meta { &__meta {
font-size: 0.8rem; font-size: 0.8rem;
@include flexbox(); @include flexbox();
@include align-items(center); @include align-items(center);
//@include animation('slide-in-down .3s .4s 1 ease both'); @include flex-wrap(wrap);
@include flex-grow(1);
@include respond-to(sm) { @include respond-to(sm) {
@include flexbox(); @include flexbox();
@include flex-direction(column); @include flex-direction(column);
@ -33,6 +33,13 @@
} }
} }
&__infos {
margin-right: 0.5rem;
@include flexbox();
@include flex-wrap(nowrap);
}
&__contents { &__contents {
&--gallery { &--gallery {
overflow: hidden; overflow: hidden;
@ -295,15 +302,11 @@
} }
&__tags { &__tags {
margin: 0 0.5rem;
list-style-type: none; list-style-type: none;
@include flexbox(); @include flexbox();
@include align-items(center); @include align-items(center);
@include flex-wrap(wrap); @include flex-wrap(wrap);
@include flex-grow(1);
@include respond-to(sm) {
margin: 0;
}
} }
&__tag { &__tag {

View File

@ -55,7 +55,7 @@ $hacker: (
content-pre-header-color: #f3ff6e, content-pre-header-color: #f3ff6e,
burger-menu-color: #dbdbdb, burger-menu-color: #dbdbdb,
social-icon-color: #9e9e9e, social-icon-color: #9e9e9e,
social-icon-hover-color: darken(#9e9e9e, 20%), social-icon-hover-color: lighten(#9e9e9e, 20%),
pagination-link-color: #996287, pagination-link-color: #996287,
pagination-background-color: #252526, pagination-background-color: #252526,
pagination-disabled-color: #424242, pagination-disabled-color: #424242,

View File

@ -54,8 +54,8 @@ $light: (
content-pre-header-background-color: darken(#F5F2F0, 3%), content-pre-header-background-color: darken(#F5F2F0, 3%),
content-pre-header-color: #344952, content-pre-header-color: #344952,
burger-menu-color: #777, burger-menu-color: #777,
social-icon-color: #888, social-icon-color: #777,
social-icon-hover-color: darken(#888, 20%), social-icon-hover-color: darken(#777, 20%),
pagination-link-color: #424242, pagination-link-color: #424242,
pagination-background-color: #eeeeee, pagination-background-color: #eeeeee,
pagination-disabled-color: #bdbdbd, pagination-disabled-color: #bdbdbd,

View File

@ -54,8 +54,8 @@ $solarized: (
content-pre-header-background-color: darken(#FBF1D1, 6%), content-pre-header-background-color: darken(#FBF1D1, 6%),
content-pre-header-color: #344952, content-pre-header-color: #344952,
burger-menu-color: #B58900, burger-menu-color: #B58900,
social-icon-color: #B58900, social-icon-color: lighten(#B58900, 5%),
social-icon-hover-color: lighten(#B58900, 10%), social-icon-hover-color: darken(#B58900, 5%),
pagination-link-color: #455a64, pagination-link-color: #455a64,
pagination-background-color: #FBF1D1, pagination-background-color: #FBF1D1,
pagination-disabled-color: #bdbdbd, pagination-disabled-color: #bdbdbd,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 724 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 721 B

View File

@ -6,11 +6,7 @@
<div class="single"> <div class="single">
<h2 class="single__title">{{ .Title }}</h2> <h2 class="single__title">{{ .Title }}</h2>
<div class="single__meta"> <div class="single__meta">
🕓 {{ .Date.Format (i18n "single-dateformat") }} · ☕{{ .ReadingTime }} min read {{ partial "body/infos" . }}
{{ if (and .Site.Params.enableBusuanzi .Site.Params.busuanziPagePV) }}
· 👀
<span id="busuanzi_value_page_pv"></span> {{ i18n "counter-page-pv" }}
{{ end }}
{{ partial "body/tags" . }} {{ partial "body/tags" . }}
</div> </div>
<article class="single__contents"> <article class="single__contents">

View File

@ -0,0 +1,6 @@
<div class="single__infos">
🕓 {{ .Date.Format (i18n "single-dateformat") }} · ☕{{ .ReadingTime }} min read
{{ if (and .Site.Params.enableBusuanzi .Site.Params.busuanziPagePV) }}
· 👀 <span id="busuanzi_value_page_pv">...</span> {{ i18n "counter-page-pv" }}
{{ end }}
</div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 724 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 721 B