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