diff --git a/layout/_partials/navbar.ejs b/layout/_partials/navbar.ejs
index d612844e..8c6ad6ea 100755
--- a/layout/_partials/navbar.ejs
+++ b/layout/_partials/navbar.ejs
@@ -3,8 +3,10 @@
<% if (theme.defaults.hasOwnProperty('logo') && theme.defaults.logo) { %>
-
- <%- image_tag(theme.defaults.logo) %>
+
+ <%- image_tag(theme.defaults.logo, {
+ class: "w-full h-full rounded-sm"
+ }) %>
<% } %>
diff --git a/source/assets/build/styles.css b/source/assets/build/styles.css
index 35576a14..6da10a66 100644
--- a/source/assets/build/styles.css
+++ b/source/assets/build/styles.css
@@ -752,6 +752,10 @@ video {
margin-right: 0.5rem;
}
+.mr-3 {
+ margin-right: 0.75rem;
+}
+
.mr-4 {
margin-right: 1rem;
}
@@ -864,6 +868,10 @@ video {
height: 15rem;
}
+.h-8 {
+ height: 2rem;
+}
+
.h-\[150px\] {
height: 150px;
}
@@ -904,6 +912,10 @@ video {
width: 16rem;
}
+.w-8 {
+ width: 2rem;
+}
+
.w-\[1px\] {
width: 1px;
}
@@ -1112,6 +1124,10 @@ video {
border-radius: 14px;
}
+.rounded-sm {
+ border-radius: 0.125rem;
+}
+
.rounded-small {
border-radius: 9px;
}
@@ -1678,10 +1694,18 @@ video {
margin-right: 1.5rem;
}
+ .sm\:h-10 {
+ height: 2.5rem;
+ }
+
.sm\:h-72 {
height: 18rem;
}
+ .sm\:w-10 {
+ width: 2.5rem;
+ }
+
.sm\:scale-110 {
--tw-scale-x: 1.1;
--tw-scale-y: 1.1;
diff --git a/source/css/layout/_partials/navbar.styl b/source/css/layout/_partials/navbar.styl
index 85003d9c..90d9f749 100755
--- a/source/css/layout/_partials/navbar.styl
+++ b/source/css/layout/_partials/navbar.styl
@@ -49,22 +49,22 @@ $logo-image-box-width = 34px
// transform-origin bottom
if (hexo-config('defaults.logo') && hexo-config('defaults.logo') != '')
- .logo-image
- width $logo-image-box-width
- height $logo-image-box-width
- margin-right 12px
-
- +redefine-tablet()
- width: $logo-image-box-width * 0.9
- height: $logo-image-box-width * 0.9
-
- +redefine-mobile()
- width: $logo-image-box-width * 0.8
- height: $logo-image-box-width * 0.8
-
- img
- border-radius 6px
- width 100%
+ //.logo-image
+ //width $logo-image-box-width
+ //height $logo-image-box-width
+ //margin-right 12px
+ //
+ //+redefine-tablet()
+ // width: $logo-image-box-width * 0.9
+ // height: $logo-image-box-width * 0.9
+ //
+ //+redefine-mobile()
+ // width: $logo-image-box-width * 0.8
+ // height: $logo-image-box-width * 0.8
+ //
+ //img
+ // border-radius 6px
+ // width 100%
.logo-title
font-size $logo-title-font-size