mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-17 18:22:33 +00:00
Optimize stylesheet
This commit is contained in:
parent
073ddc094e
commit
1ce92c1e64
@ -1,7 +1,7 @@
|
||||
.post-gallery {
|
||||
align-items: center;
|
||||
display: grid;
|
||||
grid-gap: 10px;
|
||||
gap: 10px;
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
margin-bottom: 20px;
|
||||
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
.popular-posts-header {
|
||||
border-bottom: 1px solid $gainsboro;
|
||||
display: block;
|
||||
font-size: $font-size-large;
|
||||
margin-bottom: 10px;
|
||||
margin-top: $post-eof-margin-bottom;
|
||||
|
||||
@ -18,10 +18,7 @@
|
||||
}
|
||||
|
||||
.site-nav {
|
||||
display: block;
|
||||
|
||||
+mobile() {
|
||||
clear: both;
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
@ -1,24 +1,20 @@
|
||||
.site-author-image {
|
||||
border: $site-author-image-border-width solid $site-author-image-border-color;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
max-width: $site-author-image-width;
|
||||
padding: 2px;
|
||||
|
||||
if (hexo-config('avatar.rounded')) {
|
||||
border-radius: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
if (hexo-config('avatar.rotated')) {
|
||||
.site-author-image {
|
||||
transition: transform 1s ease-out;
|
||||
}
|
||||
|
||||
.site-author-image:hover {
|
||||
&:hover {
|
||||
transform: rotateZ(360deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.site-author-name {
|
||||
color: $site-author-name-color;
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
.post-body .link-grid {
|
||||
display: grid;
|
||||
grid-gap: 1.5rem 1.5rem;
|
||||
gap: 1.5rem 1.5rem;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
padding: 1.5rem;
|
||||
|
||||
|
||||
@ -3,9 +3,7 @@
|
||||
}
|
||||
|
||||
.post-body .tabs, .tabs-comment {
|
||||
display: block;
|
||||
padding-top: 10px;
|
||||
position: relative;
|
||||
|
||||
ul.nav-tabs {
|
||||
display: flex;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user