diff --git a/src/main/resources/templates/themes/blue-white/assets/css/main.css b/src/main/resources/templates/themes/blue-white/assets/css/main.css index aeeb344..7ddd4bd 100644 --- a/src/main/resources/templates/themes/blue-white/assets/css/main.css +++ b/src/main/resources/templates/themes/blue-white/assets/css/main.css @@ -330,3 +330,15 @@ time, .item-meta { color: var(--text-light); font-size: 13px; } .home-main, .list-main, .detail-main { padding-top: 36px; padding-bottom: 56px; } .article-list .article-title, .block-head, .page-title { letter-spacing: .02em; } .article-list li, .banner, .banner-title { border-radius: 4px; } + +/* B4 友链 Logo:与名称并排小图(高度 ~20px,垂直居中;过宽截断不撑破页脚) */ +.links-group a .link-logo, +.sp-links-row a .link-logo { + height: 20px; + width: auto; + max-width: 64px; + object-fit: contain; + vertical-align: middle; + margin-right: 4px; + border-radius: 2px; +} diff --git a/src/main/resources/templates/themes/blue-white/fragments/footer.html b/src/main/resources/templates/themes/blue-white/fragments/footer.html index 5c8e713..1f3f83d 100644 --- a/src/main/resources/templates/themes/blue-white/fragments/footer.html +++ b/src/main/resources/templates/themes/blue-white/fragments/footer.html @@ -5,8 +5,11 @@
diff --git a/src/main/resources/templates/themes/scholar-blue/assets/css/main.css b/src/main/resources/templates/themes/scholar-blue/assets/css/main.css index 1912e88..5d4cadd 100644 --- a/src/main/resources/templates/themes/scholar-blue/assets/css/main.css +++ b/src/main/resources/templates/themes/scholar-blue/assets/css/main.css @@ -1293,3 +1293,15 @@ input, button, select, textarea { font-size: inherit; color: inherit; } transition-duration: .01ms !important; } } + +/* B4 友链 Logo:与名称并排小图(高度 ~20px,垂直居中;过宽截断不撑破页脚) */ +.links-group a .link-logo, +.sp-links-row a .link-logo { + height: 20px; + width: auto; + max-width: 64px; + object-fit: contain; + vertical-align: middle; + margin-right: 4px; + border-radius: 2px; +} diff --git a/src/main/resources/templates/themes/scholar-blue/fragments/footer.html b/src/main/resources/templates/themes/scholar-blue/fragments/footer.html index dd56587..4d48d2e 100644 --- a/src/main/resources/templates/themes/scholar-blue/fragments/footer.html +++ b/src/main/resources/templates/themes/scholar-blue/fragments/footer.html @@ -41,8 +41,11 @@ th:if="${!#lists.isEmpty(group.links)}"> 分组 diff --git a/src/main/resources/templates/themes/warm-kinder/assets/css/main.css b/src/main/resources/templates/themes/warm-kinder/assets/css/main.css index 30e0c91..1f5d782 100644 --- a/src/main/resources/templates/themes/warm-kinder/assets/css/main.css +++ b/src/main/resources/templates/themes/warm-kinder/assets/css/main.css @@ -330,3 +330,15 @@ time, .item-meta { color: var(--text-light); font-size: 13px; } .banner, .banner-title { border-radius: 20px; overflow: hidden; } .site-search input, .site-search button { border-radius: 999px; } .footer-info p { color: var(--primary-dark); } + +/* B4 友链 Logo:与名称并排小图(高度 ~20px,垂直居中;过宽截断不撑破页脚) */ +.links-group a .link-logo, +.sp-links-row a .link-logo { + height: 20px; + width: auto; + max-width: 64px; + object-fit: contain; + vertical-align: middle; + margin-right: 4px; + border-radius: 2px; +} diff --git a/src/main/resources/templates/themes/warm-kinder/fragments/footer.html b/src/main/resources/templates/themes/warm-kinder/fragments/footer.html index 8094359..bac2117 100644 --- a/src/main/resources/templates/themes/warm-kinder/fragments/footer.html +++ b/src/main/resources/templates/themes/warm-kinder/fragments/footer.html @@ -5,8 +5,11 @@