Files
Portfolio/styles/ThemeInfo.module.css
2025-05-13 12:12:47 +02:00

75 lines
1.2 KiB
CSS

.container {
display: flex;
flex-direction: column;
align-items: center;
margin: 0.5rem 0;
text-align: center;
padding: 2rem;
background-color: var(--explorer-bg);
border-radius: 4px;
border: 1px solid transparent;
position: relative;
}
.imageWrapper {
width: 80px;
height: 80px;
display: flex;
align-items: center;
justify-content: center;
padding: 0.25rem;
margin-bottom: 0.5rem;
}
.themeImage {
object-fit: contain;
}
.info {
margin-top: 0.75rem;
display: flex;
flex-direction: column;
justify-content: space-between;
width: 100%;
}
.info h3 {
font-size: 0.95rem;
margin: 0 0 0.15rem 0;
color: var(--text-color);
}
.info h5 {
font-size: 0.75rem;
margin: 0 0 0.75rem 0;
color: rgba(255, 255, 255, 0.6);
font-weight: 400;
}
.info button {
margin-top: 0.5rem;
border: none;
background: var(--button-bg);
color: var(--button-text);
padding: 0.35rem 0.5rem;
font-weight: 600;
cursor: pointer;
border-radius: 2px;
width: 100%;
font-size: 0.8rem;
}
.info button:focus {
outline: 1px solid var(--accent-color);
}
@media screen and (max-width: 768px) {
.container {
padding: 0.75rem;
}
.info h3 {
font-size: 0.9rem;
}
}