User:Stevium/common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| 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 21: | Line 23: | ||
text-align: center; | text-align: center; | ||
background: var(--theme-accent-color); | background: var(--theme-accent-color); | ||
border-radius: 6px; | border-radius: 6px; | ||
padding: 0 0.25rem; | padding: 0 0.25rem; | ||
width: 5.5rem | width: 5.5rem | ||
} | } | ||
| Line 30: | 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) | ||
} | } | ||
} | } | ||
| Line 37: | Line 38: | ||
color: var(--page-text-color); | color: var(--page-text-color); | ||
.skin-theme-clientpref-night & { | .skin-theme-clientpref-night & { | ||
color: var(--page-background-color) | color: var(--page-background-color) | ||
} | } | ||
&:hover { | &:hover { | ||
text-decoration: none | text-decoration: none | ||
} | } | ||
} | } | ||
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
}