Лагерь: CSS
This commit is contained in:
parent
d12884f594
commit
83da63d0c4
@ -255,28 +255,26 @@ $metrics = [
|
||||
<style>
|
||||
@media (max-width: 768px) {
|
||||
.infograph__grid {
|
||||
display: block;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 16px;
|
||||
}
|
||||
.infograph__card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
text-align: left;
|
||||
padding: 14px 0;
|
||||
border-bottom: 1px solid #eee;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
padding: 16px;
|
||||
border-radius: 16px;
|
||||
box-shadow: 0 4px 24px rgba(0,0,0,0.08);
|
||||
gap: 12px;
|
||||
}
|
||||
.infograph__card:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
.infograph__card::before {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.infograph__card-icon {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
flex-shrink: 0;
|
||||
flex: 0 0 44px;
|
||||
border-radius: 50%;
|
||||
background: #f5f5f5;
|
||||
display: flex;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user