Fix redundant values in shorthand properties

This commit is contained in:
Mimi 2020-12-01 11:17:01 +08:00
parent 20002f2d2a
commit 37ac8dac9f
8 changed files with 9 additions and 9 deletions

View File

@ -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;

View File

@ -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;
} }

View File

@ -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;
} }
} }

View File

@ -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 {

View File

@ -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() {

View File

@ -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%;
} }

View File

@ -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;

View File

@ -59,7 +59,7 @@
// Pagination. // Pagination.
.pagination { .pagination {
border-top: initial; border-top: initial;
padding: 10px 0 10px; padding: 10px 0;
} }
// ================================================== // ==================================================