User:Stevium/common.css: Difference between revisions
Appearance
Created User:Stevium/common.css |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 4: | Line 4: | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
gap: 0.5rem | gap: 0.5rem | ||
} | } | ||
| Line 12: | Line 12: | ||
align-items: center; | align-items: center; | ||
background-color: var(--theme-color-1); | background-color: var(--theme-color-1); | ||
border-radius: 8px; | border-radius: 8px; | ||
width: 7rem; | width: 7rem; | ||
height: 8.5rem; | height: 8.5rem; | ||
.skin-theme-clientpref-night & { | |||
background-color: var(--theme-color-2); | |||
} | |||
} | } | ||
| Line 23: | Line 25: | ||
border-radius: 6px; | border-radius: 6px; | ||
padding: 0 0.25rem; | padding: 0 0.25rem; | ||
width: 5.5rem | |||
} | } | ||
| Line 28: | Line 31: | ||
background: var(--theme-color-3); | background: var(--theme-color-3); | ||
.mp-card-text { | .mp-card-text { | ||
background: var(--theme-accent-color) | background: var(--theme-accent-color) | ||
} | } | ||
} | } | ||
.mp-card-text a { | .mp-card-text a { | ||
color: var(--page-text-color); | color: var(--page-text-color); | ||
.skin-theme-clientpref-night & { | |||
color: var(--page-background-color) | |||
} | |||
&:hover { | &:hover { | ||
text-decoration: none | text-decoration: none | ||
} | } | ||
} | } | ||
| Line 43: | Line 49: | ||
justify-self: center; | justify-self: center; | ||
width: 6rem; | width: 6rem; | ||
height: 6rem | height: 6rem | ||
} | } | ||
Latest revision as of 14:59, 12 November 2025
.mp-card-container {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 0.5rem
}
.mp-card {
display: flex;
flex-direction: column;
align-items: center;
background-color: var(--theme-color-1);
border-radius: 8px;
width: 7rem;
height: 8.5rem;
.skin-theme-clientpref-night & {
background-color: var(--theme-color-2);
}
}
.mp-card-text {
text-align: center;
background: var(--theme-accent-color);
border-radius: 6px;
padding: 0 0.25rem;
width: 5.5rem
}
.mp-card:hover {
background: var(--theme-color-3);
.mp-card-text {
background: var(--theme-accent-color)
}
}
.mp-card-text a {
color: var(--page-text-color);
.skin-theme-clientpref-night & {
color: var(--page-background-color)
}
&:hover {
text-decoration: none
}
}
.mp-card-icon img {
justify-self: center;
width: 6rem;
height: 6rem
}