Лагерь: CSS
This commit is contained in:
parent
83da63d0c4
commit
efa0e97eaf
@ -255,62 +255,58 @@ $metrics = [
|
||||
<style>
|
||||
@media (max-width: 768px) {
|
||||
.infograph__grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 16px;
|
||||
grid-template-columns: 1fr 1fr !important;
|
||||
gap: 15px !important;
|
||||
}
|
||||
.infograph__card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
display: flex !important;
|
||||
justify-content: center !important;
|
||||
align-items: center !important;
|
||||
padding: 25px 10px !important;
|
||||
text-align: left;
|
||||
padding: 16px;
|
||||
border-radius: 16px;
|
||||
box-shadow: 0 4px 24px rgba(0,0,0,0.08);
|
||||
gap: 12px;
|
||||
}
|
||||
.infograph__card::before {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.infograph__card-icon {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
flex: 0 0 44px;
|
||||
width: 60px !important;
|
||||
height: 60px !important;
|
||||
flex: 0 0 60px !important;
|
||||
border-radius: 50%;
|
||||
background: #f5f5f5;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-top: 0;
|
||||
justify-content: center;
|
||||
background-color: #f8f9fa;
|
||||
}
|
||||
.infograph__card-icon img {
|
||||
max-width: 24px;
|
||||
max-height: 24px;
|
||||
max-width: 28px;
|
||||
max-height: 28px;
|
||||
width: auto;
|
||||
height: auto;
|
||||
}
|
||||
.infograph__card-body {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
padding: 0;
|
||||
gap: 2px;
|
||||
margin-left: 14px;
|
||||
}
|
||||
.infograph__stat {
|
||||
font-size: 1.1rem;
|
||||
font-weight: 700;
|
||||
margin: 0;
|
||||
font-size: 1.25rem !important;
|
||||
font-weight: 900;
|
||||
line-height: 1;
|
||||
white-space: nowrap;
|
||||
margin: 0;
|
||||
}
|
||||
.infograph__label {
|
||||
font-size: 0.85rem;
|
||||
font-size: 0.85rem !important;
|
||||
margin-top: 3px;
|
||||
color: #666;
|
||||
line-height: 1.2;
|
||||
text-transform: none;
|
||||
letter-spacing: normal;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
<section class="section-bg infograph" data-bg="white">
|
||||
<div class="container">
|
||||
<div class="infograph__header">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user