Hot: Improve nav and header

This commit is contained in:
JoseluCross
2018-10-22 18:29:23 +02:00
parent dc67844988
commit ed6f78e95a
6 changed files with 15 additions and 74 deletions

View File

@@ -37,6 +37,17 @@ p{
margin: 0;
}
sup, sub {
vertical-align: baseline;
position: relative;
top: -0.4em;
}
sub {
top: 0.4em;
}
.navbar {
min-height: 0px !important;
}

View File

@@ -1,4 +1,5 @@
<header>
<h2><a href="index.php" style="color: #333">CodeShare</a><sup>Beta</sup></h2>
<h2><sub style="visibility: hidden;">Beta</sub><a href="{{ path('home') }}" style="color: #333">CodeShare</a><sup>Beta</sup></h2>
<h5>by <a href="https://csp.jkanetwork.com" style="color: #333">Code Solutions Project</a></h5>
<h4>Simple solutions for common problems</h4>
</header>

View File

@@ -14,7 +14,7 @@
<a href="{{ path('home') }}">Home</a>
</li>
<li {% if page.page == "add" %}class="active"{% endif %}>
<a href="{{ path('add') }}">Submit code</a>
<a href="{{ path('add') }}" style="color: white;" class="text-uppercase">Submit code</a>
</li>
<li {% if page.page == "doc" %}class="active"{% endif %}>
<a href="{{ path('doc') }}">Documentation</a>
@@ -29,7 +29,7 @@
<div class="form-group">
<input type="text" class="form-control" name="globalSearch" placeholder="Search">
</div>
<button type="submit" class="btn btn-primary btn-sm">Submit</button>
<button type="submit" class="btn btn-primary btn-sm">Search</button>
</form>
</li>
{% if user.nick is defined %}