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