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