Wider menu title so menu items will not get wrapped

This commit is contained in:
Adam Schmideg 2018-12-20 11:09:25 +01:00
parent d39769cac7
commit c826e48331
2 changed files with 22 additions and 60 deletions

View file

@ -6,7 +6,28 @@ exclude:
- Gemfile.lock
- .gitignore
layout: page
avatar: /static/images/ethereum.png
navbar-links:
Home: "docs"
Documents: "docs"
Install and build:
- Installing Ethereum: docs/Building-Ethereum
- Developers' Guide: docs/Developers%27-Guide
How to use:
- Managing Accounts: docs/Managing-your-accounts
- Mining: docs/Mining
- Contract Tutorial: docs/Contract-Tutorial
Interface Documentation:
- Command Line Options: docs/Command-Line-Options
- JavaScript Console: docs/JavaScript-Console
- Management API: docs/Management-APIs
- JSON-RPC server: https://github.com/ethereum/wiki/wiki/JSON-RPC
Issues and support:
- FAQ: docs/FAQ
- Reporting issues: docs/geth#reporting
- Community and support: docs/geth#community-and-support
- Issue handling workflow: docs/Issue-handling-workflow
Developers:
- Mobile Clients: docs/Mobile-Clients:-Libraries-and-Inproc-Ethereum-Nodes
- Native DApps: docs/Native-DApps:-Go-bindings-to-Ethereum-contracts
- Active go-ethereum projects: docs/Active-go-ethereum-projects

View file

@ -1,59 +0,0 @@
<nav class="navbar navbar-default navbar-fixed-top navbar-custom">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#main-navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
{% if site.title-img %}
<a class="navbar-brand navbar-brand-logo" href="{{ site.url }}"><img src="{{ site.title-img }}"/></a>
{% else %}
<a class="navbar-brand" href="{{ site.url }}">{{ site.title }}</a>
{% endif %}
</div>
<div class="collapse navbar-collapse show" id="main-navbar">
<ul class="nav navbar-nav navbar-right">
{% for link in site.navbar-links %}
{% if link[1].first %}
<li class="navlinks-container">
<a class="navlinks-parent" href="javascript:void(0)">{{ link[0] }}</a>
<div class="navlinks-children">
{% for childlink in link[1] %}
{% for linkparts in childlink %}
{% include navbarlink.html link=linkparts %}
{% endfor %}
{% endfor %}
</div>
</li>
{% else %}
<li>
{% include navbarlink.html link=link %}
</li>
{% endif %}
{% endfor %}
</ul>
</div>
{% if page.image and (layout.show-avatar or page.show-avatar) %}
<div class="avatar-container">
<div class="avatar-img-border">
<a href="{{ site.url }}">
<img class="avatar-img" src="{{ page.image | prepend: site.baseurl | replace: '//', '/' }}" />
</a>
</div>
</div>
{% elsif site.avatar and (layout.show-avatar or page.show-avatar) %}
<div class="avatar-container">
<div class="avatar-img-border">
<a href="{{ site.url }} ">
<img class="avatar-img" src="{{ site.avatar | prepend: site.baseurl | replace: '//', '/' }}" />
</a>
</div>
</div>
{% endif %}
</div>
</nav>