💄 Style: update some stylesheet

This commit is contained in:
Cell
2023-12-19 17:22:57 +08:00
parent 4b2ff9e773
commit caeb3d443e
3 changed files with 7 additions and 9 deletions
@@ -2,7 +2,7 @@
.collection-card {
font-size: 0.875rem;
background-color: darken($global-background-color, 3%);
margin-top: 0.5rem;
margin-block: 2rem -1rem;
padding: 1rem 1.25rem;
position: relative;
@include border-radius($global-border-radius * 1.5);
+5 -4
View File
@@ -1,13 +1,13 @@
.post-footer {
margin: 2rem 0;
&:has(~.post-reward) {
margin-bottom: 0;
&~.post-reward {
margin-block: -2rem 0;
}
.post-info {
border-bottom: 1px solid $global-border-color;
padding: 1rem 0 0.3rem;
padding: 0.3rem 0;
[data-theme='dark'] & {
border-bottom: 1px solid $global-border-color-dark;
@@ -62,7 +62,7 @@
}
.post-info-more {
padding: 0.3rem 0 1rem;
padding: 0.3rem 0;
display: flex;
justify-content: space-between;
font-size: 0.9rem;
@@ -91,6 +91,7 @@
display: flex;
justify-content: space-between;
gap: 1.5rem;
padding-block: 0.5rem;
@extend .print-d-none;
.post-nav-item {
+1 -4
View File
@@ -1,12 +1,9 @@
.post-reward {
padding: 1rem;
text-align: center;
margin-bottom: -1rem;
@extend .print-d-none;
&~.post-footer {
margin-top: 0;
}
&:has(.reward-ways:empty) {
display: none;
}