Шаблон:Prototypes/Механика/Груз/base: различия между версиями

мНет описания правки
мНет описания правки
Строка 29: Строка 29:
}}<!--
}}<!--


-->{{#css:
--><templatestyles src="Prototypes/Механика/Груз/styles.css" /><div class="customCSS" style="display:none">
.груз__header {
    display: grid;
    gap: 4px;
    border-radius: 0.2em 0.2em 0 0;
    position: relative;
    overflow: hidden;
}
 
.груз__title, .груз__content, .груз__product, .груз__notes {
    gap: 6px;
}
 
.груз__title {
    display: flex;
    flex-direction: row;
    font-weight: bold;
    align-items: center;
}
 
.груз__content {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
    font-size: 14px;
}
 
.груз__product {
display: grid;
    padding: 2px 0;
}
 
.груз__notes {
    display: grid;
    font-size: 14px;
}
 
.gradient-block__body {
    max-height: 268px;
    min-height: 80px;
}
 
.груз__header::before {
    background: var(--color);
    width: 5px;
    position: absolute;
    height: 48px;
    content: "";
    right: 0px;
    transform: rotate(320deg);
    top: -12px;
}
}}<!--
 
--><div class="customCSS" style="display:none">
.gradient-block__body:has(.груз__product .mw-collapsible-toggle) {
.gradient-block__body:has(.груз__product .mw-collapsible-toggle) {
     min-height: 180px;
     min-height: 180px;