Шаблон:NavBar: различия между версиями
Aylong (обсуждение | вклад) мНет описания правки |
Aylong (обсуждение | вклад) мНет описания правки |
||
Строка 1: | Строка 1: | ||
<div class="navbar" style="overflow: hidden; position: relative; border: 1px solid {{ColorPalette|{{{color}}}|Opaque}}; border-radius: var(--border-radius-large);"> | <div class="navbar" style="overflow: hidden; position: relative; border: 1px solid {{ColorPalette|{{{color}}}|Opaque}}; border-radius: var(--border-radius-large);"> | ||
<div class="tgui-blur"></div> | <div class="tgui-blur"></div> | ||
<div class="navbar-template" style="align-content: start; display: flex; flex-flow: row wrap;"> | <div class="navbar-template" style="overflow: auto; align-content: start; display: flex; flex-flow: row wrap;"> | ||
<div style="background: {{ColorPalette|{{{color}}}|Secondary}}; border-right: 1px solid {{ColorPalette|{{{color}}}|Opaque}} | <div class="navbar-button" style="background: {{ColorPalette|{{{color}}}|Secondary}}; border-right: 1px solid {{ColorPalette|{{{color}}}|Opaque}}; float:left; flex-basis: 7%; flex-grow: 1;">[[Раздел для новых игроков]]</div> | ||
<div style="background: {{ColorPalette|{{{color}}}|Primary}}; border-right: 1px solid {{ColorPalette|{{{color}}}|Opaque}} | <div class="navbar-button" style="background: {{ColorPalette|{{{color}}}|Primary}}; border-right: 1px solid {{ColorPalette|{{{color}}}|Opaque}}; float:left; flex-basis: 7%; flex-grow: 1;">[[Заглавная страница|Назад на главную]]</div> | ||
<div style="background: {{ColorPalette|{{{color}}}|Opaque}}; border-right: 1px solid {{ColorPalette|{{{color}}}|Opaque}}; padding: .4em .8em 0; flex-basis: 40%;"><center>'''<span style="font-size:200%;">{{{HeaderText}}}</span></center></div> | <div style="background: {{ColorPalette|{{{color}}}|Opaque}}; border-right: 1px solid {{ColorPalette|{{{color}}}|Opaque}}; padding: .4em .8em 0; flex-basis: 40%; box-shadow: var(--shadow-template--medium); z-index: var(--index-fore);"><center>'''<span style="font-size:200%;">{{{HeaderText}}}</span></center></div> | ||
<div style="background: {{ColorPalette|{{{color}}}|Primary}}; border-right: 1px solid {{ColorPalette|{{{color}}}|Opaque}} | <div class="navbar-button" style="background: {{ColorPalette|{{{color}}}|Primary}}; border-right: 1px solid {{ColorPalette|{{{color}}}|Opaque}}; float:right; flex-basis: 7%; flex-grow: 1;">{{{RightLink}}}</div> | ||
<div style="background: {{ColorPalette|{{{color}}}|Secondary}} | <div class="navbar-button" style="background: {{ColorPalette|{{{color}}}|Secondary}}; float:left; flex-basis: 7%; flex-grow: 1;">{{{RightLink2}}}</div></div> | ||
<div style="align-content: start; display: flex; flex-flow: row wrap;"> | <div style="align-content: start; display: flex; flex-flow: row wrap;"> | ||
<div style="background: {{ColorPalette|{{{color}}}|Light}}; border: 1px solid {{ColorPalette|{{{color}}}|Opaque}}; border-width: 1px 0 1px 0; flex-basis: 100%; flex-grow: 1; padding: {{{padding|1em}}};>{{{content}}}</div> | <div style="background: {{ColorPalette|{{{color}}}|Light}}; border: 1px solid {{ColorPalette|{{{color}}}|Opaque}}; border-width: 1px 0 1px 0; flex-basis: 100%; flex-grow: 1; padding: {{{padding|1em}}};>{{{content}}}</div> | ||
Строка 15: | Строка 15: | ||
<div style="display:flex; flex-flow: row wrap;">{{{Tabs}}}</div> | <div style="display:flex; flex-flow: row wrap;">{{{Tabs}}}</div> | ||
</div> | </div> | ||
<noinclude>[[Category: | <noinclude>[[Category:Шаблоны]]</noinclude> |