183 lines
3.4 KiB
CSS
183 lines
3.4 KiB
CSS
/* STAT CARDS */
|
|
|
|
.stats-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 20px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.stat-card {
|
|
background-color: var(--bg2);
|
|
border: 1px solid var(--border);
|
|
padding: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
border-left: 3px solid var(--rhpz-orange);
|
|
}
|
|
|
|
.stat-card i {
|
|
color: var(--rhpz-orange);
|
|
width: 32px;
|
|
height: 32px;
|
|
}
|
|
|
|
/* ENTRY CARDS */
|
|
|
|
.entry-card {
|
|
background-color: var(--bg2);
|
|
border: 1px solid var(--border);
|
|
display: flex;
|
|
min-width: 0;
|
|
flex-direction: column;
|
|
transition: transform 0.2s, border-color 0.2s;
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
transform: translateY(-3px);
|
|
border-color: var(--rhpz-orange);
|
|
}
|
|
|
|
.entry-cover-wrapper {
|
|
position: relative;
|
|
aspect-ratio: 4/3;
|
|
min-width: 0;
|
|
background-color: var(--bg);
|
|
border-bottom: 1px solid var(--border);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.entry-cover-wrapper img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.entry-badge {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
background-color: rgba(0,0,0,0.7);
|
|
backdrop-filter: blur(4px);
|
|
border: 1px solid var(--border);
|
|
padding: 4px 8px;
|
|
font-size: 0.75rem;
|
|
color: var(--text);
|
|
}
|
|
|
|
.entry-card-info {
|
|
padding: 15px;
|
|
flex-grow: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.entry-card-title {
|
|
font-weight: 600;
|
|
color: var(--text);
|
|
font-size: 1.1rem;
|
|
margin-bottom: 5px;
|
|
line-height: 1.3;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.entry-card-author {
|
|
color: var(--rhpz-orange);
|
|
font-size: 0.85rem;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.entry-card-meta {
|
|
margin-top: auto;
|
|
font-size: 0.8rem;
|
|
color: var(--text2);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
.stats-grid {
|
|
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
|
|
gap: 15px;
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
.stat-card {
|
|
padding: 15px;
|
|
gap: 12px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.stats-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 12px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.stat-card {
|
|
padding: 12px;
|
|
gap: 10px;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.stat-card i {
|
|
width: 28px;
|
|
height: 28px;
|
|
}
|
|
|
|
.entry-card-info {
|
|
padding: 12px;
|
|
}
|
|
|
|
.entry-card-title {
|
|
font-size: 0.95rem;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.entry-card-author {
|
|
font-size: 0.8rem;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.entry-card-meta {
|
|
font-size: 0.75rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.stats-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 10px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.stat-card {
|
|
padding: 10px;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.entry-card {
|
|
&:hover {
|
|
transform: none;
|
|
}
|
|
}
|
|
|
|
.entry-card-title {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.entry-badge {
|
|
top: 5px;
|
|
right: 5px;
|
|
padding: 3px 6px;
|
|
font-size: 0.65rem;
|
|
}
|
|
}
|