User:Stevium/common.css
From The Petit Planet Wiki
More actions
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
.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: 1px solid var(--theme-border-color);
border-radius: 8px;
width: 7rem;
height: 8.5rem
}
.mp-card-text {
text-align: center;
background: var(--theme-accent-color);
border: 1px solid var(--theme-border-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
}