Шаблон:NavBar: различия между версиями
Aylong (обсуждение | вклад) мНет описания правки |
Aylong (обсуждение | вклад) мНет описания правки |
||
Строка 2: | Строка 2: | ||
<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="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%;"><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> |