Шаблон:NavBar: различия между версиями
мНет описания правки |
Aylong (обсуждение | вклад) мНет описания правки |
||
(не показаны 4 промежуточные версии 2 участников) | |||
Строка 1: | Строка 1: | ||
<div class="navbar-template" style="align-content: start; display: flex; flex-flow: row wrap;"> | <div class="navbar" style="overflow: hidden; position: relative; border: 1px solid {{ColorPalette|{{{color}}}|Opaque}}; border-radius: var(--border-radius-large);"> | ||
<div style="background: {{ColorPalette|{{{color}}}|Secondary}}; border: 1px solid {{ | <div class="tgui-blur"></div> | ||
<div style="background: {{ColorPalette|{{{color}}}|Primary}}; border: 1px solid {{ | <div class="navbar-template" style="overflow: auto; align-content: start; display: flex; flex-flow: row wrap;"> | ||
<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 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: 1px solid {{ | <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: 1px solid {{ | <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 {{ | <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> | </div> | ||
<div style="display:flex; flex-flow: row wrap;">{{{Tabs}}}</div> | <div style="display:flex; flex-flow: row wrap;">{{{Tabs}}}</div> | ||
</div> | |||
<noinclude>[[Category:Шаблоны]]</noinclude> | <noinclude>[[Category:Шаблоны]]</noinclude> |