mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-21 19:32:34 +00:00
Code style update
This commit is contained in:
parent
989157a853
commit
d241c4378f
@ -1,6 +1,6 @@
|
|||||||
{%- if theme.rating.enable %}
|
{%- if theme.rating.enable %}
|
||||||
<div class="post-widgets">
|
<div class="post-widgets">
|
||||||
<div class="wp_rating">
|
<div class="wpac-rating-container">
|
||||||
<div id="wpac-rating"></div>
|
<div id="wpac-rating"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -18,7 +18,7 @@ if (hexo-config('follow_me')) {
|
|||||||
|
|
||||||
.social-link {
|
.social-link {
|
||||||
border: 0;
|
border: 0;
|
||||||
display:inline-block;
|
display: inline-block;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
|
|||||||
@ -14,7 +14,6 @@
|
|||||||
.post-edit-link {
|
.post-edit-link {
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
color: $grey;
|
color: $grey;
|
||||||
display: inline-block;
|
|
||||||
float: right;
|
float: right;
|
||||||
font-size: $font-size-larger;
|
font-size: $font-size-larger;
|
||||||
margin-left: -1.2em;
|
margin-left: -1.2em;
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp_rating {
|
.wpac-rating-container {
|
||||||
height: 20px;
|
height: 20px;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
if (hexo-config('math.mathjax.enable')) {
|
if (hexo-config('math.mathjax.enable')) {
|
||||||
mjx-container[jax="CHTML"][display="true"], .has-jax {
|
mjx-container[jax='CHTML'][display='true'], .has-jax {
|
||||||
overflow: auto hidden;
|
overflow: auto hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
mjx-container[display="true"] + br {
|
mjx-container[display='true'] + br {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
// Blockquote with all children centered.
|
// Blockquote with all children centered.
|
||||||
.blockquote-center {
|
.blockquote-center {
|
||||||
border-left: none;
|
border-left: 0;
|
||||||
margin: 40px 0;
|
margin: 40px 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
.post-body .link-grid {
|
.post-body .link-grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
// https://caniuse.com/mdn-css_properties_gap_grid_context
|
// https://caniuse.com/mdn-css_properties_gap_grid_context
|
||||||
grid-gap: 1.5rem 1.5rem;
|
grid-gap: 1.5rem;
|
||||||
gap: 1.5rem 1.5rem;
|
gap: 1.5rem;
|
||||||
grid-template-columns: 1fr 1fr;
|
grid-template-columns: 1fr 1fr;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user