mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-19 18:42:34 +00:00
Fix redundant values in shorthand properties
This commit is contained in:
parent
20002f2d2a
commit
37ac8dac9f
@ -13,7 +13,7 @@
|
|||||||
.event-list {
|
.event-list {
|
||||||
hr {
|
hr {
|
||||||
background: $black-deep;
|
background: $black-deep;
|
||||||
margin: 20px 0 45px 0;
|
margin: 20px 0 45px;
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
background: $black-deep;
|
background: $black-deep;
|
||||||
|
|||||||
@ -49,7 +49,7 @@
|
|||||||
|
|
||||||
img {
|
img {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin: .8em 2em 0 2em;
|
margin: .8em 2em 0;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
width: 180px;
|
width: 180px;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
// For paragraphs narrow width.
|
// For paragraphs narrow width.
|
||||||
> p {
|
> p {
|
||||||
margin: 0 0 10px 0;
|
margin: 0 0 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Rewrite paddings & margins inside tags.
|
// Rewrite paddings & margins inside tags.
|
||||||
@ -63,7 +63,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.tabs .tab-content .tab-pane {
|
.tabs .tab-content .tab-pane {
|
||||||
padding: 10px 10px 0 10px !important;
|
padding: 10px 10px 0 !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -32,7 +32,7 @@ for $headline in (1 .. 6) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin: 0 0 20px 0;
|
margin: 0 0 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
a, span.exturl {
|
a, span.exturl {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
$page-number-basic {
|
$page-number-basic {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin: -1px 10px 0 10px;
|
margin: -1px 10px 0;
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
|
|
||||||
+mobile() {
|
+mobile() {
|
||||||
|
|||||||
@ -6,7 +6,7 @@ table {
|
|||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
border-spacing: 0;
|
border-spacing: 0;
|
||||||
font-size: $table-font-size;
|
font-size: $table-font-size;
|
||||||
margin: 0 0 20px 0;
|
margin: 0 0 20px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -87,7 +87,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.tab-pane {
|
.tab-pane {
|
||||||
padding: 20px 20px 0 20px;
|
padding: 20px 20px 0;
|
||||||
|
|
||||||
&:not(.active) {
|
&:not(.active) {
|
||||||
display: none;
|
display: none;
|
||||||
|
|||||||
@ -59,7 +59,7 @@
|
|||||||
// Pagination.
|
// Pagination.
|
||||||
.pagination {
|
.pagination {
|
||||||
border-top: initial;
|
border-top: initial;
|
||||||
padding: 10px 0 10px;
|
padding: 10px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ==================================================
|
// ==================================================
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user