Skip to content

Commit

Permalink
🐞 fix: twikoo 管理面板样式优化
Browse files Browse the repository at this point in the history
  • Loading branch information
白云苍狗 committed Oct 18, 2023
1 parent a5a1a40 commit b66674b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
10 changes: 5 additions & 5 deletions packages/hexo-theme-async/layout/_partial/page/links.ejs
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<div class="row trm-mb-40">
<div class="row trm-scroll-animation" style="margin-bottom: var(--card-bottom-card);">
<div class="col-lg-12">
<blockquote class="trm-scroll-animation">
<blockquote>
<%-__('site.ruleText')%>
<br>
<%- theme.user.ruleText %>
</blockquote>
</div>
</div>

<div class="row trm-mb-20">
<div class="row trm-scroll-animation" >
<div class="col-lg-12">
<h5 class="trm-title-with-divider"><%-__('site.title')%><span data-number="01"></span></h5>
</div>
<div class="col-lg-12">
<div class="trm-service-icon-box trm-scroll-animation trm-active-el">
<div class="trm-card trm-scroll-animation trm-active-el">
<ul class="trm-list">
<li><%-__('site.webmaster')%><%- theme.user.name %></li>
<li><%-__('site.domain')%><%- theme.user.domain %></li>
Expand All @@ -25,7 +25,7 @@
</div>

<% if(Array.isArray(theme.links)){ %>
<div class="row trm-mb-20">
<div class="row trm-scroll-animation" >
<div class="col-lg-12">
<h5 class="trm-title-with-divider">
<%-__('title.links')%>
Expand Down
2 changes: 1 addition & 1 deletion packages/hexo-theme-async/source/css/_components/card.less
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
border-radius: var(--card-border-radius, 10px);
background-color: var(--theme-bg-color, #fcfcfe);
box-shadow: var(--box-shadow2, 0 2px 4px -2px rgba(0, 0, 0, 0.15));
margin-bottom: 20px;
margin-bottom: var(--card-bottom-card, 40px);

.trm-service-content {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,8 @@
.tk-submit {
margin-top: none;
}

.tk-admin-container {
position: fixed !important;
z-index: 100;
}

0 comments on commit b66674b

Please sign in to comment.