修改侧栏爱发电图片样式和文章页面标题最大长度限制

This commit is contained in:
UPToZ 2024-05-29 17:34:04 +08:00
parent 371b605268
commit 45e93608ab
2 changed files with 184 additions and 190 deletions

View File

@ -7477,7 +7477,7 @@ span.fund_name {
height: 60px; height: 60px;
border-radius: 50%; border-radius: 50%;
background-size: cover; background-size: cover;
margin-right: 12px; /* margin-right: 12px; */
border: var(--style-border-always); border: var(--style-border-always);
transition: .3s ease-out transition: .3s ease-out
} }
@ -7533,7 +7533,8 @@ div#power-star-title {
flex-wrap: wrap; flex-wrap: wrap;
position: relative; position: relative;
width: calc(100% - 68px); width: calc(100% - 68px);
justify-content: center justify-content: center;
padding-left: 12px;
} }
/* 商务广告-设计周刊 */ /* 商务广告-设计周刊 */
@ -10015,7 +10016,7 @@ span.recent-post-top-text {
} }
/* 作者打招呼 */ /* 作者打招呼 */
div#author-info__sayhi { /* div#author-info__sayhi {
text-align: left; text-align: left;
color: var(--heo-white); color: var(--heo-white);
background: var(--heo-white-op); background: var(--heo-white-op);
@ -10027,7 +10028,7 @@ div#author-info__sayhi {
cursor: pointer; cursor: pointer;
-webkit-user-select: none; -webkit-user-select: none;
transition: 0.3s; transition: 0.3s;
} } */
div#author-info__sayhi:hover { div#author-info__sayhi:hover {
background: var(--heo-white-op); background: var(--heo-white-op);
@ -10439,7 +10440,7 @@ a.extend.prev {
} }
#post-info .post-title { #post-info .post-title {
width: 1100px; width: 1200px;
font-size: 2.6rem !important; font-size: 2.6rem !important;
} }
} }

View File

@ -6,8 +6,7 @@
<div class="author-content-item-tips">数据</div> <div class="author-content-item-tips">数据</div>
<span class="author-content-item-title">访问统计</span> <span class="author-content-item-title">访问统计</span>
<div id="statistic"></div> <div id="statistic"></div>
<div class="post-tips">统计信息来自 <a href="https://invite.51.la/1NzKqTeb?target=V6" <div class="post-tips">统计信息来自 <a href="https://v6.51.la/" rel="noopener nofollow"
rel="noopener nofollow"
target="_blank">51la网站统计</a></div> target="_blank">51la网站统计</a></div>
<div class="banner-button-group"> <div class="banner-button-group">
<a class="banner-button" onclick="pjax.loadUrl('/archives')" data-pjax-state=""> <a class="banner-button" onclick="pjax.loadUrl('/archives')" data-pjax-state="">
@ -29,24 +28,19 @@
th:if="${not #lists.isEmpty(theme.config.about.map.authorInfo)}" th:if="${not #lists.isEmpty(theme.config.about.map.authorInfo)}"
th:with="texts = ${theme.config.about.map.authorInfo}"> th:with="texts = ${theme.config.about.map.authorInfo}">
<div th:if="${theme.config.about.map.authorInfo.size()}>'0'"> <div th:if="${theme.config.about.map.authorInfo.size()}>'0'">
<span class="selfInfo-title" <span class="selfInfo-title" th:text="${texts[0].authorInfoTitle}">生于</span><span
th:text="${texts[0].authorInfoTitle}">生于</span><span class="selfInfo-content" id="selfInfo-content-year"
class="selfInfo-content" th:style="'color:' + ${texts[0].authorInfoColor}"
id="selfInfo-content-year" th:style="'color:' + ${texts[0].authorInfoColor}"
th:text="${texts[0].authorInfoContent}">2000</span> th:text="${texts[0].authorInfoContent}">2000</span>
</div> </div>
<div th:if="${theme.config.about.map.authorInfo.size()}>'1'"> <div th:if="${theme.config.about.map.authorInfo.size()}>'1'">
<span class="selfInfo-title" <span class="selfInfo-title" th:text="${texts[1].authorInfoTitle}">太原理工大学</span><span
th:text="${texts[1].authorInfoTitle}">太原理工大学</span><span class="selfInfo-content" th:style="'color:' + ${texts[1].authorInfoColor}"
class="selfInfo-content"
th:style="'color:' + ${texts[1].authorInfoColor}"
th:text="${texts[1].authorInfoContent}">计算机科学</span> th:text="${texts[1].authorInfoContent}">计算机科学</span>
</div> </div>
<div th:if="${theme.config.about.map.authorInfo.size()}>'2'"> <div th:if="${theme.config.about.map.authorInfo.size()}>'2'">
<span class="selfInfo-title" <span class="selfInfo-title" th:text="${texts[2].authorInfoTitle}">现在职业</span><span
th:text="${texts[2].authorInfoTitle}">现在职业</span><span class="selfInfo-content" th:style="'color:' + ${texts[2].authorInfoColor}"
class="selfInfo-content"
th:style="'color:' + ${texts[2].authorInfoColor}"
th:text="${texts[2].authorInfoContent}">BI工程师</span> th:text="${texts[2].authorInfoContent}">BI工程师</span>
</div> </div>
</div> </div>
@ -182,6 +176,5 @@
} }
initAboutPage(); initAboutPage();
</script> </script>
</div> </div>