Dantes (обсуждение | вклад) Нет описания правки |
Dantes (обсуждение | вклад) Нет описания правки |
||
| Строка 8: | Строка 8: | ||
.infoblocksTESTTTT .infoblock { | .infoblocksTESTTTT .infoblock { | ||
display: grid; | |||
grid-template-areas: | |||
"header" | |||
"content" | |||
"footer"; | |||
grid-template-rows: auto 1fr auto; | |||
flex: 1 1 30%; | flex: 1 1 30%; | ||
background: #1a1a1a; | background: #1a1a1a; | ||
| Строка 20: | Строка 26: | ||
} | } | ||
.infoblocksTESTTTT . | .infoblocksTESTTTT .header { | ||
grid-area: header; | |||
font-weight: bold; | |||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
margin-bottom: 0.5em; | margin-bottom: 0.5em; | ||
} | |||
.infoblocksTESTTTT .content { | |||
grid-area: content; | |||
} | |||
.infoblocksTESTTTT .footer { | |||
grid-area: footer; | |||
font-size: 90%; | |||
opacity: 0.7; | |||
margin-top: 0.5em; | |||
} | } | ||
| Строка 31: | Строка 49: | ||
.title3 { color: #4d4dff; } | .title3 { color: #4d4dff; } | ||
. | .header img { | ||
width: 20px; | width: 20px; | ||
height: 20px; | height: 20px; | ||
margin-right: 6px; | margin-right: 6px; | ||
} | } | ||
Версия от 13:53, 26 июня 2025
.infoblocksTESTTTT {
display: flex;
justify-content: space-between;
gap: 1em;
flex-wrap: wrap;
margin: 1em 0;
}
.infoblocksTESTTTT .infoblock {
display: grid;
grid-template-areas:
"header"
"content"
"footer";
grid-template-rows: auto 1fr auto;
flex: 1 1 30%;
background: #1a1a1a;
color: #f0f0f0;
padding: 1em;
border: 2px solid #333;
border-top-left-radius: 0;
border-top-right-radius: 0;
border-bottom-left-radius: 12px;
border-bottom-right-radius: 12px;
box-shadow: 0 0 10px #000;
}
.infoblocksTESTTTT .header {
grid-area: header;
font-weight: bold;
display: flex;
align-items: center;
margin-bottom: 0.5em;
}
.infoblocksTESTTTT .content {
grid-area: content;
}
.infoblocksTESTTTT .footer {
grid-area: footer;
font-size: 90%;
opacity: 0.7;
margin-top: 0.5em;
}
.title1 { color: #ff4d4d; }
.title2 { color: #4dff4d; }
.title3 { color: #4d4dff; }
.header img {
width: 20px;
height: 20px;
margin-right: 6px;
}