💄 🐛 Fixed end of post line display tip.

This commit is contained in:
凡梦星尘 2022-06-13 21:57:16 +08:00
parent 26030c7fcd
commit 2fed079938
4 changed files with 9 additions and 4 deletions

View File

@ -15,10 +15,9 @@
margin: 24px 0 12px 0; margin: 24px 0 12px 0;
&:after{ &:after{
content: $post_end_line_tip;
font-size: .9em; font-size: .9em;
font-weight: bold; font-weight: bold;
background: #fff; background: var(--content-bg-color);
padding: 0 5px; padding: 0 5px;
z-index:2; z-index:2;
} }

View File

@ -79,7 +79,6 @@ $motion_trans_post_header: {{ $P.motion.transition.postHeader }};
$post_edit_enable: {{ $P.postEdit.enable }}; $post_edit_enable: {{ $P.postEdit.enable }};
$post_meta_item_text: {{ $P.postMeta.itemText }}; $post_meta_item_text: {{ $P.postMeta.itemText }};
$reward_settings_animation: {{ $P.rewardSets.animation }}; $reward_settings_animation: {{ $P.rewardSets.animation }};
$post_end_line_tip: "{{ $P.postFooter.endLineTip }}";
$post_end_tag_icon: {{ $P.postFooter.tagIcon }}; $post_end_tag_icon: {{ $P.postFooter.tagIcon }};
// TODO find the paramters // TODO find the paramters

View File

@ -71,6 +71,8 @@ languages:
linksSets: linksSets:
icon: fa fa-globe icon: fa fa-globe
title: Friends title: Friends
postFooter:
endLineTip: "~ End of this post ~"
#-------------------------------------- #--------------------------------------
# Menus Settings # Menus Settings

View File

@ -22,4 +22,9 @@
{{- $scss = $scss | resources.ExecuteAsTemplate "main.scss" . }} {{- $scss = $scss | resources.ExecuteAsTemplate "main.scss" . }}
{{- $css := $scss | toCSS (dict "targetPath" "/css/main.css" "outputStyle" "expanded") }} {{- $css := $scss | toCSS (dict "targetPath" "/css/main.css" "outputStyle" "expanded") }}
<link rel="stylesheet" href="{{ $css.RelPermalink }}"> <link rel="stylesheet" href="{{ $css.RelPermalink }}">
<link rel="stylesheet" href="/css/hover.css"> <link rel="stylesheet" href="/css/hover.css">
<style type="text/css">
.post-footer hr:after {
content: "{{ .Site.Params.postFooter.endLineTip }}";
}
</style>