Шаблон:GradientHeaderFrame/Sub: различия между версиями
Материал из Space Station 14 Вики
|
|
(не показано 18 промежуточных версий этого же участника) |
Строка 3: |
Строка 3: |
| <div>'''{{{title}}}'''</div> | | <div>'''{{{title}}}'''</div> |
| </div> | | </div> |
| <div class="gradient-header-frame-sub__content" style="padding:{{{padding|6px}}};background-color:{{{background-color|#232329}}};{{{style}}}>{{{content}}}</div></div> | | <div class="gradient-header-frame-sub__content no-margin-edges short-scrollbar" style="padding:{{{padding|6px}}};{{{style}}}>{{{content}}}</div></div><!-- |
| {{#css:
| |
| .gradient-header-frame-sub {
| |
| border: 1px solid #3a3a46;
| |
| border-radius: 0.3em;
| |
| overflow: hidden;
| |
| }
| |
|
| |
|
| .gradient-header-frame-sub__header {
| | --><templatestyles src="GradientHeaderFrame/Sub/styles.css" /> |
| color: #efefef;
| |
| font-size: 1.15em;
| |
| font-family: "noto sans";
| |
| padding: 6px 10px;
| |
| background: linear-gradient(90deg, #3a3a45 0%, #3a3a45 10%, #2f2f37 50%);
| |
| text-align: left;
| |
| }
| |
| | |
| .gradient-header-frame-sub__content {
| |
| height: 100%;
| |
| }
| |
| | |
| /* Удаление верхних и нижних отступов для первого и последнего элемента */ | |
| .gradient-header-frame-sub__content > :first-child { | |
| margin-top: 0 !important;
| |
| }
| |
| | |
| .gradient-header-frame-sub__content > :last-child {
| |
| margin-bottom: 0 !important;
| |
| }
| |
| }}
| |
| <div class="customCSS" style="display:none">
| |
| .gradient-header-frame-sub__content::-webkit-scrollbar { width: 10px; }
| |
| .gradient-header-frame-sub__content::-webkit-scrollbar-track { background: #2c2c33; }
| |
| .gradient-header-frame-sub__content::-webkit-scrollbar-thumb { background: #44444d; border: 2px solid #2c2c33; border-radius: 0; }
| |
| </div>
| |
Текущая версия от 16:03, 29 марта 2025